]> 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)
commit55f74ec05b24d50e0ad0caee04bbdaf176670ffd
tree94492c3d5633cc01deb438f03dcdbe171ee31566
parent52634e0d39f944a73d08dfe0a8d31fcb4bece43d
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