aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2018-12-05 19:03:43 +0000
committerAlex Deucher <[email protected]>2019-03-19 20:03:37 +0000
commit8dd69e69f42397c9b17764a951c44480b340858e (patch)
tree0c6fa971d37f05be80c56db04051c40cf8dccfea /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu: use HMM callback to replace mmu notifier (diff)
downloadkernel-8dd69e69f42397c9b17764a951c44480b340858e.tar.gz
kernel-8dd69e69f42397c9b17764a951c44480b340858e.zip
drm/amdkfd: avoid HMM change cause circular lock
There is circular lock between gfx and kfd path with HMM change: lock(dqm) -> bo::reserve -> amdgpu_mn_lock To avoid this, move init/unint_mqd() out of lock(dqm), to remove nested locking between mmap_sem and bo::reserve. The locking order is: bo::reserve -> amdgpu_mn_lock(p->mn) Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[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_gem.c')
0 files changed, 0 insertions, 0 deletions