https://bugzilla.kernel.org/show_bug.cgi?id=117861
--- Comment #3 from Alex Deucher <alexdeucher at gmail.com> --- fixed in: https://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=bd6e2732f0e2894ce792f344c41fc32591436fe3 drm/prime: fix error path deadlock fail There were a couple messed up things about this fail path. (1) it would drop object_name_lock twice (2) drm_gem_handle_delete() (in drm_gem_remove_prime_handles()) needs to grab prime_lock Reported-by: Alex Deucher <alexdeucher at gmail.com> Signed-off-by: Rob Clark <robdclark at gmail.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1465500559-17873-1-git-send-email-robdclark at gmail.com Which should go upstream in the next merge window. -- You are receiving this mail because: You are watching the assignee of the bug.