drm/amdgpu: Add a missing lock for drm_mm_takedown
authorMikita Lipski <mikita.lipski@amd.com>
Fri, 19 Jan 2018 16:21:04 +0000 (11:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:56 +0000 (14:19 -0500)
commit7bb0d4b986ea0fa144c459a7e4d5fd6676dcc039
treec32102c6b53cb44a39a72d5a90c3c6586500d240
parentadd9f9a88f80969645bfd718f45babe594827af6
drm/amdgpu: Add a missing lock for drm_mm_takedown

Inside amdgpu_gtt_mgr_fini add a missing lock to maintain
locking balance

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c