summaryrefslogtreecommitdiff
path: root/src/i830_batchbuffer.h
AgeCommit message (Collapse)Author
2009-05-06intel_batch_start_atomic: fix size passed to intel_batch_require_space (*4)Keith Packard
intel_batch_start_atomic takes an argument in 32-bit units, and so it must multiply that by 4 before passing it to intel_batch_require_space, which takes an argument in bytes. We should figure out what units we want to use and use the same everywhere... Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 1142353b487c155a31011923fbd08ec67e60f505)
2009-01-16Re-emit i915 composite setup when the batchbuffer wraps.Eric Anholt
This also introduces tests to make sure that we asked for enough reserved space and that we don't allow wrapping at the wrong time. This fixes a hang during text rendering with DRI2 and a GL client running, but could potentially affect text rendering with GEM in general with an exceptional batchbuffer setup.
2008-10-19Reduce incidence of MI_FLUSH usage.Keith Packard
This tracks whether the last command in each batch is an MI_FLUSH command and avoids appending another MI_FLUSH in the non-GEM cases. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-09-09Track move of bufmgr functions to libdrm_intel.Eric Anholt
2008-08-13Make EXA & UXA share bo getting functionJesse Barnes
Needed for proper acceleration & batch buffer handling.
2008-08-05Use dri_bo for all object allocations, including pixmaps under uxaKeith Packard
2008-07-31Add OUT_RELOC macro and backing intel_batch_emit_reloc functionCarl Worth
2008-06-10Change most usage of pixmap offsets to using a reloc macro.Eric Anholt
This is based on airlied's RING->BATCH commit. The 965 code still needs to be fixed up for relocations.
2008-06-10Use batchbuffers instead of ring emits for general commands.Eric Anholt
The batchbuffers are managed using libdrm and bufmgr_fake, and dispatched from the ring from userland.