From: Rafał Miłecki Date: Fri, 26 Feb 2010 08:44:57 +0000 (+0000) Subject: Revert "drm/radeon/kms: disable HDMI audio for now on rv710/rv730" X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3464f114967b2f98f1bfe0eaf0a413bb51b4df1d;p=openwrt%2Fstaging%2Fblogic.git Revert "drm/radeon/kms: disable HDMI audio for now on rv710/rv730" 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/r600_audio.c b/drivers/gpu/drm/radeon/r600_audio.c index 668ff4b11c60..58c3cb32f7b0 100644 --- a/drivers/gpu/drm/radeon/r600_audio.c +++ b/drivers/gpu/drm/radeon/r600_audio.c @@ -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;