diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_perfcounter.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_perfcounter.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c index f5e479bc549..a0ddff6c4e3 100644 --- a/src/gallium/drivers/radeonsi/si_perfcounter.c +++ b/src/gallium/drivers/radeonsi/si_perfcounter.c @@ -677,14 +677,13 @@ void si_init_perfcounters(struct si_screen *screen) instances = 2; } - if (!r600_perfcounters_add_block(&screen->b, pc, - block->b->name, - block->b->flags, - block->b->num_counters, - block->selectors, - instances, - block)) - goto error; + r600_perfcounters_add_block(&screen->b, pc, + block->b->name, + block->b->flags, + block->b->num_counters, + block->selectors, + instances, + block); } screen->b.perfcounters = pc; |