aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-04-29 20:56:09 -0400
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 02:32:03 -0400
commit2cda7f4c5e83925fe687f63625893e033358de4e (patch)
tree1cc5099ff5c3f50dec27cde64b8443319fa89ed9 /drivers/gpu
parentafada5e0bb3cac8530c2ae36aa0abca41d60e063 (diff)
drm/nvd0/disp: remove unnecessary sync from flip_next
This shouldn't be necessary, I believe this is just a bit of missed debug code that got left over somehow. Causes flips to be always synced to vblank, regardless of swap interval, which we don't want.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nvd0_display.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c
index ccc20dc1b6cb..7307d3fe992f 100644
--- a/drivers/gpu/drm/nouveau/nvd0_display.c
+++ b/drivers/gpu/drm/nouveau/nvd0_display.c
@@ -284,8 +284,6 @@ nvd0_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb,
284 u32 *push; 284 u32 *push;
285 int ret; 285 int ret;
286 286
287 evo_sync(crtc->dev, EVO_MASTER);
288
289 swap_interval <<= 4; 287 swap_interval <<= 4;
290 if (swap_interval == 0) 288 if (swap_interval == 0)
291 swap_interval |= 0x100; 289 swap_interval |= 0x100;