svn commit: r189868 - head/sys/dev/drm

Robert Noland rnoland at FreeBSD.org
Mon Mar 16 01:15:36 PDT 2009


Author: rnoland
Date: Mon Mar 16 08:15:35 2009
New Revision: 189868
URL: http://svn.freebsd.org/changeset/base/189868

Log:
  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

Modified:
  head/sys/dev/drm/r600_cp.c

Modified: head/sys/dev/drm/r600_cp.c
==============================================================================
--- head/sys/dev/drm/r600_cp.c	Mon Mar 16 05:39:37 2009	(r189867)
+++ head/sys/dev/drm/r600_cp.c	Mon Mar 16 08:15:35 2009	(r189868)
@@ -1740,9 +1740,6 @@ static void r600_cp_init_ring_buffer(str
 
 	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.


More information about the svn-src-head mailing list