[xserver-commit] xserver/hw/kdrive/vesa vesa.c,1.29,1.30
Keith Packard
xserver-commit@pdx.freedesktop.org
Tue, 18 Nov 2003 10:38:50 -0800
Committed by: keithp
Update of /cvs/xserver/xserver/hw/kdrive/vesa
In directory pdx:/tmp/cvs-serv16034/hw/kdrive/vesa
Modified Files:
vesa.c
Log Message:
* hw/kdrive/src/koffscreen.c: (KdOffscreenFree):
Reset available offscreen segment save function pointer.
(Not a functional change, just cleaning up a bit)
* hw/kdrive/vesa/vesa.c: (vesaEnable):
Reset the screen->memory_base value when frame buffer is
remapped. This makes sure new off-screen allocations point at
the newly mapped region rather than the old (now unmapped) region.
Index: vesa.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/vesa/vesa.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- vesa.c 18 Nov 2003 04:53:16 -0000 1.29
+++ vesa.c 18 Nov 2003 18:38:48 -0000 1.30
@@ -1360,6 +1360,7 @@
if (!pscr->fb)
return FALSE;
screen->fb[0].frameBuffer = (CARD8 *)(pscr->fb);
+ screen->memory_base = pscr->fb;
/*
* Set frame buffer mapping
*/