aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_flush.c
Commit message (Collapse)AuthorAgeFilesLines
* i915g: split up static stateDaniel Vetter2011-03-151-0/+1
| | | | | | | | Early Z support is set in the DST_VARS command. Hence split up static state emission to avoid reissuing to much on fragment shader changes, especially the costly dst buffer relocations. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: fix transfer coherencyDaniel Vetter2011-03-121-22/+0
| | | | | | | | | | | | The kernel drm takes care of all coherency as long as we don't forget to submit all outstanding commands in the batchbuffer ... Also move batchbuffer initialization up because otherwise transfers for some helper textures fail with a segmentation fault. And kill the dead code, flushes should now be correct everywhere. Signed-off-by: Daniel Vetter <[email protected]>
* gallium: remove flags from the flush functionMarek Olšák2011-03-111-1/+1
| | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
* i915g: kill relocs accoutingDaniel Vetter2011-03-011-2/+2
| | | | | | | No one ever cared. libdrm does dynamic resizing of its reloc-table, anyway. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: implement cache flushingDaniel Vetter2011-02-271-0/+2
| | | | | | | | | | | With an extremely dumb strategy. But it's the same i915c employs. Also improve the hw_atom code slightly by statically specifying the required batch space. For extremely variably stuff (shaders, constants) it would probably be better to add a new parameter to the hw_atom->validate function. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: Lazy emit dynamic stateJakob Bornecrantz2011-02-241-0/+1
|
* i915g: Lazy emit immediate stateJakob Bornecrantz2011-02-241-0/+1
|
* i915g: Always set vbo to flush on flushesJakob Bornecrantz2011-02-241-1/+1
| | | | Reported-by Chris Wilson <[email protected]>
* i915g: Make batchbuffer flush function not be inlineJakob Bornecrantz2010-07-041-4/+16
|
* i915g: Don't flush empty batchbuffersJakob Bornecrantz2010-07-041-2/+0
|
* i915g: Rework debug print codeJakob Bornecrantz2010-06-221-2/+3
|
* i915g: Drop the simple sufixJakob Bornecrantz2009-10-051-0/+86
None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.