summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_perfcounter.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-01 17:52:55 -0400
committerMarek Olšák <[email protected]>2018-04-05 15:34:58 -0400
commit90d12f1d776f41ab3d72cea5b2bc39bf9ee28b25 (patch)
treee10d211b30f8eee24e807d092bdbb060dd8ccec2 /src/gallium/drivers/radeonsi/si_perfcounter.c
parent50c7aa67565fee2c103ed6229ac599e8d23839d8 (diff)
radeonsi: rename r600 -> si in some places
Acked-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_perfcounter.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_perfcounter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c
index 76160a08092..89a849c23b8 100644
--- a/src/gallium/drivers/radeonsi/si_perfcounter.c
+++ b/src/gallium/drivers/radeonsi/si_perfcounter.c
@@ -456,7 +456,7 @@ static void si_pc_emit_shaders(struct si_context *sctx,
}
static void si_pc_emit_select(struct si_context *sctx,
- struct r600_perfcounter_block *group,
+ struct si_perfcounter_block *group,
unsigned count, unsigned *selectors)
{
struct si_pc_block *sigroup = (struct si_pc_block *)group->data;
@@ -597,7 +597,7 @@ static void si_pc_emit_stop(struct si_context *sctx,
}
static void si_pc_emit_read(struct si_context *sctx,
- struct r600_perfcounter_block *group,
+ struct si_perfcounter_block *group,
unsigned count, unsigned *selectors,
struct r600_resource *buffer, uint64_t va)
{
@@ -650,7 +650,7 @@ static void si_pc_cleanup(struct si_screen *sscreen)
void si_init_perfcounters(struct si_screen *screen)
{
- struct r600_perfcounters *pc;
+ struct si_perfcounters *pc;
struct si_pc_block *blocks;
unsigned num_blocks;
unsigned i;
@@ -680,7 +680,7 @@ void si_init_perfcounters(struct si_screen *screen)
screen->info.max_sh_per_se);
}
- pc = CALLOC_STRUCT(r600_perfcounters);
+ pc = CALLOC_STRUCT(si_perfcounters);
if (!pc)
return;