aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-03-10 04:34:23 -0400
committerDave Airlie <airlied@redhat.com>2009-03-13 00:24:20 -0400
commitd02f7fa77d97a28a4276939f35e44ae995ad13d7 (patch)
treeaf6ba89c8ca1f514f07725dd29e925c60795d4be /drivers/gpu
parent6546bf6d6cbf1f9ac350fd278a1d937d4bb9ad06 (diff)
drm/radeon: fix r600 writeback across suspend/resume
This update was done in mainline radeon, but not in the r600. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/r600_cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r600_cp.c b/drivers/gpu/drm/radeon/r600_cp.c
index 04fde35dc21d..490f35396cbb 100644
--- a/drivers/gpu/drm/radeon/r600_cp.c
+++ b/drivers/gpu/drm/radeon/r600_cp.c
@@ -1737,9 +1737,6 @@ static void r600_cp_init_ring_buffer(struct drm_device *dev,
1737 1737
1738 RADEON_WRITE(R600_CP_DEBUG, (1 << 27) | (1 << 28)); 1738 RADEON_WRITE(R600_CP_DEBUG, (1 << 27) | (1 << 28));
1739 1739
1740 /* Start with assuming that writeback doesn't work */
1741 dev_priv->writeback_works = 0;
1742
1743 /* Initialize the scratch register pointer. This will cause 1740 /* Initialize the scratch register pointer. This will cause
1744 * the scratch register values to be written out to memory 1741 * the scratch register values to be written out to memory
1745 * whenever they are updated. 1742 * whenever they are updated.