aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-05-20 11:26:11 -0400
committerDave Airlie <airlied@redhat.com>2010-05-21 01:06:06 -0400
commit45737447ed160faaba036c0709226bf9057f7b72 (patch)
tree9fe0b0c7e5e164104334d94b048d6aaeab9c7e5b
parentc43ae476a5fef6719f8227a04cab70645f891349 (diff)
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 Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_display.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index da85cad1152b..1006549d1570 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -983,8 +983,11 @@ void radeon_update_display_priority(struct radeon_device *rdev)
983 /* set display priority to high for r3xx, rv515 chips 983 /* set display priority to high for r3xx, rv515 chips
984 * this avoids flickering due to underflow to the 984 * this avoids flickering due to underflow to the
985 * display controllers during heavy acceleration. 985 * display controllers during heavy acceleration.
986 * Don't force high on rs4xx igp chips as it seems to
987 * affect the sound card. See kernel bug 15982.
986 */ 988 */
987 if (ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515)) 989 if ((ASIC_IS_R300(rdev) || (rdev->family == CHIP_RV515)) &&
990 !(rdev->flags & RADEON_IS_IGP))
988 rdev->disp_priority = 2; 991 rdev->disp_priority = 2;
989 else 992 else
990 rdev->disp_priority = 0; 993 rdev->disp_priority = 0;