diff options
Diffstat (limited to 'xorg/avivo_state.c')
-rw-r--r-- | xorg/avivo_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg/avivo_state.c b/xorg/avivo_state.c index 56bbf94..21f5541 100644 --- a/xorg/avivo_state.c +++ b/xorg/avivo_state.c @@ -73,7 +73,7 @@ avivo_restore_state(ScrnInfoPtr screen_info) struct avivo_info *avivo = avivo_get_info(screen_info); struct avivo_state *state = &avivo->saved_state; - radeon_set_mc(screen_info, AVIVO_MC_MEMORY_MAP, state->mc_memory_map); + avivo_set_mc(screen_info, AVIVO_MC_MEMORY_MAP, state->mc_memory_map); OUTREG(AVIVO_VGA_MEMORY_BASE, state->vga_memory_base); OUTREG(AVIVO_VGA_FB_START, state->vga_fb_start); OUTREG(AVIVO_VGA_MYSTERY0, state->vga_mystery0); @@ -198,7 +198,7 @@ avivo_save_state(ScrnInfoPtr screen_info) avivo_save_cursor(screen_info); - state->mc_memory_map = radeon_get_mc(screen_info, AVIVO_MC_MEMORY_MAP); + state->mc_memory_map = avivo_get_mc(screen_info, AVIVO_MC_MEMORY_MAP); state->vga_memory_base = INREG(AVIVO_VGA_MEMORY_BASE); state->vga_fb_start = INREG(AVIVO_VGA_FB_START); state->vga_mystery0 = INREG(AVIVO_VGA_MYSTERY0); |