summaryrefslogtreecommitdiff
path: root/linux-core/radeon_legacy_encoders.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-11-03 09:33:12 +1000
committerDave Airlie <airlied@redhat.com>2008-11-03 09:33:12 +1000
commit624da91277ee33936ea3cfaf20e7f6775293deb2 (patch)
tree0504ae4c45de27ff162f39a5b9bf606272cc2b52 /linux-core/radeon_legacy_encoders.c
parent1c817cc3fc09abe93539413130de3875e4c7eafe (diff)
radeon: add r423 bits to modesetting
Diffstat (limited to 'linux-core/radeon_legacy_encoders.c')
-rw-r--r--linux-core/radeon_legacy_encoders.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/radeon_legacy_encoders.c b/linux-core/radeon_legacy_encoders.c
index 261501d1..3df89d30 100644
--- a/linux-core/radeon_legacy_encoders.c
+++ b/linux-core/radeon_legacy_encoders.c
@@ -1070,6 +1070,7 @@ static void radeon_legacy_tv_dac_dpms(struct drm_encoder *encoder, int mode)
crtc2_gen_cntl |= RADEON_CRTC2_CRT2_ON;
//tv_master_cntl |= RADEON_TV_ON;
if (dev_priv->chip_family == CHIP_R420 ||
+ dev_priv->chip_family == CHIP_R423 ||
dev_priv->chip_family == CHIP_RV410)
tv_dac_cntl &= ~(R420_TV_DAC_RDACPD |
R420_TV_DAC_GDACPD |
@@ -1095,6 +1096,7 @@ static void radeon_legacy_tv_dac_dpms(struct drm_encoder *encoder, int mode)
crtc2_gen_cntl &= ~RADEON_CRTC2_CRT2_ON;
//tv_master_cntl &= ~RADEON_TV_ON;
if (dev_priv->chip_family == CHIP_R420 ||
+ dev_priv->chip_family == CHIP_R423 ||
dev_priv->chip_family == CHIP_RV410)
tv_dac_cntl |= (R420_TV_DAC_RDACPD |
R420_TV_DAC_GDACPD |
@@ -1158,6 +1160,7 @@ static void radeon_legacy_tv_dac_mode_set(struct drm_encoder *encoder,
if (dev_priv->chip_family != CHIP_R200) {
tv_dac_cntl = RADEON_READ(RADEON_TV_DAC_CNTL);
if (dev_priv->chip_family == CHIP_R420 ||
+ dev_priv->chip_family == CHIP_R423 ||
dev_priv->chip_family == CHIP_RV410) {
tv_dac_cntl &= ~(RADEON_TV_DAC_STD_MASK |
RADEON_TV_DAC_BGADJ_MASK |