summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-03-16 08:15:35 +0000
committerrnoland <rnoland@FreeBSD.org>2009-03-16 08:15:35 +0000
commitb65366a14a6f21a5999990c149175c4b8d047318 (patch)
tree54d7e20cc2653040524ad845eeec8c32084b93f1 /sys/dev/drm
parentf248585449fe21d96fc338f27ed9b849ac0c96cb (diff)
downloadFreeBSD-src-b65366a14a6f21a5999990c149175c4b8d047318.zip
FreeBSD-src-b65366a14a6f21a5999990c149175c4b8d047318.tar.gz
Fix R600 writeback across suspend/resume.
This is likely a NOOP for us, since I haven't ported the suspend/resume code yet. MFC after: 3 days
Diffstat (limited to 'sys/dev/drm')
-rw-r--r--sys/dev/drm/r600_cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/drm/r600_cp.c b/sys/dev/drm/r600_cp.c
index 9cf4f31..72af8c8 100644
--- a/sys/dev/drm/r600_cp.c
+++ b/sys/dev/drm/r600_cp.c
@@ -1740,9 +1740,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.
OpenPOWER on IntegriCloud