i965: Rewrite the PIPE_CONTROL handling rules
This patch series tries to be a lot more defensive and correct in how we apply PIPE_CONTROL workarounds. A centralized function interprets what bits you request it, and adds and breaks down bits until your request is viable for the current hardware. We also use GENXML to cut out complexity that isn't required for the current platform.
I've been using this code in the Iris driver for a while, but wrote it for i965 first.