diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2014-07-17 01:27:25 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-07-17 09:03:40 -0400 |
commit | c89e5be621e84b7b83650d87a956c52c5654c35b (patch) | |
tree | 4facc978af387a44457f034ae2f9b6ba1cdf3865 | |
parent | 306f98d9a1079cc78567b1a6a5e94c272c163e47 (diff) | |
download | op-kernel-dev-c89e5be621e84b7b83650d87a956c52c5654c35b.zip op-kernel-dev-c89e5be621e84b7b83650d87a956c52c5654c35b.tar.gz |
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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 97ea465..bfa3a6c 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); } |