diff options
author | Philip Yang <Philip.Yang@amd.com> | 2019-06-14 14:03:36 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-20 11:33:41 -0500 |
commit | e82fdb16a0650250e27f7241133682342d476ad3 (patch) | |
tree | 1ef548a587852f7b25c3d5b9ec62364227827649 /ipc/msg.c | |
parent | c1d827d62f71eb6eaa0b2ffad4d893faa99e4c87 (diff) |
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 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions