History log of /external/mesa3d/src/gallium/drivers/i915/i915_flush.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
877128505431adaf817dc8069172ebe4a1cdf5d8 17-Jan-2014 José Fonseca <jfonseca@vmware.com> s/Tungsten Graphics/VMware/

Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the
old copyright name is creating unnecessary confusion, hence this change.

This was the sed script I used:

$ cat tg2vmw.sed
# Run as:
#
# git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed
#

# Rename copyrights
s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g
/Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./
s/TUNGSTEN GRAPHICS/VMWARE/g

# Rename emails
s/alanh@tungstengraphics.com/alanh@vmware.com/
s/jens@tungstengraphics.com/jowen@vmware.com/g
s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/
s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g
s/keithw\?@tungstengraphics.com/keithw@vmware.com/g
s/michel@tungstengraphics.com/daenzer@vmware.com/g
s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/
s/zack@tungstengraphics.com/zackr@vmware.com/

# Remove dead links
s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g

# C string src/gallium/state_trackers/vega/api_misc.c
s/"Tungsten Graphics, Inc"/"VMware, Inc"/

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
519a2cf9507275d4a3e9926072b07a3f98f0095a 06-Sep-2013 Stéphane Marchesin <marcheu@chromium.org> i915g: Handle i915->batch == NULL correctly in flush

Fixes warning reported by Coverity.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
8c347d4e5762b41320a80acf474284b5c096fd0d 02-May-2013 Chia-I Wu <olvaffe@gmail.com> gallium: fix type of flags in pipe_context::flush()

It should be unsigned, not enum pipe_flush_flags.

Fixed a build error:

src/gallium/state_trackers/egl/android/native_android.cpp:426:29: error:
invalid conversion from 'int' to 'pipe_flush_flags' [-fpermissive]

v2: replace all occurrences of enum pipe_flush_flags by unsigned

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>

[olv: document the parameter now that the type is unsigned]
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
1662178863d7b715530274148aa57e6494f935a8 08-Mar-2013 Stéphane Marchesin <marcheu@chromium.org> i915g: Use PIPE_FLUSH_END_OF_FRAME to trigger throttling

This helps with jittering, instead of throttling at every command
buffer we only throttle once a frame.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
598cc1f74d7ae924e84dee801b456ab7b0b22f84 21-Dec-2012 Marek Olšák <maraeo@gmail.com> gallium: extend pipe_context::flush for it to accept an END_OF_FRAME flag

Usage with pipe_context:
pipe->flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME);

Usage with st_context_iface:
st->flush(st, ST_FLUSH_END_OF_FRAME, NULL);

The flag is only a hint for drivers. Radeon will use it for buffer eviction
heuristics in the kernel (e.g. for queries like how many frames have passed
since a buffer was used).

The flag is currently only generated by st/dri on SwapBuffers.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
a2caf952a150a8da395f4cf1fd30e8c867b0064e 10-Feb-2012 Stéphane Marchesin <marcheu@chromium.org> i915g: Remove useless draw calls.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
32b07bb1496f5772ca16e719bb87e1702ceff196 19-Jan-2012 Stéphane Marchesin <marcheu@chromium.org> i915g: Don't avoid flushing when we have a pending fence.

Otherwise the fence will never arrive.
Also check for a NULL i915->batch.

NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
b97889f543085f516fc1c821c621790399d57fa5 24-Aug-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Improve the flush heuristic by using the previous frame's number of vertices.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
e53b41f2632af26c79c4f7ed5b0fdb86a1feb602 06-Jul-2011 Stéphane Marchesin <marcheu@chromium.org> i915g: Improve flushing using heuristics.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
288504fac7b659da6bd45f22ccfb39d130250f9c 15-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: split up static state

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 <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
7735f8c6e525da0ea830f5a54a329abe2d6a1006 12-Mar-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: fix transfer coherency

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 <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
7e02303497237cde958c28608477d0c355a8038b 08-Mar-2011 Marek Olšák <maraeo@gmail.com> gallium: remove flags from the flush function

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.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
8f9e546fde27db75ea87bcf8ae333bc70616deb4 26-Feb-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: kill relocs accouting

No one ever cared. libdrm does dynamic resizing of its reloc-table,
anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
d42c9433b0a3d9b3a198261d8037ce0d4595452d 25-Feb-2011 Daniel Vetter <daniel.vetter@ffwll.ch> i915g: implement cache flushing

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 <daniel.vetter@ffwll.ch>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
8fb0ecd0cf4a4d672c0744abb4a9f030b3a17527 23-Feb-2011 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Lazy emit dynamic state
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
b9baad2aff6ddc5145d91cbfb81d083a21990a80 22-Feb-2011 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Lazy emit immediate state
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
4407e5078f6083e4e56ba5970d0fa10d504ed45b 22-Feb-2011 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Always set vbo to flush on flushes

Reported-by Chris Wilson <chris@chris-wilson.co.uk>
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
57fc2ad7a165bd969de5d1943e325db52f702eb8 03-Jul-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Make batchbuffer flush function not be inline
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
62bcf2e6ad7f74affa4e1240c2ea41339a4c95db 03-Jul-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Don't flush empty batchbuffers
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
abbb1bde06990cb15c82ebcdb9ac07b00cb0ab4f 12-Jun-2010 Jakob Bornecrantz <wallbraker@gmail.com> i915g: Rework debug print code
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c
f00da2a3ff59c1a7104ac25a1c6eba5a6050ad68 30-Sep-2009 Jakob Bornecrantz <jakob@vmware.com> i915g: Drop the simple sufix

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.
/external/mesa3d/src/gallium/drivers/i915/i915_flush.c