diff options
author | Philip Yang <[email protected]> | 2021-10-26 11:59:28 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-10-28 14:26:12 -0400 |
commit | 3b8a23ae52dfbf785ea6f7c81358b1225a6bd339 (patch) | |
tree | 17e7481199a63b271df91b7f0db29797fe054ed8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 68daadf3d673568bb7122b1683fd8b0e27c55d9b (diff) |
drm/amdkfd: restore userptr ignore bad address error
The userptr can be unmapped by application and still registered to
driver, restore userptr work return user pages will get -EFAULT bad
address error. Pretend this error as succeed. GPU access this userptr
will have VM fault later, it is better than application soft hangs with
stalled user mode queues.
v2: squash in warning fix (Alex)
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_virt.c')
0 files changed, 0 insertions, 0 deletions