aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-01-10 19:36:56 +0000
committerAlex Deucher <[email protected]>2017-01-27 16:13:29 +0000
commitf1543f58cbc7f62c4ea0cca57bbb4a95dc752264 (patch)
tree3480c1f26eab6e82f0869ccca7b6b378bf570461 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amd/amdgpu: lock reservation object while creating shadow bo (diff)
downloadkernel-f1543f58cbc7f62c4ea0cca57bbb4a95dc752264.tar.gz
kernel-f1543f58cbc7f62c4ea0cca57bbb4a95dc752264.zip
drm/amd/amdgpu: fix locking in bo creation error path
Unlock the resv lock only if we were the ones to lock it in the first place. Signed-off-by: Nicolai Hähnle <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions