From: Mario Kleiner Date: Wed, 16 Jul 2014 23:27:25 +0000 (+0200) Subject: drm/radeon: Remove redundant fence unref in pageflip path. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c89e5be621e84b7b83650d87a956c52c5654c35b;p=openwrt%2Fstaging%2Fblogic.git drm/radeon: Remove redundant fence unref in pageflip path. Not needed anymore, as it is already unreffed within radeon_flip_work_func() after its only use. Signed-off-by: Mario Kleiner Reviewed-by: Michel Dänzer Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 97ea46597bea..bfa3a6cc170f 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -366,7 +366,6 @@ void radeon_crtc_handle_flip(struct radeon_device *rdev, int crtc_id) spin_unlock_irqrestore(&rdev->ddev->event_lock, flags); drm_vblank_put(rdev->ddev, radeon_crtc->crtc_id); - radeon_fence_unref(&work->fence); radeon_irq_kms_pflip_irq_put(rdev, work->crtc_id); queue_work(radeon_crtc->flip_queue, &work->unpin_work); }