drm/nvd0/disp: remove unnecessary sync from flip_next
authorBen Skeggs <bskeggs@redhat.com>
Mon, 30 Apr 2012 00:56:09 +0000 (10:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:32:03 +0000 (16:32 +1000)
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>
drivers/gpu/drm/nouveau/nvd0_display.c

index ccc20dc1b6cb124f7b614aa251943af6da16f811..7307d3fe992fbed598f2fc501d8c347b1f830f12 100644 (file)
@@ -284,8 +284,6 @@ nvd0_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb,
        u32 *push;
        int ret;
 
-       evo_sync(crtc->dev, EVO_MASTER);
-
        swap_interval <<= 4;
        if (swap_interval == 0)
                swap_interval |= 0x100;