linux/drivers/gpu/drm/amd
Felix Kuehling 9b56bb1154 drm/amdkfd: Don't dereference kfd_process.mm
The kfd_process doesn't own a reference to the mm_struct, so it can
disappear without warning even while the kfd_process still exists.

Therefore, avoid dereferencing the kfd_process.mm pointer and make
it opaque. Use get_task_mm to get a temporary reference to the mm
when it's needed.

v2: removed unnecessary WARN_ON

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-10-27 19:35:19 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
amdkfd drm/amdkfd: Don't dereference kfd_process.mm 2017-10-27 19:35:19 -04:00
include drm/amdgpu: add uvd enc registers in header 2017-10-06 17:43:53 -04:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
scheduler drm/amd/sched: fix job tear down order v2 2017-10-19 15:27:08 -04:00