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

Robert Noland rnoland at FreeBSD.org
Mon Mar 9 00:24:34 PDT 2009


Author: rnoland
Date: Mon Mar  9 07:24:32 2009
New Revision: 189557
URL: http://svn.freebsd.org/changeset/base/189557

Log:
  Call the right function for the right chipset.
  
  MFC after:	10 days

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

Modified: head/sys/dev/drm/radeon_cp.c
==============================================================================
--- head/sys/dev/drm/radeon_cp.c	Mon Mar  9 06:14:27 2009	(r189556)
+++ head/sys/dev/drm/radeon_cp.c	Mon Mar  9 07:24:32 2009	(r189557)
@@ -1705,7 +1705,7 @@ void radeon_do_release(struct drm_device
 	if (dev_priv) {
 		if (dev_priv->cp_running) {
 			/* Stop the cp */
-			if ((dev_priv->flags & RADEON_FAMILY_MASK) < CHIP_R600) {
+			if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600) {
 				while ((ret = r600_do_cp_idle(dev_priv)) != 0) {
 					DRM_DEBUG("radeon_do_cp_idle %d\n", ret);
 #ifdef __linux__


More information about the svn-src-head mailing list