]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/amdgpu: Don't take dev->struct_mutex in bo_force_delete
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jul 2015 21:32:49 +0000 (23:32 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:51:13 +0000 (16:51 -0400)
commitdb4448f78d5982997751120ca358c97a7f96e122
tree31fe247b5064ec9a5a432c02b2f69ac66ce93c5c
parent34ddc3e9d1781a4914c673013c0eaca3ae642641
drm/amdgpu: Don't take dev->struct_mutex in bo_force_delete

It really doesn't protect anything which doesn't have other locks
already. Also this is run from driver unload code so not much need for
locks anyway.

Same changes as for radeon really.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c