summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-16 15:00:50 +1000
committerDave Airlie <airlied@linux.ie>2007-11-16 15:02:27 +1000
commitd39eb2077c6b2fc094ccd952772528eb9428c587 (patch)
tree459d6446bc202cabcd47073b18033013f9afdeaf /src/radeon_crtc.c
parentb7774c28dde72a205a40be78003df72eabfb9b1f (diff)
radeon: rename a large section of avivo regs to documented names
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 64f8037e..9192a9e4 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -1280,7 +1280,8 @@ Bool RADEONAllocateControllers(ScrnInfoPtr pScrn)
pRADEONEnt->pCrtc[1]->driver_private = pRADEONEnt->Controller[1];
pRADEONEnt->Controller[1]->crtc_id = 1;
- pRADEONEnt->Controller[1]->crtc_offset = AVIVO_CRTC2_H_TOTAL - AVIVO_CRTC1_H_TOTAL;
+ pRADEONEnt->Controller[1]->crtc_offset = AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL;
+
return TRUE;
}