]> git.pld-linux.org Git - packages/XFree86.git/blame - XFree86-tdfx-fix-vtswitch-font-corruption.patch
- added mandir-fix patch (use man3 not man1 for XRes,Xfontcache,Xss API docs)
[packages/XFree86.git] / XFree86-tdfx-fix-vtswitch-font-corruption.patch
CommitLineData
42b49d9d
PG
1This patch reorders the code in the EnterVT function in the tdfx driver
2in an attempt to fix VT switch font corruption problems that are easily
3reproduceable, and often reported. The code is currently untested. It
4may also fix other VTswitch problems as well.
5
6Mike A. Harris <mharris@redhat.com>
7
8--- xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_driver.c.tdfx-fix-vtswitch-font-corruption Sun Feb 3 08:40:10 2002
9+++ xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_driver.c Sun Feb 3 08:42:21 2002
10@@ -2326,12 +2326,15 @@
11 TDFXTRACE("TDFXLeaveVT start\n");
12 pScrn = xf86Screens[scrnIndex];
13 hwp=VGAHWPTR(pScrn);
14- TDFXRestore(pScrn);
15- vgaHWLock(hwp);
16 pScreen = screenInfo.screens[scrnIndex];
17+
18 pTDFX = TDFXPTR(pScrn);
19 pTDFX->sync(pScrn);
20+
21+ TDFXRestore(pScrn);
22+ vgaHWLock(hwp);
23 TDFXShutdownFifo(pScreen);
24+
25 #ifdef XF86DRI
26 if (pTDFX->directRenderingEnabled) {
27 DRILock(pScreen, 0);
This page took 0.032253 seconds and 4 git commands to generate.