/[pkg-src]/trunk/xorg-old/patches-6.9.0-r1/9395_all_6.7.0-savage-disable-xrandr-for-shadowfb-rotate.patch |
Contents of /trunk/xorg-old/patches-6.9.0-r1/9395_all_6.7.0-savage-disable-xrandr-for-shadowfb-rotate.patch
Parent Directory | Revision Log
Revision 167 -
(show annotations)
(download)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 861 byte(s)
Tue May 8 20:58:51 2007 UTC (17 years, 4 months ago) by niro
File size: 861 byte(s)
-import
1 | diff -urN xc.orig/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c xc/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c |
2 | --- xc.orig/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c 2004-07-15 03:32:56.087611059 -0400 |
3 | +++ xc/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c 2004-07-15 03:34:33.047538371 -0400 |
4 | @@ -833,11 +833,13 @@ |
5 | /* accel is disabled below for shadowFB */ |
6 | psav->shadowFB = TRUE; |
7 | psav->rotate = 1; |
8 | + xf86DisableRandR(); |
9 | xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, |
10 | "Rotating screen clockwise - acceleration disabled\n"); |
11 | } else if(!xf86NameCmp(s, "CCW")) { |
12 | psav->shadowFB = TRUE; |
13 | psav->rotate = -1; |
14 | + xf86DisableRandR(); |
15 | xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Rotating screen" |
16 | "counter clockwise - acceleration disabled\n"); |
17 | } else { |