summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_perfcounter.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-06 21:15:53 +0200
committerMarek Olšák <[email protected]>2017-05-06 21:17:52 +0200
commit314657dc11db651268ce5a0c9713337ddc68fe31 (patch)
tree8f0d578e485ca37628d3e4963eb46daa21e39442 /src/gallium/drivers/radeon/r600_perfcounter.c
parentb0d01bd303971931f038e95f73f4c610d1b79941 (diff)
Revert "radeonsi: constify a bunch of the perfcounter structs."
This reverts commit 7088b655e8828bb960f528dd33132de27c505b8f. It breaks performance counters. If you use them with this commit, they hang the machine hard. Sysrq and ssh don't work.
Diffstat (limited to 'src/gallium/drivers/radeon/r600_perfcounter.c')
-rw-r--r--src/gallium/drivers/radeon/r600_perfcounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_perfcounter.c b/src/gallium/drivers/radeon/r600_perfcounter.c
index d76aa7be277..48f609bcb41 100644
--- a/src/gallium/drivers/radeon/r600_perfcounter.c
+++ b/src/gallium/drivers/radeon/r600_perfcounter.c
@@ -603,7 +603,7 @@ void r600_perfcounters_add_block(struct r600_common_screen *rscreen,
struct r600_perfcounters *pc,
const char *name, unsigned flags,
unsigned counters, unsigned selectors,
- unsigned instances, const void *data)
+ unsigned instances, void *data)
{
struct r600_perfcounter_block *block = &pc->blocks[pc->num_blocks];