summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-11-06 22:59:25 -0500
committerAlex Deucher <alex@botch2.(none)>2007-11-06 22:59:25 -0500
commit0d3e0735f710cb7b9505e4330997aa332f73c102 (patch)
tree002fb8271a042eb3151b9a6800f7dd87ebb94fe8 /src/radeon_crtc.c
parent0abfe3150ce3eed4db93ccc2975bd4622dfa54a7 (diff)
First round of avivo support
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 4a017c04..64e03e1b 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -1252,6 +1252,7 @@ Bool RADEONAllocateControllers(ScrnInfoPtr pScrn)
pRADEONEnt->pCrtc[0]->driver_private = pRADEONEnt->Controller[0];
pRADEONEnt->Controller[0]->crtc_id = 0;
+ pRADEONEnt->Controller[0]->crtc_offset = 0;
if (!pRADEONEnt->HasCRTC2)
return TRUE;
@@ -1269,6 +1270,7 @@ Bool RADEONAllocateControllers(ScrnInfoPtr pScrn)
pRADEONEnt->pCrtc[1]->driver_private = pRADEONEnt->Controller[1];
pRADEONEnt->Controller[1]->crtc_id = 1;
+ pRADEONEnt->Controller[0]->crtc_offset = AVIVO_CRTC2_H_TOTAL - AVIVO_CRTC1_H_TOTAL;
return TRUE;
}