diff options
author | Christian König <[email protected]> | 2012-08-02 14:30:06 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2012-08-11 09:58:25 +0200 |
commit | 862df0885aa04ef68319382fc2df27a7b68fc0dd (patch) | |
tree | 7223ca89732e134ebacd82279dc96eecb92e4cb9 /src/gallium/drivers/radeonsi/radeonsi_pm4.h | |
parent | ce40e4726cf30196b87df387255c64ddc2a97638 (diff) |
radeonsi: add support for PKT3 cmds to new state handling
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pm4.h | 4 |
1 files changed, 4 insertions, 0 deletions
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, |