summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-03-13 10:50:29 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-13 10:50:29 -0400
commitabed41e1086673ab564fe2969be56bd3b6141d89 (patch)
tree578225d9c652fda5a2e9a89270d99fda2de02929
parent7a2f958dc9a108dd4cb0cd14585262c429f85754 (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>
-rw-r--r--shared-core/r600_cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/shared-core/r600_cp.c b/shared-core/r600_cp.c
index 3e6fbbf9..89e0737e 100644
--- a/shared-core/r600_cp.c
+++ b/shared-core/r600_cp.c
@@ -2102,9 +2102,6 @@ static void r600_cp_init_ring_buffer(struct drm_device * dev,
RADEON_WRITE(R600_CP_DEBUG, (1 << 27) | (1 << 28));
- /* Start with assuming that writeback doesn't work */
- dev_priv->writeback_works = 0;
-
/* Initialize the scratch register pointer. This will cause
* the scratch register values to be written out to memory
* whenever they are updated.