linux/drivers/gpu/drm/amd
Wei Lu e47cb828eb drm/amdkfd: Fix error codes in kfd_get_process
Return ERR_PTR(-EINVAL) if kfd_get_process fails to find the process.
This fixes kernel oopses when a child process calls KFD ioctls with
a file descriptor inherited from the parent process.

Signed-off-by: Wei Lu <wei.lu2@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-07-11 22:32:47 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu gpu: drm: amdgpu: Replace mdelay with msleep in cik_pcie_gen3_enable() 2018-07-25 15:06:40 -05:00
amdkfd drm/amdkfd: Fix error codes in kfd_get_process 2018-07-11 22:32:47 -04:00
display drm/amd/display: DC 3.1.58 2018-07-24 15:16:07 -05:00
include drm/amd: Add interrupt source definitions for SOC15 v3. 2018-07-13 14:45:37 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: allow slow switch only if NBPState enabled v2 2018-07-24 15:14:35 -05:00