From: David D. <da...@us...> - 2002-09-11 00:57:51
|
CVSROOT: /cvsroot/dri Module name: xc Repository: xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/ Changes by: dawes@usw-pr-cvs1. 02/09/10 17:57:49 Log message: - Fix various bugs in the DRI support for the i830 and i845G (Keith Whitwell). - Major rework of the 2D i830/i845G support, including: - Improve VESA mode selection, and fix refresh rate selection. - Don't duplicate functions provided in the vbe modules. - Don't duplicate functions provided in the vgahw module. - Rewrite memory allocation. - Rewrite initialisation and save/restore state handling. - Decouple the i810 support from i830 and later. - Remove various unnecessary hacks and workarounds. - Fix an 845G problem with the ring buffer not in pre-allocated memory. - Fix screen blanking. - Fix some HW cursor glitches, and turn HW cursor off at VT switch and exit. - Don't attempt to use the i830's function 1 entity. - Fix problems with option handling. (David Dawes). - Add mode VBE-aware mode handling functions to the vbe module (David Dawes). Modified files: xc/xc/config/cf/: host.def xfree86.cf xc/xc/lib/GL/mesa/src/drv/i810/: Imakefile xc/xc/lib/GL/mesa/src/drv/i830/: Imakefile Imakefile.inc i830_context.c i830_context.h i830_debug.c i830_debug.h i830_ioctl.c i830_ioctl.h i830_render.c i830_screen.c i830_span.c i830_span.h i830_state.c i830_tex.c i830_texmem.c i830_texstate.c i830_tris.c i830_vb.c xc/xc/programs/Xserver/hw/xfree86/drivers/i810/: Imakefile i810.h i810_accel.c i810_common.h i810_cursor.c i810_dga.c i810_dri.c i810_dri.h i810_driver.c i810_hwmc.c i810_io.c i810_memory.c i810_reg.h i810_video.c i810_wmark.c i830_common.h i830_dri.c i830_dri.h i830_driver.c xc/xc/programs/Xserver/hw/xfree86/int10/: helper_exec.c xc/xc/programs/Xserver/hw/xfree86/os-support/linux/: lnx_agp.c xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/: Makefile.linux drmP.h i830.h i830_dma.c i830_drv.c i830_drv.h xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/: Imakefile vbe.c vbe.h vbe_module.c Added files: xc/xc/programs/Xserver/hw/xfree86/drivers/i810/: common.h i830.h i830_accel.c i830_cursor.c i830_dga.c i830_memory.c i830_vbe.c i830_vbe.h xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/: vbeModes.c vbeModes.h Removed files: xc/xc/lib/GL/mesa/src/drv/i830/: i830_drv.h i830_vert_form_points.h i830_vert_form_tris.h Revision Changes Path 1.38 +2 -0 xc/xc/config/cf/host.def 1.40 +18 -1 xc/xc/config/cf/xfree86.cf 1.28 +10 -1 xc/xc/lib/GL/mesa/src/drv/i810/Imakefile 1.5 +13 -4 xc/xc/lib/GL/mesa/src/drv/i830/Imakefile 1.3 +3 -4 xc/xc/lib/GL/mesa/src/drv/i830/Imakefile.inc 1.3 +87 -11 xc/xc/lib/GL/mesa/src/drv/i830/i830_context.c 1.2 +38 -8 xc/xc/lib/GL/mesa/src/drv/i830/i830_context.h 1.2 +1 -1 xc/xc/lib/GL/mesa/src/drv/i830/i830_debug.c 1.2 +0 -6 xc/xc/lib/GL/mesa/src/drv/i830/i830_debug.h 1.3 +117 -83 xc/xc/lib/GL/mesa/src/drv/i830/i830_ioctl.c 1.3 +0 -2 xc/xc/lib/GL/mesa/src/drv/i830/i830_ioctl.h 1.5 +1 -0 xc/xc/lib/GL/mesa/src/drv/i830/i830_render.c 1.2 +10 -50 xc/xc/lib/GL/mesa/src/drv/i830/i830_screen.c 1.3 +25 -12 xc/xc/lib/GL/mesa/src/drv/i830/i830_span.c 1.2 +3 -0 xc/xc/lib/GL/mesa/src/drv/i830/i830_span.h 1.3 +541 -360 xc/xc/lib/GL/mesa/src/drv/i830/i830_state.c 1.3 +3 -3 xc/xc/lib/GL/mesa/src/drv/i830/i830_tex.c 1.2 +1 -1 xc/xc/lib/GL/mesa/src/drv/i830/i830_texmem.c 1.2 +8 -4 xc/xc/lib/GL/mesa/src/drv/i830/i830_texstate.c 1.4 +40 -19 xc/xc/lib/GL/mesa/src/drv/i830/i830_tris.c 1.5 +1 -6 xc/xc/lib/GL/mesa/src/drv/i830/i830_vb.c 1.18 +66 -14 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/Imakefile 1.23 +51 -553 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810.h 1.13 +253 -653 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_accel.c 1.3 +36 -36 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_common.h 1.8 +91 -161 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_cursor.c 1.4 +152 -160 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_dga.c 1.39 +431 -366 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_dri.c 1.13 +34 -21 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_dri.h 1.35 +743 -647 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c 1.2 +4 -4 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_hwmc.c 1.5 +60 -25 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_io.c 1.21 +267 -323 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_memory.c 1.8 +123 -47 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_reg.h 1.8 +6 -4 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_video.c 1.5 +192 -185 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_wmark.c 1.4 +29 -31 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_common.h 1.3 +617 -865 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_dri.c 1.3 +47 -43 xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_dri.h 1.4 +2071 -2032xc/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c 1.2 +198 -301 xc/xc/programs/Xserver/hw/xfree86/int10/helper_exec.c 1.5 +7 -0 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c 1.42 +22 -6 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/Makefile.linux 1.51 +4 -3 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/drmP.h 1.3 +6 -46 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i830.h 1.10 +137 -272 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i830_dma.c 1.4 +1 -0 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i830_drv.c 1.2 +12 -9 xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/i830_drv.h 1.5 +10 -3 xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/Imakefile 1.11 +71 -0 xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/vbe.c 1.5 +4 -1 xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/vbe.h 1.2 +1 -1 xc/xc/programs/Xserver/hw/xfree86/os-support/vbe/vbe_module.c |