diff options
author | Alex Deucher <alex@cube.(none)> | 2008-03-01 16:23:51 -0500 |
---|---|---|
committer | Alex Deucher <alex@cube.(none)> | 2008-03-01 16:23:51 -0500 |
commit | dd8ee1b444f4b973a1e0fadca5f943f2162b5e94 (patch) | |
tree | 22f60b03abe86d4e40963e5f827d67ba657307d5 /src/legacy_crtc.c | |
parent | 1f6a23000001f3d1c21b5c04f94714a8caa7aa8b (diff) |
RADEON: memmap rework 1
Don't restore memmap regs on every mode switch.
Just do memmap save/restore/setup on server start and VT switch.
Diffstat (limited to 'src/legacy_crtc.c')
-rw-r--r-- | src/legacy_crtc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index 06ad60ce..dec14a4a 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -1693,8 +1693,6 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, } - ErrorF("init memmap\n"); - RADEONInitMemMapRegisters(pScrn, info->ModeReg, info); ErrorF("init common\n"); RADEONInitCommonRegisters(info->ModeReg, info); @@ -1748,8 +1746,6 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, } } - ErrorF("restore memmap\n"); - RADEONRestoreMemMapRegisters(pScrn, info->ModeReg); ErrorF("restore common\n"); RADEONRestoreCommonRegisters(pScrn, info->ModeReg); @@ -1773,7 +1769,7 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, radeon_update_tv_routing(pScrn, info->ModeReg); if (info->DispPriority) - RADEONInitDispBandwidth(pScrn); + RADEONInitDispBandwidth(pScrn); if (info->tilingEnabled != tilingOld) { /* need to redraw front buffer, I guess this can be considered a hack ? */ |