Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db318d7a authored by Michel Dänzer's avatar Michel Dänzer Committed by Dave Airlie
Browse files

drm/radeon: Unreference GEM object outside of spinlock in page flip error path.

parent 87463ff8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -473,8 +473,8 @@ pflip_cleanup:
	spin_lock_irqsave(&dev->event_lock, flags);
	radeon_crtc->unpin_work = NULL;
unlock_free:
	drm_gem_object_unreference_unlocked(old_radeon_fb->obj);
	spin_unlock_irqrestore(&dev->event_lock, flags);
	drm_gem_object_unreference_unlocked(old_radeon_fb->obj);
	radeon_fence_unref(&work->fence);
	kfree(work);