ilo: rework pipeline workarounds
authorChia-I Wu <olvaffe@gmail.com>
Mon, 22 Sep 2014 15:59:53 +0000 (23:59 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 23 Sep 2014 02:08:05 +0000 (10:08 +0800)
commit6c9d67118a21e3713e006da4a03a584fb8268d92
treeab8bd8e73672b02ae9e3f5d83b9c20eeba0a4076
parent34e807817fb06b800f588b7e966e579110afeb2d
ilo: rework pipeline workarounds

Add current_pipe_control_dw1 and deferred_pipe_control_dw1 to track what have
been done since lsat 3DPRIMITIVE and what need to be done before next
3DPRIMITIVE.  Based on them, we can emit WAs more smartly.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/ilo_3d_pipeline.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c