iris: Some tidying for preemption support
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 24 Apr 2019 23:43:36 +0000 (16:43 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Apr 2019 18:26:24 +0000 (11:26 -0700)
commitaa7306b4cfcae3898f5b8ff2ef3022a0e6329649
tree0d57fd420b622d1182f8d53963202c398a1eacb1
parent383f4065911314906fb23e639308e68a5e40524d
iris: Some tidying for preemption support

Just enable it during init_render_context on Gen10+, and move the
Gen9 state tracking into iris_genx_state so it only exists on Gen9.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/gallium/drivers/iris/iris_context.c
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_state.c