diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-10 09:26:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-15 12:43:12 +0000 |
commit | 219467ac8bfab98bca82108b22eae8af3fc0bf36 (patch) | |
tree | 6b19f0d26f9b7f62f482703d60081df8d1f2ef61 /src/intel_batchbuffer.h | |
parent | bd8fafe0c48df7f138459f590a0e9e8d0c3267b7 (diff) |
uxa: Simplify flush tracking
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_batchbuffer.h')
-rw-r--r-- | src/intel_batchbuffer.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/intel_batchbuffer.h b/src/intel_batchbuffer.h index f5f118ef..b2bb390c 100644 --- a/src/intel_batchbuffer.h +++ b/src/intel_batchbuffer.h @@ -36,7 +36,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. void intel_batch_init(ScrnInfoPtr scrn); void intel_batch_teardown(ScrnInfoPtr scrn); void intel_batch_emit_flush(ScrnInfoPtr scrn); -void intel_batch_do_flush(ScrnInfoPtr scrn); void intel_batch_submit(ScrnInfoPtr scrn); static inline int intel_batch_space(intel_screen_private *intel) @@ -132,10 +131,8 @@ intel_batch_mark_pixmap_domains(intel_screen_private *intel, if (list_is_empty(&priv->batch)) list_add(&priv->batch, &intel->batch_pixmaps); - if (write_domain && list_is_empty(&priv->flush)) - list_add(&priv->flush, &intel->flush_pixmaps); - priv->batch_write |= write_domain != 0; + priv->dirty |= write_domain != 0; priv->busy = 1; intel->needs_flush |= write_domain != 0; |