~thong-u/unoptimized/+git/libdrm:ati-4-0-1-branch

Last commit made on 2000-05-18
Get this branch:
git clone -b ati-4-0-1-branch https://git.launchpad.net/~thong-u/unoptimized/+git/libdrm

Branch merges

Branch information

Name:
ati-4-0-1-branch
Repository:
lp:~thong-u/unoptimized/+git/libdrm

Recent commits

963dfed... by Kevin E Martin <email address hidden>

- Fix merge problems
- Remove rcs keywords
- Fix lib/GL install problem
- Prepare for merge into trunk

3f84bbb... by Kevin E Martin <email address hidden>

- 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)

b093c88... by Kevin E Martin <email address hidden>

- 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

7807a92... by Kevin E Martin <email address hidden>

- 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

7e3ef8a... by Kevin E Martin <email address hidden>

- Fixed swap buffers throttling
- Removed old depth software fallback code
- Fixed glBindTexture crash
- Fixed kernel vertex buffer cleanup

782b476... by Kevin E Martin <email address hidden>

- 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)

49b16ee... by Kevin E Martin <email address hidden>

- 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)

e0ec09d... by Kevin E Martin <email address hidden>

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 <email address hidden>

baf435c... by Kevin E Martin <email address hidden>

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

5bd8014... by Jeff Hartmann <email address hidden>

Merge with 4.0