summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-15 23:17:25 -0500
committerAlex Deucher <alex@botch2.(none)>2007-11-15 23:17:25 -0500
commitefac14e669a0c6184f8848191eb49ffb21934ee1 (patch)
tree1a1b2f6d5361e9907848c172cab1115eff8255e1
parente6db621c37ff615be286462f000d67a662c5c331 (diff)
r5xx: fix typo for crtc offset
-rw-r--r--src/radeon_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index a437f978..64f8037e 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -1280,7 +1280,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;
+ pRADEONEnt->Controller[1]->crtc_offset = AVIVO_CRTC2_H_TOTAL - AVIVO_CRTC1_H_TOTAL;
return TRUE;
}