Commit graph

11 commits

Author SHA1 Message Date
Kevin E Martin
b093c88f38 - Added unaccelerated CCE ddx driver support
- To enable, add `Option "UseCCEfor2D" "TRUE"' to "Device" section in
    XF86Config file
- This fixed missing primitives problem
- Added minimal PCI support (PIO only with no VBs)
- Autodetect PCI cards -- selets CCE PIO mode and disables VBs
- Kernel module will now build without AGP support (for PCI cards only)
- Added BuildXF86DRM to host.def file so that the kernel module is
    automatically built
- Fixed potential incorrectly fogged primitives by moving VB flush to
    before mode changes
- Fixed initialization of dirty and dirty_context flags
- Fixed clear incorrectly resetting dirty flags
- Fixed timeout with WaitForIdle by separating out EngineFlush call
- Fixed flashing textures problem
- Fixed multiple clients rendering with incorrect HW state
- Fixed VB flush lockup with multiple clients
- Fixed DRIScreenInit failure crash
- Fixed uninitialized palette after VT switch problem
- Fixed the texture corruption problem by initializing endianness in
    DP_DATATYPE reg
- Fixed cursor corruption and cursor flashing problems
- Removed "magic numbers" from kernel module
- Added wait_for_idle pixel cache flush in CCE ring buffer mode
- Cleaned up CCE ring buffer wrapping code
2000-04-23 05:32:19 +00:00
Kevin E Martin
782b476dd3 - Implemented vertex buffer management (kernel and 3d driver)
- Fixed locking problem with VB flushes
- Added fallback code for when VBs are disabled
- General kernel and 3d driver code cleanup
- Added swap buffer throttling to keep from getting too many frames ahead
- Fixed engine reset infinite loop in X server
- Added VB size parameter
- Added timeout parameter to allow the timeout to be tuned
- Fixed CCE timeout/lock ups in kernel driver
- Fixed ring reset in kernel driver
- Fixed read-only mmap problem (Rik Faith)
- Added support for multiple aux cliprects (Gareth Hughes)
- Added fog table, dither, color mask support (Gareth Hughes)
- Updated span/depth SW fallbacks (Gareth Hughes)
- Added HOSTDATA_BLT texture uploads (Gareth Hughes)
- Added support for other texture formats (Gareth Hughes)
2000-04-15 08:06:36 +00:00
Kevin E Martin
49b16eebb7 - Added kernel functions to initialize the driver, reset the drawing
engine, wait for CCE idle and submit a buffer of CCE packets
- Modified the CCE packet dispatch mechanism to use a single submission
    function that can send the packets to the CCE in either PIO mode or
    using the ring buffer
- Moved CCE packet dispatch to the kernel driver
- Simplified the CCE macros and made them work with the new CCE packet
    dispatch mechanism
- Added an option to only allow legal/secure CCE packets
- Merged the os-support dir from the trunk into the ATI branch
- Fixed some of the engine hangs by reseting the engine when switching to
    non-CCE mode (Gareth Hughes)
- Fixed a bug where I wasn't grabbing HW lock around calls to WaitForIdle
- Fixed vertex buffer bug where it would wrap around and start reusing
    buffers that had yet to be processed (this is a temporary fix until
    vertex buffer allocation can be added to kernel driver)
- Added HW accel lines and points
- Added configuration support for selecting CCE mode, CCE security, AGP
    mode, AGP size, ring buffer size, and vertex buffers size in the
    "Device" section of XF86Config file
- Changed to map each region of AGP space separately (for security)
- Changed MMIO region mapping to be read-only (in secure mode)
- Fixed problem where swap buffers could be called when no back buffer
    exists
- Fixed resetting of the ring buffer in the client, X server and kernel
    drivers (also now correctly reinitialize the ring buffer read/write
    indices)
2000-04-12 06:22:02 +00:00
Kevin E Martin
baf435c4af Updated r128 driver to XFree86 4.0 Included kernel code from mga branch
plus modifications for r128 Fixed compilation problem with DDC support
    and static X server
2000-03-21 03:15:04 +00:00
Jeff Hartmann
5bd8014f27 Merge with 4.0 2000-03-16 03:37:30 +00:00
Kevin E Martin
d9ff0e3884 3.9.18 merge 2000-02-22 22:10:28 +00:00
Rik Faith
d545384a2b Try a more complex (and more correct?) method for finding kernel inlcude
files
2000-01-17 10:27:29 +00:00
Daryll Strauss
fb0ace84a9 Remove -g from build Fix lost code from tdfx-1-1 merge in tdfx_priv.c Lower
the minimum required fifo size Fix the kernel tree detection in the
    Makefile
2000-01-15 18:25:07 +00:00
Rik Faith
9a838857e1 Add new code to do SMP/MODVERSIONS detection for more distributions 2000-01-13 15:03:41 +00:00
Rik Faith
1c33c69095 Import of XFree86 3.9.17 2000-01-06 12:55:00 +00:00
Daryll Strauss
b6a28bfe98 First DRI release of 3dfx driver. 1999-12-05 23:10:37 +00:00