linux/drivers/gpu/drm/amd
Christian König fec8fdb54e drm/amdgpu: fix userptr HMM range handling v2
The basic problem here is that it's not allowed to page fault while
holding the reservation lock.

So it can happen that multiple processes try to validate an userptr
at the same time.

Work around that by putting the HMM range object into the mutex
protected bo list for now.

v2: make sure range is set to NULL in case of an error

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
CC: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-11-17 00:23:30 -05:00
..
acp
amdgpu drm/amdgpu: fix userptr HMM range handling v2 2022-11-17 00:23:30 -05:00
amdkfd drm/amdkfd: Make kfd_fill_cache_non_crat_info() as static 2022-11-09 17:41:42 -05:00
display drm/amdgpu/dm/dp_mst: Don't grab mst_mgr->lock when computing DSC state 2022-11-17 00:23:00 -05:00
include drm/amdgpu: Replace one-elements array with flex-array members 2022-11-15 13:35:16 -05:00
pm amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table() 2022-11-15 13:35:16 -05:00