]> git.baikalelectronics.ru Git - kernel.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)
commitcaa863c75a9ebb22e64df55189a8c0557558a7be
tree31fe247b5064ec9a5a432c02b2f69ac66ce93c5c
parent8c507122159dc46d93653566b00de7b823546cb2
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