iris: Some tidying for preemption support

Graphics / Mesa 3D Graphics Library / Mesa - Kenneth Graunke [whitecape.org] - 25 April 2019 18:26 EDT

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.

aa7306b4cfc iris: Some tidying for preemption support
src/gallium/drivers/iris/iris_context.c | 2 -
src/gallium/drivers/iris/iris_context.h | 7 +-
src/gallium/drivers/iris/iris_draw.c | 66 +----------------
src/gallium/drivers/iris/iris_state.c | 125 ++++++++++++++++++++++++--------
4 files changed, 102 insertions(+), 98 deletions(-)

Upstream: cgit.freedesktop.org


  • Share