i965: Transplant PIPE_CONTROL routines to brw_pipe_control
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 30 Apr 2015 15:53:12 +0000 (16:53 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 24 Jun 2015 17:35:04 +0000 (10:35 -0700)
commit9d4b9f1e0c661e5ed8ce2e71c76ce8cc1adf90dd
treeff61570a0c304a4fbfe76b1e0f174b09883026e3
parent147cdb53ecd225ea21d8d552607d384217346ecb
i965: Transplant PIPE_CONTROL routines to brw_pipe_control

Start trimming the fat from intel_batchbuffer.c. First by moving the set
of routines for emitting PIPE_CONTROLS (along with the lore concerning
hardware workarounds) to a separate brw_pipe_control.c

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_pipe_control.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h