aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_process.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2021-10-26 11:59:28 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-10-28 14:26:12 -0400
commit3b8a23ae52dfbf785ea6f7c81358b1225a6bd339 (patch)
tree17e7481199a63b271df91b7f0db29797fe054ed8 /drivers/gpu/drm/amd/amdkfd/kfd_process.c
parentdrm/amdgpu: Add kernel parameter support for ignoring bad page threshold (diff)
downloadlinux-dev-3b8a23ae52dfbf785ea6f7c81358b1225a6bd339.tar.xz
linux-dev-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/amdkfd/kfd_process.c')
0 files changed, 0 insertions, 0 deletions