]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: stop reserving the BO in the MMU callback v3
authorChristian König <christian.koenig@amd.com>
Tue, 12 Sep 2017 18:25:14 +0000 (14:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:26:37 +0000 (14:26 -0400)
commit41b7aea56119183718d5cdae01da5490b5455663
treea952951fd0b2b4334eb9616a283b3ce39d26fd02
parente9b072a714d8d3d5f0ca35c4c427ddf27bd7d6d4
drm/amdgpu: stop reserving the BO in the MMU callback v3

Instead take the callback lock during the final parts of CS.

This should solve the last remaining locking order problems with BO reservations.

v2: rebase, make dummy functions static inline
v3: add one more missing inline and comments

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c