summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-05-16 17:59:55 +1000
committerDave Airlie <airlied@linux.ie>2006-06-02 10:05:02 +1000
commit758d1e82d5731f9f8250eb2775d035e9b3eba285 (patch)
tree1e576f8f161733a7d94ee78c5d9ee71a3bf32d90
parent061b825cc8f9926d49c239e37aaf9d4a617cb3b0 (diff)
fixup some size registers
-rw-r--r--src/i830_raw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_raw.c b/src/i830_raw.c
index 0668ad16..3456bfb8 100644
--- a/src/i830_raw.c
+++ b/src/i830_raw.c
@@ -780,8 +780,8 @@ I830RawSaveState(ScrnInfoPtr pScrn, I830RegPtr hw)
hw->disp_b_base = INREG(DSPBBASE);
hw->disp_a_stride = INREG(DSPASTRIDE);
hw->disp_b_stride = INREG(DSPBSTRIDE);
- hw->disp_a_ctrl = INREG(DSPASIZE);
- hw->disp_b_ctrl = INREG(DSPBSIZE);
+ hw->disp_a_size = INREG(DSPASIZE);
+ hw->disp_b_size = INREG(DSPBSIZE);
hw->add_id = INREG(ADD_ID);
@@ -903,8 +903,8 @@ I830RawRestoreState(ScrnInfoPtr pScrn, I830RegPtr hw)
OUTREG(DSPBBASE, hw->disp_b_base);
OUTREG(DSPASTRIDE, hw->disp_a_stride);
OUTREG(DSPBSTRIDE, hw->disp_b_stride);
- OUTREG(DSPASIZE, hw->disp_a_ctrl);
- OUTREG(DSPBSIZE, hw->disp_b_ctrl);
+ OUTREG(DSPASIZE, hw->disp_a_size);
+ OUTREG(DSPBSIZE, hw->disp_b_size);
OUTREG(VGACNTRL, hw->vgacntrl);
OUTREG(ADPA, hw->adpa);