iris: add preemption support on gen9
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 11 Apr 2019 14:07:15 +0000 (10:07 -0400)
committerRafael Antognolli <rafael.antognolli@intel.com>
Wed, 24 Apr 2019 21:47:08 +0000 (14:47 -0700)
commit7315882023806e5326601bdbe21c7db5862a5d58
tree5bf32f59092941a5e8a02bbfa8f49d8ef5c89968
parent21688a306b299ae7214f4fb139a6813e0018c0a8
iris: add preemption support on gen9

this is basically just porting the following two commits to gallium:
d8b50e152a0d5df0971c05b8db132fa688794001
5c454661c66fa2624cf4bba1071175070724869a

resolves kwg/mesa#49

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_draw.c
src/gallium/drivers/iris/iris_state.c