summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-02-27 15:28:50 -0500
committerAlex Deucher <alex@samba.(none)>2008-02-27 15:28:50 -0500
commit10db46f11d7e1c055c9ad6034c65ad163dad17dc (patch)
tree31e891b8d469af7bb10664f54f5e87a7bad8fb66 /src
parentea944f38dcfd871b27345698afea1cb986ecb049 (diff)
AVIVO: make sure we select the right LUT for each crtc
Diffstat (limited to 'src')
-rw-r--r--src/radeon_crtc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 3524b753..7164138e 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -275,6 +275,10 @@ radeon_crtc_load_lut(xf86CrtcPtr crtc)
OUTPAL(i, radeon_crtc->lut_r[i], radeon_crtc->lut_g[i], radeon_crtc->lut_b[i]);
}
+ if (IS_AVIVO_VARIANT) {
+ OUTREG(AVIVO_D1GRPH_LUT_SEL + radeon_crtc->crtc_offset, radeon_crtc->crtc_id);
+ }
+
}