vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS);
vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL);
static void RADEONSave(ScrnInfoPtr pScrn){    RADEONInfoPtr  info       = RADEONPTR(pScrn);    unsigned char *RADEONMMIO = info->MMIO;    RADEONSavePtr  save       = &info->SavedReg;    vgaHWPtr       hwp        = VGAHWPTR(pScrn);    RADEONTRACE(("RADEONSave\n"));    if (info->FBDev) {	fbdevHWSave(pScrn);	return;    }    if (!info->IsSecondary) {	vgaHWUnlock(hwp);#if defined(__powerpc__)	/* temporary hack to prevent crashing on PowerMacs when trying to	 * read VGA fonts and colormap, will find a better solution	 * in the future	 */	vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* Save mode only */#else	vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS); /* Save mode						       * & fonts & cmap						       */#endif	vgaHWLock(hwp);	save->dp_datatype      = INREG(RADEON_DP_DATATYPE);	save->rbbm_soft_reset  = INREG(RADEON_RBBM_SOFT_RESET);	save->clock_cntl_index = INREG(RADEON_CLOCK_CNTL_INDEX);	if (info->R300CGWorkaround) R300CGWorkaround(pScrn);    }    RADEONSaveMode(pScrn, save);}