summaryrefslogtreecommitdiff
path: root/src/atombios_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-23 12:55:02 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-23 12:55:02 -0400
commit7aaf5f08e4147b75c4975e6d680d3f5a93424164 (patch)
tree81de76c6b465c91de771e9a34dc22dff68ec228f /src/atombios_output.c
parent2fe6b393d9dbb193d4f0a3351ad76618cda07e2c (diff)
R4xx ATOM: fix crtc routing for CRT1
should fix bug 20814
Diffstat (limited to 'src/atombios_output.c')
-rw-r--r--src/atombios_output.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 35d1767c..4af04c1c 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -1406,8 +1406,12 @@ atombios_set_output_crtc_source(xf86OutputPtr output)
default:
if (IS_AVIVO_VARIANT)
crtc_src_param.ucCRTC = radeon_crtc->crtc_id;
- else
- crtc_src_param.ucCRTC = radeon_crtc->crtc_id << 2;
+ else {
+ if (radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DAC1)
+ crtc_src_param.ucCRTC = radeon_crtc->crtc_id;
+ else
+ crtc_src_param.ucCRTC = radeon_crtc->crtc_id << 2;
+ }
switch (radeon_encoder->encoder_id) {
case ENCODER_OBJECT_ID_INTERNAL_TMDS1:
case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1: