]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit34cb581a7d99401cad0e1c43b528690885435f5b
tree94492c3d5633cc01deb438f03dcdbe171ee31566
parent351dba73691fc632b269f531bbce80157f79c5b3
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