drm/radeon: fix r600 writeback across suspend/resume
authorDave Airlie <airlied@redhat.com>
Tue, 10 Mar 2009 08:34:23 +0000 (18:34 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:24:20 +0000 (14:24 +1000)
This update was done in mainline radeon, but not in the r600.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_cp.c

index 04fde35..490f353 100644 (file)
@@ -1737,9 +1737,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.