summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-16 10:37:04 +1000
committerDave Airlie <airlied@linux.ie>2007-11-16 10:37:04 +1000
commit718bfd3b61879172eee819fdab7080d5d4c0a756 (patch)
treef12bdad523c08b6f2a2a24589f2075dfa25737c9
parent7aeb35e5ad1aed6e78a3d8565fbfbfe66232ab45 (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;
}