Skip to contentSkip to conversation

drm/radeon/kms: don't default display priority to high on rs4xx

PATCH New Alex Deucher 1 participant 1 message May 20, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: don't default display priority to high on rs4xx

Seems to cause issues with the sound hardware. Fixes kernel bug 15982:
https://bugzilla.kernel.org/show_bug.cgi?id=15982

---
 drivers/gpu/drm/radeon/radeon_display.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_display.c +4 -1
index bd44f88..073ec61 100644
@@ -976,8 +976,11 @@ void radeon_update_display_priority(struct radeon_device *rdev)
 		/* set display priority to high for r3xx, rv515 chips
 		 * this avoids flickering due to underflow to the
 		 * display controllers during heavy acceleration.
+		 * Don't force high on rs4xx igp chips as it seems to
+		 * affect the sound card.  See kernel bug 15982.
 		 */
-		if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515))
+		if ((ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515)) &&
+		    !(rdev->flags & RADEON_IS_IGP))
 			rdev->disp_priority = 2;
 		else
 			rdev->disp_priority = 0;
Signature · 1 line
1.5.6.3