aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_regions.c
Commit message (Collapse)AuthorAgeFilesLines
* [965] Use shared intel_regions.c.Eric Anholt2007-12-151-305/+1
| | | | | This adds (so far) unused PBO functions, and holding the lock while writing to regions (which may be shared static screen regions).
* [intel] Move bufmgr back to context instead of screen, fixing glthreads.Eric Anholt2007-12-121-74/+77
| | | | | | | | Putting the bufmgr in the screen is not thread-safe since the emit_reloc changes. It also led to a significant performance hit from pthread usage for the attempted thread-safety (up to 12% of a cpu spent on refcounting protection in single-threaded 965). The motivation had been to allow multi-context bufmgr sharing in classic mode, but it wasn't worth the cost.
* [965] Convert the driver to dri_bufmgr interface and enable TTM.Eric Anholt2007-12-071-67/+72
| | | | | | | | | | | | | This is currently believed to work but be a significant performance loss. Performance recovery should be soon to follow. The dri_bo_fake_disable_backing_store() call was added to allow backing store disable like bufmgr_fake.c did, which is a significant performance win (though it's missing the no-fence-subdata part). This commit is a squash merge of the 965-ttm branch, which had some history I wanted to avoid pulling due to noisiness and brokenness at many points for git-bisecting.
* [965] Convert DBG macro to use FILE_DEBUG_FLAG like i915.Eric Anholt2007-11-191-0/+2
|
* Revert "WIP 965 conversion to dri_bufmgr."Eric Anholt2007-09-271-6/+6
| | | | | | | This reverts commit b2f1aa2389473ed09170713301b042661d70a48e. Somehow I ended up with my branch's save-this-while-I-work-on-master commit actually on master.
* WIP 965 conversion to dri_bufmgr.Eric Anholt2007-09-271-6/+6
|
* [965] Remove AUB file support.Eric Anholt2007-09-271-5/+5
| | | | | This code existed to dump logs of hardware access to be replayed in simulation. Since we have real hardware now, it's not really needed.
* Bug #9604: Fix a static buffer allocation failure.Eric Anholt2007-01-261-1/+1
| | | | | | | | The pool that the static buffer got allocated from was sized by pitch * height, but the buffer generated from it had its size aligned to a tile boundary, so allocation failed if pitch * height wasn't aligned. However, the 2d driver ensures that the size ends at a tile boundary, so just pass the 2d driver's buffer size rather than calculating it.
* Gary Wong's patches for CopyPixels Logiop (enable) and BlendKeith Whitwell2006-11-211-1/+2
| | | | | | (disallow). Slightly cleaned to disallow on all blend states for code consiseness and turn a table lookup into a function to match other code in the driver.
* Cope with memory pool fragmentation by allowing a second attempt atKeith Whitwell2006-09-071-29/+34
| | | | | | | | rendering operations to take place after evicting all resident buffers. Cope better with memory allocation failures throughout the driver and improve tracking of failures.
* Use lower alignments where possible. Also pad out allocated blocks toKeith Whitwell2006-09-071-1/+1
| | | | a multiple of alignment to avoid accumulating unusable free blocks.
* Add Intel i965G/Q DRI driver.Eric Anholt2006-08-091-0/+289
This driver comes from Tungsten Graphics, with a few further modifications by Intel.