aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2019-06-14 18:03:36 +0000
committerAlex Deucher <[email protected]>2019-06-20 16:33:41 +0000
commite82fdb16a0650250e27f7241133682342d476ad3 (patch)
tree1ef548a587852f7b25c3d5b9ec62364227827649 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amd/amdgpu: cast mem->num_pages to 64-bits when shifting (v2) (diff)
downloadkernel-e82fdb16a0650250e27f7241133682342d476ad3.tar.gz
kernel-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 <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions