drm/nvd0/disp: push the update button in mode_set_base()
authorBen Skeggs <bskeggs@redhat.com>
Thu, 7 Jul 2011 05:23:48 +0000 (15:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:07:09 +0000 (16:07 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvd0_display.c

index 376acc1..4fadea4 100644 (file)
@@ -192,6 +192,10 @@ nvd0_crtc_set_image(struct nouveau_crtc *nv_crtc, struct drm_framebuffer *fb,
                evo_data(push, nvfb->r_pitch);
                evo_data(push, nvfb->r_format);
                evo_data(push, nvfb->r_dma);
+               if (update) {
+                       evo_mthd(push, 0x0080, 1);
+                       evo_data(push, 0x00000000);
+               }
                evo_kick(push, fb->dev, 0);
        }