diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-01-10 20:36:56 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-01-27 11:13:29 -0500 |
commit | f1543f58cbc7f62c4ea0cca57bbb4a95dc752264 (patch) | |
tree | 3480c1f26eab6e82f0869ccca7b6b378bf570461 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | 36ea83d1512008ab6631c54971e8de8cf2f0a7b4 (diff) | |
download | linux-f1543f58cbc7f62c4ea0cca57bbb4a95dc752264.tar.bz2 |
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 <nicolai.haehnle@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions