diff options
| author | Felix Kuehling <[email protected]> | 2018-08-22 19:28:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-09 22:06:19 +0000 |
| commit | 1b19aa5aa8c9394850a5e769abd4df12b3bdd1b7 (patch) | |
| tree | ccfa9840faeca5933b9294a73f64df70f7e719b8 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | |
| parent | drm/amdgpu: skip IB tests for KIQ in general (diff) | |
| download | kernel-1b19aa5aa8c9394850a5e769abd4df12b3bdd1b7.tar.gz kernel-1b19aa5aa8c9394850a5e769abd4df12b3bdd1b7.zip | |
drm/amdkfd: Fix incorrect use of process->mm
This mm_struct pointer should never be dereferenced. If running in
a user thread, just use current->mm. If running in a kernel worker
use get_task_mm to get a safe reference to the mm_struct.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h')
0 files changed, 0 insertions, 0 deletions
