Commit graph

51 commits

Author SHA1 Message Date
Kevin E Martin
3f84bbb3c1 - Merge trunk into ati branch
- Fix texture allocation to use both AGP and local textures (still need to
    fix LRU algorithm to choose from both local and AGP heaps for texture
    swapping)
2000-05-11 15:08:46 +00:00
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
7807a9237d - Merged the trunk into the ati-4-0-1-branch
- Changed kernel and driver code to better handle CCE timeouts
- Fixed static 3D driver build problem
- Fixed very large packets bug in drmR128SubmitPackets
- Fixed static server drm build problem
- Fixed ring buffer wrapping problem
- Fixed drmR128GetVertexBuffers timeout
2000-04-19 04:29:20 +00:00
Kevin E Martin
7e3ef8a5e2 - Fixed swap buffers throttling
- Removed old depth software fallback code
- Fixed glBindTexture crash
- Fixed kernel vertex buffer cleanup
2000-04-16 03:19:13 +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
e0ec09d908 Enable DD_TRI_OFFSET and DD_TRI_LIGHT_TWOSIDE support Points/lines are not
yet supported, so use software rendering for them Enable
    front/back/depth buffer initialization in r128 ddx driver Applied patch
    for AGP from Rik Faith <faith@precisioninsight.com>
2000-03-21 16:53: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
Jeff Hartmann
adc03d3661 Import of XFree86 4.0 2000-03-15 21:40:23 +00:00
Kevin E Martin
d9ff0e3884 3.9.18 merge 2000-02-22 22:10:28 +00:00
Kevin E Martin
7a9b291ab5 Import of XFree86 3.9.18 2000-02-22 15:43:59 +00:00
Keith Whitwell
9a1197da5c file i810_clear.c was initially added on branch mga-0-0-1-branch. 2000-02-13 01:29:40 +00:00
Keith Whitwell
37fa5fd54a file i810_dma.h was initially added on branch mga-0-0-1-branch. 2000-02-13 01:29:40 +00:00
Jeff Hartmann
c6e856749b file Makefile.linuxpoll was initially added on branch mga-0-0-1-branch. 2000-02-12 21:48:57 +00:00
Jeff Hartmann
baacc589f1 file mga_dmapoll.c was initially added on branch mga-0-0-1-branch. 2000-02-12 21:48:57 +00:00
Jeff Hartmann
5a3acfc628 file i810_drm_public.h was initially added on branch mga-0-0-1-branch. 2000-02-12 02:08:58 +00:00
Keith Whitwell
9fc0e46b67 file mga_state.h was initially added on branch mga-0-0-1-branch. 2000-02-06 18:50:35 +00:00
Keith Whitwell
d222453c4a file mga_dma.h was initially added on branch mga-0-0-1-branch. 2000-02-04 07:32:24 +00:00
Keith Whitwell
a0ae168002 file mga_clear.c was initially added on branch mga-0-0-1-branch. 2000-02-04 07:32:24 +00:00
Jeff Hartmann
9fcbf05c44 Fixed freelist_put bug 2000-01-28 02:11:01 +00:00
Jeff Hartmann
84ad2d4aae file mga_state.c was initially added on branch mga-0-0-1-branch. 2000-01-27 23:48:40 +00:00
Jeff Hartmann
d93a3667b2 file mga_drm_public.h was initially added on branch mga-0-0-1-branch. 2000-01-27 23:48:40 +00:00
Jeff Hartmann
0d9121a5ec file mgareg_flags.h was initially added on branch mga-0-0-1-branch. 2000-01-19 13:05:51 +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
Daryll Strauss
aa724a52b9 Add a drm_poll function to the tdfx driver. This fixes the problem with
3.9.17 where the server hangs when the mouse is first moved.
2000-01-12 21:47:44 +00:00
Jeff Hartmann
e83ae7576b file i810_dma.c was initially added on branch mga-0-0-1-branch. 2000-01-08 00:17:21 +00:00
Jeff Hartmann
ca64f467f2 file i810_drv.h was initially added on branch mga-0-0-1-branch. 2000-01-08 00:17:21 +00:00
Jeff Hartmann
19f6b7f5ff file i810_drv.c was initially added on branch mga-0-0-1-branch. 2000-01-08 00:17:21 +00:00
Jeff Hartmann
c3622292ef file i810_bufs.c was initially added on branch mga-0-0-1-branch. 2000-01-08 00:17:21 +00:00
Jeff Hartmann
138484c670 file i810_context.c was initially added on branch mga-0-0-1-branch. 2000-01-08 00:17:21 +00:00
Rik Faith
9243a76e03 Merge between X_3_9_16 and X_3_9_17 Compiles but may not run. 2000-01-07 06:54:54 +00:00
Jeff Hartmann
bf0e55959f file mga_bufs.c was initially added on branch mga-0-0-1-branch. 2000-01-06 23:44:30 +00:00
Jeff Hartmann
cbb5afb338 file mga_context.c was initially added on branch mga-0-0-1-branch. 2000-01-06 23:44:30 +00:00
Jeff Hartmann
19da57df10 file ctxbitmap.c was initially added on branch mga-0-0-1-branch. 2000-01-06 23:44:30 +00:00
Rik Faith
1c33c69095 Import of XFree86 3.9.17 2000-01-06 12:55:00 +00:00
Daryll Strauss
0371c290a1 Rename the device to be /dev/dri instead of /dev/dri to avoid a conflict.
Rename proc entry from /proc/graphics to /proc/dri to be consistent.
1999-12-18 18:34:59 +00:00
Rik Faith
46e1467a83 file agpsupport.c was initially added on branch ati-4-0-0-branch. 1999-12-17 17:17:53 +00:00
Rik Faith
87fd9a07fc file r128_drv.c was initially added on branch ati-4-0-0-branch. 1999-12-17 17:15:18 +00:00
Rik Faith
bf24c3d881 file r128_context.c was initially added on branch ati-4-0-0-branch. 1999-12-17 17:15:18 +00:00
Rik Faith
1606f5b249 file r128_drv.h was initially added on branch ati-4-0-0-branch. 1999-12-17 17:15:18 +00:00
Jeff Hartmann
32338d3ebb file mga_drv.c was initially added on branch mga-0-0-1-branch. 1999-12-15 06:49:15 +00:00
Jeff Hartmann
8de9114ea6 file mga_dma.c was initially added on branch mga-0-0-1-branch. 1999-12-15 06:49:15 +00:00
Jeff Hartmann
1c6999d90c file mga_drv.h was initially added on branch mga-0-0-1-branch. 1999-12-15 06:49:15 +00:00
Rik Faith
b03b238dfc Sync with Linux 2.3.30 1999-12-08 19:20:20 +00:00
Daryll Strauss
e1dba5c3a7 Move Mesa to xc/extras Update to the latest Mesa 3.2 code Fix the Q3Demo
bugs (white railgun and texture mapping) Simplify driver texture
    mapping routines Fix device driver for 2.3 kernels Improve performance
1999-12-07 03:37:16 +00:00
Daryll Strauss
b6a28bfe98 First DRI release of 3dfx driver. 1999-12-05 23:10:37 +00:00
Daryll Strauss
a8ab34ed47 Import XFree 3.9.16 1999-12-05 01:19:48 +00:00