diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-10-26 11:59:28 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-28 14:26:12 -0400 |
commit | 3b8a23ae52dfbf785ea6f7c81358b1225a6bd339 (patch) | |
tree | 17e7481199a63b271df91b7f0db29797fe054ed8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 68daadf3d673568bb7122b1683fd8b0e27c55d9b (diff) | |
download | linux-3b8a23ae52dfbf785ea6f7c81358b1225a6bd339.tar.gz linux-3b8a23ae52dfbf785ea6f7c81358b1225a6bd339.tar.bz2 linux-3b8a23ae52dfbf785ea6f7c81358b1225a6bd339.zip |
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 <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_virt.c')
0 files changed, 0 insertions, 0 deletions