Subject: Re: Couple of problems with Xorg server
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 04/14/2005 23:37:34
On Mon, 11 Apr 2005 09:02:47 +0300
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:

> Mark Davies wrote:
> > Seems the XFree86 patch was only part of it.  Below patch fixes it for me.
> > 
> > cheers
> > mark
> > 
> > 
> > --- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c.orig
> > 2004-12-17 13:13:18.000000000 +1300
> > +++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c
> > @@ -5748,7 +5748,7 @@ static void RADEONSave(ScrnInfoPtr pScrn
> >  	 */
> >  	vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* Save mode only
> > */
> >  #else
> > -	vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS); /*
> > Save mode
> > +	vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); /* Save mode
> >  						       * & fonts & cmap
> >  						       */
> >  #endif
> > @@ -5818,7 +5818,7 @@ static void RADEONRestore(ScrnInfoPtr pS
> >  	 */
> >  	vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE );
> >  #else
> > -	vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS );
> > +	vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL );
> >  #endif
> >  	vgaHWLock(hwp);
> >      } else {
> > 
> > 
> 
> This fixed my problems :-)

Patch applied, thanks.

!DSPAM:425ee2c360744551415078!