summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-07-18 09:40:04 -0400
committerRob Clark <[email protected]>2018-07-18 10:19:03 -0400
commit33af91dc07efcc2ca52200570a297de33c18a5f7 (patch)
treeacd474092cb4b7e2f2f9945390502db42a38813d /src/gallium/drivers/freedreno/freedreno_screen.c
parent9e30e7490da0a89a1760fc23d150e21310066d0c (diff)
freedreno: batch query support (perfcounters)
Core infrastructure for performance counters, using gallium's batch query interface (to support AMD_performance_monitor). Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index be5b88b0dd6..531644c85e8 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -162,6 +162,7 @@ fd_screen_destroy(struct pipe_screen *pscreen)
ralloc_free(screen->compiler);
+ free(screen->perfcntr_queries);
free(screen);
}