summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvd0_display.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-07-07 09:23:48 +0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 10:07:09 +0400
commita46232ee09064351246c6f7134c81790ef737874 (patch)
tree1653eeec02b9aa4f432690798b7df2c329e5a9d4 /drivers/gpu/drm/nouveau/nvd0_display.c
parent8ea0d4aa606eabd021926b4c328e4d799253afe6 (diff)
downloadlinux-a46232ee09064351246c6f7134c81790ef737874.tar.xz
drm/nvd0/disp: push the update button in mode_set_base()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvd0_display.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvd0_display.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c
index 376acc1619a0..4fadea47b3b4 100644
--- a/drivers/gpu/drm/nouveau/nvd0_display.c
+++ b/drivers/gpu/drm/nouveau/nvd0_display.c
@@ -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);
}