Date: Mon, 9 Mar 2009 07:24:33 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189557 - head/sys/dev/drm Message-ID: <200903090724.n297OXPO012993@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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__
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903090724.n297OXPO012993>