drm/amdgpu: fix holding mn_lock while allocating memory
authorChristian König <christian.koenig@amd.com>
Fri, 24 Aug 2018 12:48:02 +0000 (14:48 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 19:50:56 +0000 (14:50 -0500)
commit4a2de54dc1d7668fa364d8483420ba64b120963b
treedd30344ce3d833b037c9104a9e02aa26ba94c8f4
parent72ef23de207bad349ddc648296f330e176ac175b
drm/amdgpu: fix holding mn_lock while allocating memory

We can't hold the mn_lock while allocating memory.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c