]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/radeon/kms: don't default display priority to high on rs4xx
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 20 May 2010 15:26:11 +0000 (11:26 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 21 May 2010 05:06:06 +0000 (15:06 +1000)
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>
drivers/gpu/drm/radeon/radeon_display.c

index da85cad1152b0129a270870bef7249fda2678a41..1006549d157029bcb129129f417e1dd5195cc5ed 100644 (file)
@@ -983,8 +983,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;