i965: Move pipecontrol workaround bo to brw_pipe_control
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 May 2015 10:25:20 +0000 (11:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Jul 2015 10:11:50 +0000 (11:11 +0100)
commitf1d08c4f75794add30d1714a4cd9ce2bf335148d
tree44a1c2df7f2ec19acbc74b9e765c19863393c9d8
parentf2413457937f8f4a92e11379569be69e508d7477
i965: Move pipecontrol workaround bo to brw_pipe_control

With the exception of gen8, the sole user of the workaround bo are for
emitting pipe controls. Move it out of the purview of the batchbuffer
and into the pipecontrol.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_pipe_control.c
src/mesa/drivers/dri/i965/gen8_depth_state.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_extensions.c