aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_batchbuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* [965] Convert the driver to dri_bufmgr interface and enable TTM.Eric Anholt2007-12-071-236/+1
| | | | | | | | | | | | | 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/+1
|
* [965] Replace various alignment code with a shared ALIGN() macro.Eric Anholt2007-10-041-2/+2
| | | | | | | | In the process, fix some alignment issues: - Scratch space allocation was aligned into units of 1KB, while the allocation wanted units of bytes, so we never allocated enough space for scratch. - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
* [965] Add batchbuffer dumping under INTEL_DEBUG=bat, like 915.Eric Anholt2007-09-271-0/+11
|
* Revert "WIP 965 conversion to dri_bufmgr."Eric Anholt2007-09-271-12/+1
| | | | | | | 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-1/+12
|
* [965] Remove AUB file support.Eric Anholt2007-09-271-19/+0
| | | | | 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.
* Emit cliprects in the userspace driver as required, rather thanKeith Whitwell2006-10-231-19/+1
| | | | | | | | passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state.
* Consistent return values from the bm* functions.Keith Whitwell2006-09-071-1/+1
| | | | Get aubfile generation working again.
* Cope with memory pool fragmentation by allowing a second attempt atKeith Whitwell2006-09-071-6/+17
| | | | | | | | 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/+250
This driver comes from Tungsten Graphics, with a few further modifications by Intel.