summaryrefslogtreecommitdiff
path: root/shared/r128_cce.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/r128_cce.c')
-rw-r--r--shared/r128_cce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/r128_cce.c b/shared/r128_cce.c
index 5175885e..8d305b75 100644
--- a/shared/r128_cce.c
+++ b/shared/r128_cce.c
@@ -579,6 +579,7 @@ static int r128_do_init_cce( drm_device_t *dev, drm_r128_init_t *init )
(dev_priv->ring.size / sizeof(u32)) - 1;
dev_priv->ring.high_mark = 128;
+ dev_priv->ring.ring_rptr = dev_priv->ring_rptr;
dev_priv->sarea_priv->last_frame = 0;
R128_WRITE( R128_LAST_FRAME_REG, dev_priv->sarea_priv->last_frame );