From 862df0885aa04ef68319382fc2df27a7b68fc0dd Mon Sep 17 00:00:00 2001 From: Christian König Date: Thu, 2 Aug 2012 14:30:06 +0200 Subject: radeonsi: add support for PKT3 cmds to new state handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pm4.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.h') diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.h b/src/gallium/drivers/radeonsi/radeonsi_pm4.h index 18e51831e8f..bbddfd01a2d 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pm4.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pm4.h @@ -55,6 +55,10 @@ struct si_pm4_state enum radeon_bo_usage bo_usage[SI_PM4_MAX_BO]; }; +void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode); +void si_pm4_cmd_add(struct si_pm4_state *state, uint32_t dw); +void si_pm4_cmd_end(struct si_pm4_state *state, bool predicate); + void si_pm4_set_reg(struct si_pm4_state *state, unsigned reg, uint32_t val); void si_pm4_add_bo(struct si_pm4_state *state, struct si_resource *bo, -- cgit v1.2.3