summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/intel_batchbuffer.c
AgeCommit message (Collapse)Author
2007-09-20Uniquely validate the batchbuffer-referenced buffers.Eric Anholt
Otherwise, for multiple references by the batchbuffer, the kernel would see the buffer already on the unfenced list and wait for it to leave the list before continuing, leading to hanging and eventual -EBUSY.
2007-09-20Merge branch 'master' into i915-unificationEric Anholt
Conflicts: src/mesa/drivers/dri/common/dri_drmpool.c src/mesa/drivers/dri/i915tex/i915_vtbl.c src/mesa/drivers/dri/i915tex/intel_batchbuffer.c src/mesa/drivers/dri/i915tex/intel_context.c
2007-09-19Replace i915tex batchbuffer printout with a pretty-printed version.Eric Anholt
2007-08-16Move i915_disasm to later so we can use the hardware offset.Eric Anholt
2007-08-11Improve debugging further.Keith Whitwell
Pull apart some key packets into individual fields and print sanely.
2007-08-11Better debuggingKeith Whitwell
2007-06-15Replace intel_dump_batchbuffer with a more informational version.Eric Anholt
2007-05-24Replace the flags/hint arguments to bo_alloc{,_static} with a location mask.Eric Anholt
Now, allocations only take locations, rather than a variety of unused flags. The only interesting flag before was the no_move/no_evict pair for scanout and similar buffers, which the DRI drivers don't use. That will be readded when we get to using this code for display buffer allocation, by adding a pin/unpin call (dynamic pinning/unpinning may be useful for VT switching and root window resizing). This commit changes one instance of DRM_BO_FLAG_MEM_LOCAL with DRM_BO_FLAG_MEM_TT, which appeared to have been unintentional.
2007-05-21Don't read beyond the end of the buffer with INTEL_DEBUG=bat.Eric Anholt
2007-05-17Restore missing intel_batchbuffer_reset() which was needed.Eric Anholt
2007-05-17Convert i915tex to the new interface and make it compile.Eric Anholt
2007-01-23i915tex: Relocation fixes:Thomas Hellstrom
Increase the number of allowed relocations per batchbuffer. Fix an assert to avoid an array index overflow. (Reported by Steve Wilkins)
2006-12-14intel_batchbuffer_flush: Don't assert cliprects when lock is not held.Michel Dänzer
This is a legitimate situation when copying texture data between mipmap trees.
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell