diff options
| author | Nicolai Hähnle <[email protected]> | 2017-01-10 19:36:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-01-27 16:13:29 +0000 |
| commit | f1543f58cbc7f62c4ea0cca57bbb4a95dc752264 (patch) | |
| tree | 3480c1f26eab6e82f0869ccca7b6b378bf570461 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amd/amdgpu: lock reservation object while creating shadow bo (diff) | |
| download | kernel-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
