diff options
author | Dave Airlie <airlied@redhat.com> | 2007-12-07 14:30:32 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2007-12-07 14:30:32 +1000 |
commit | bb5ede557bf32a42eef158ff0fbcfe1c6ede098a (patch) | |
tree | 88055797258b77970be6e925fa616fcce4175621 /src/radeon_tv.c | |
parent | 21ed435398e4a398dd8a0a5d7c1d4cc45e916332 (diff) |
radeon: move savedreg/modereg into entity instead of info
Diffstat (limited to 'src/radeon_tv.c')
-rw-r--r-- | src/radeon_tv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_tv.c b/src/radeon_tv.c index 2a8873c8..5e9a9c8f 100644 --- a/src/radeon_tv.c +++ b/src/radeon_tv.c @@ -540,7 +540,7 @@ void RADEONInitTVRegisters(xf86OutputPtr output, RADEONSavePtr save, save->dac_cntl &= ~RADEON_DAC_TVO_EN; if (IS_R300_VARIANT) - save->gpiopad_a = info->SavedReg.gpiopad_a & ~1; + save->gpiopad_a = info->SavedReg->gpiopad_a & ~1; if (IsPrimary) { save->disp_output_cntl &= ~RADEON_DISP_TVDAC_SOURCE_MASK; @@ -571,7 +571,7 @@ void RADEONUpdateHVPosition(xf86OutputPtr output, DisplayModePtr mode) RADEONInfoPtr info = RADEONPTR(pScrn); unsigned char *RADEONMMIO = info->MMIO; Bool reloadTable; - RADEONSavePtr restore = &info->ModeReg; + RADEONSavePtr restore = info->ModeReg; reloadTable = RADEONInitTVRestarts(output, restore, mode); |