diff options
| author | 2019-06-14 14:03:36 -0400 | |
|---|---|---|
| committer | 2019-06-20 11:33:41 -0500 | |
| commit | e82fdb16a0650250e27f7241133682342d476ad3 (patch) | |
| tree | 1ef548a587852f7b25c3d5b9ec62364227827649 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/amdgpu: cast mem->num_pages to 64-bits when shifting (v2) (diff) | |
| download | linux-dev-e82fdb16a0650250e27f7241133682342d476ad3.tar.xz linux-dev-e82fdb16a0650250e27f7241133682342d476ad3.zip | |
drm/amdgpu: improve HMM error -ENOMEM and -EBUSY handling
Under memory pressure, hmm_range_fault may return error code -ENOMEM
or -EBUSY, change pr_info to pr_debug to remove unnecessary kernel log
message because we will retry restore again.
Call get_user_pages_done if TTM get user pages failed will have
WARN_ONCE kernel calling stack dump log.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions
