Преглед изворни кода

drm/radeon/kms: disable HDMI audio for now on rv710/rv730

Support isn't correct yet and we are getting green tinges on the
displays.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie пре 15 година
родитељ
комит
23fff28a9b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/gpu/drm/radeon/r600_audio.c

+ 1 - 1
drivers/gpu/drm/radeon/r600_audio.c

@@ -35,7 +35,7 @@
  */
  */
 static int r600_audio_chipset_supported(struct radeon_device *rdev)
 static int r600_audio_chipset_supported(struct radeon_device *rdev)
 {
 {
-	return rdev->family >= CHIP_R600
+	return (rdev->family >= CHIP_R600 && rdev->family < CHIP_RV710)
 		|| rdev->family == CHIP_RS600
 		|| rdev->family == CHIP_RS600
 		|| rdev->family == CHIP_RS690
 		|| rdev->family == CHIP_RS690
 		|| rdev->family == CHIP_RS740;
 		|| rdev->family == CHIP_RS740;