summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_pm4.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-24 18:47:19 +0200
committerChristian König <[email protected]>2012-07-30 14:44:38 +0200
commitfe41287ffa8cb35421cadfb16d4cc27c5fcb8b76 (patch)
tree216c973432d57a84baaf285b50f84bf2364a06bf /src/gallium/drivers/radeonsi/radeonsi_pm4.h
parentdcf8754cce1af09547a5976a74ba807bc6f2657c (diff)
radeonsi: rename r600_resource to si_resource
Also split it into seperate header and add some helper functions. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pm4.h')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_pm4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pm4.h b/src/gallium/drivers/radeonsi/radeonsi_pm4.h
index e6148b4c20c..18e51831e8f 100644
--- a/src/gallium/drivers/radeonsi/radeonsi_pm4.h
+++ b/src/gallium/drivers/radeonsi/radeonsi_pm4.h
@@ -51,13 +51,13 @@ struct si_pm4_state
/* BO's referenced by this state */
unsigned nbo;
- struct r600_resource *bo[SI_PM4_MAX_BO];
+ struct si_resource *bo[SI_PM4_MAX_BO];
enum radeon_bo_usage bo_usage[SI_PM4_MAX_BO];
};
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 r600_resource *bo,
+ struct si_resource *bo,
enum radeon_bo_usage usage);
void si_pm4_inval_shader_cache(struct si_pm4_state *state);