[Mesa-dev] [PATCH 03/10] i965: Create a helper function for emitting PIPE_CONTROL flushes.

Chris Forbes chrisf at ijw.co.nz
Wed Jan 8 16:27:05 PST 2014


> +      OUT_BATCH(0);
> +      ADVANCE_BATCH();
> +   } else {
> +      BEGIN_BATCH(4);
> +      OUT_BATCH(_3DSTATE_PIPE_CONTROL | flags | (4 - 2));

If the PRM is to believed, then ILK has two of its flag bits in dw1
[Stall at scoreboard, and the nonfunctional depth cache flush
inhibit]; it looks as if we never try to actually use stall at
scoreboard pre-Gen6 though, so this works.


Patches 1-3 are

Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>


More information about the mesa-dev mailing list