i965/gen10+: Enable object level preemption.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 29 Oct 2018 17:19:53 +0000 (10:19 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 14 Dec 2018 17:40:27 +0000 (09:40 -0800)
commitd8b50e152a0d5df0971c05b8db132fa688794001
treead9278e95a8cec2f5c5ad5d590a15701b5c10f81
parent019a92ffa41bc0ffa729af8f7db4e7c0e27c26ca
i965/gen10+: Enable object level preemption.

Set bit when initializing context.

v3:
 - Always toggle preemption bool to false before enabling it for the
 first time, so the state gets emitted (Chris Wilson).
 - Emit end of pipe sync with PIPE_CONTROL_RENDER_TARGET_FLUSH (Ken)

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c