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 <mario.kleiner.de@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
306f98d9a1
commit
c89e5be621
|
@ -366,7 +366,6 @@ void radeon_crtc_handle_flip(struct radeon_device *rdev, int crtc_id)
|
||||||
spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
|
spin_unlock_irqrestore(&rdev->ddev->event_lock, flags);
|
||||||
|
|
||||||
drm_vblank_put(rdev->ddev, radeon_crtc->crtc_id);
|
drm_vblank_put(rdev->ddev, radeon_crtc->crtc_id);
|
||||||
radeon_fence_unref(&work->fence);
|
|
||||||
radeon_irq_kms_pflip_irq_put(rdev, work->crtc_id);
|
radeon_irq_kms_pflip_irq_put(rdev, work->crtc_id);
|
||||||
queue_work(radeon_crtc->flip_queue, &work->unpin_work);
|
queue_work(radeon_crtc->flip_queue, &work->unpin_work);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue