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 20:12:17 +0000 (15:12 -0500)
commit4f9ea1d0d1ed914092d9e03d87d80fa7e63ecc8f
treec6c198ee4870eba7c64b734606136bb87e7c4594
parent85eff20020a656b2d13b33dc4681523508fee037
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