aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/radeon_cp.c')
-rw-r--r--drivers/char/drm/radeon_cp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c
index 447bfbe0da8a..e64d680899f5 100644
--- a/drivers/char/drm/radeon_cp.c
+++ b/drivers/char/drm/radeon_cp.c
@@ -1205,6 +1205,10 @@ static void radeon_cp_init_ring_buffer(drm_device_t * dev,
1205 dev_priv->writeback_works = 0; 1205 dev_priv->writeback_works = 0;
1206 DRM_DEBUG("writeback test failed\n"); 1206 DRM_DEBUG("writeback test failed\n");
1207 } 1207 }
1208 if (radeon_no_wb == 1) {
1209 dev_priv->writeback_works = 0;
1210 DRM_DEBUG("writeback forced off\n");
1211 }
1208 1212
1209 dev_priv->sarea_priv->last_frame = dev_priv->scratch[0] = 0; 1213 dev_priv->sarea_priv->last_frame = dev_priv->scratch[0] = 0;
1210 RADEON_WRITE(RADEON_LAST_FRAME_REG, dev_priv->sarea_priv->last_frame); 1214 RADEON_WRITE(RADEON_LAST_FRAME_REG, dev_priv->sarea_priv->last_frame);