]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu_mn_unlock() in the CS error path
authorChristian König <christian.koenig@amd.com>
Mon, 3 Sep 2018 08:51:51 +0000 (10:51 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:53:29 +0000 (22:53 -0500)
commit409408ce5a148cb42c1b1f292110758fecf45244
tree9552837b9ed4767d51a073b7671d637b13e9fb28
parentf31327ddc5aefecb21bdbb5d8416330bfbc1fa38
drm/amdgpu: fix amdgpu_mn_unlock() in the CS error path

Avoid unlocking a lock we never locked.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c