[Intel-gfx] [PATCH] drm/i915: Use PIPE_CONTROL for flushing on gen6+.

Jesse Barnes jbarnes at virtuousgeek.org
Mon Oct 3 22:00:16 CEST 2011


On Mon, 26 Sep 2011 11:59:23 -0700
Kenneth Graunke <kenneth at whitecape.org> wrote:

> +	/* Just flush everything for now */
> +	flags |= PIPE_CONTROL_WC_FLUSH;
> +	flags |= PIPE_CONTROL_IS_FLUSH;
> +	flags |= PIPE_CONTROL_TC_FLUSH;
> +	flags |= PIPE_CONTROL_DEPTH_FLUSH;
> +	flags |= PIPE_CONTROL_VFC;

This is the only bit I'd like to see changed.  While we still have the
domain tracking code we may as well try to honor it and limit our
flushing here like we do with MI_FLUSH.

Unless someone has a "remove all domain tracking" patch already posted
that is. :)

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list