diff options
author | Alex Deucher <[email protected]> | 2012-11-08 18:59:46 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2013-06-28 15:15:36 -0400 |
commit | deb23582436245dc7b2b3f67ab5d3f7c5bceb112 (patch) | |
tree | 0dbac3345c45ab29646204a67a7fdb4b9f4b3382 /src/gallium/drivers/radeonsi/radeonsi_pm4.c | |
parent | f29f206c93743d421c428383afaa2944f680d9c5 (diff) |
radeonsi: initial PM4 changes for CIK
note which packets are removed and add new ones.
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pm4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.c b/src/gallium/drivers/radeonsi/radeonsi_pm4.c index f70b9f8e761..daac5629790 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pm4.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pm4.c @@ -70,6 +70,10 @@ void si_pm4_set_reg(struct si_pm4_state *state, unsigned reg, uint32_t val) opcode = PKT3_SET_CONTEXT_REG; reg -= SI_CONTEXT_REG_OFFSET; + } else if (reg >= CIK_UCONFIG_REG_OFFSET && reg < CIK_UCONFIG_REG_END) { + opcode = PKT3_SET_UCONFIG_REG; + reg -= CIK_UCONFIG_REG_OFFSET; + } else { R600_ERR("Invalid register offset %08x!\n", reg); return; |