Revert "drm/radeon/kms: disable HDMI audio for now on rv710/rv730"
authorRafał Miłecki <zajec5@gmail.com>
Fri, 26 Feb 2010 08:44:57 +0000 (08:44 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Mar 2010 06:09:41 +0000 (16:09 +1000)
This commit "disabled" audio on RV710 and RV740 only, leaving RV770 and RV730.
The order is: CHIP_RV770 < CHIP_RV730 < CHIP_RV710 < CHIP_RV740.

It is not needed anway, as we do not even try to enable audio on RV770 and
newer. We call initializing function in r600.c only, not in rv770.c.

If there is something causing green tinges, it's HDMI mode setting for encoder
and I will try to debug that.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_audio.c

index 668ff4b..58c3cb3 100644 (file)
@@ -35,7 +35,7 @@
  */
 static int r600_audio_chipset_supported(struct radeon_device *rdev)
 {
-       return (rdev->family >= CHIP_R600 && rdev->family < CHIP_RV710)
+       return rdev->family >= CHIP_R600
                || rdev->family == CHIP_RS600
                || rdev->family == CHIP_RS690
                || rdev->family == CHIP_RS740;