]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpu/drm/radeon/r600_cp.c
drm/radeon: fix r600 writeback across suspend/resume
[linux-2.6-omap-h63xx.git] / drivers / gpu / drm / radeon / r600_cp.c
index 04fde35dc21d23d569c0800b73b9f6637fba0e41..490f35396cbb14d93f94bc063804b982ac765420 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.