commit | f1543f58cbc7f62c4ea0cca57bbb4a95dc752264 | [log] [tgz] |
---|---|---|
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | Tue Jan 10 20:36:56 2017 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jan 27 11:13:29 2017 -0500 |
tree | 3480c1f26eab6e82f0869ccca7b6b378bf570461 | |
parent | 36ea83d1512008ab6631c54971e8de8cf2f0a7b4 [diff] |
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>