]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix bo list handling in CS
authorChristian König <christian.koenig@amd.com>
Tue, 4 Aug 2015 09:54:48 +0000 (11:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:51:00 +0000 (16:51 -0400)
commit7793edc3faa3efc84022ffd7425c34ea4a08749c
tree94492c3d5633cc01deb438f03dcdbe171ee31566
parent426c566fb9615012b29074063c62d3aaf204542e
drm/amdgpu: fix bo list handling in CS

We didn't initialized the mutex in the cloned bo list resulting in nice
warnings from lockdep. Also fixes error handling in this function.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c