linux_dsm_epyc7002/drivers/gpu/drm/amd
Felix Kuehling 0f899fd466 drm/amdkfd: Improve kfd_process lookup in kfd_ioctl
Use filep->private_data to store a pointer to the kfd_process data
structure. Take an extra reference for that, which gets released in
the kfd_release callback. Check that the process calling kfd_ioctl
is the same that opened the file descriptor. Return -EBADF if it's
not, so that this error can be distinguished in user mode.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-01-09 16:08:19 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu Revert "drm/amdgpu: Set no-retry as default." 2020-01-07 12:04:02 -05:00
amdkfd drm/amdkfd: Improve kfd_process lookup in kfd_ioctl 2020-01-09 16:08:19 -05:00
display drm/amd/display: Reduce HDMI pixel encoding if max clock is exceeded 2020-01-07 12:13:48 -05:00
include drm/amdgpu: update the method to get fb_loc of memory training(V4) 2019-12-23 14:59:20 -05:00
powerplay drm/amd/powerplay: cleanup the interfaces for powergate setting through SMU 2020-01-07 12:01:54 -05:00