diff options
author | Boris Brezillon <[email protected]> | 2019-06-19 16:05:01 +0200 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-21 13:01:12 -0700 |
commit | e8257f3de8e4887aec0f85e0ae375f544c6671d6 (patch) | |
tree | 2bdaae48b99a797b7401027ce1634435be0e57df /src/gallium/drivers/panfrost/pan_screen.c | |
parent | 0bcbccf88712f455b61aaf39653582107c79e4a6 (diff) |
panfrost: Remove the perf counters interface
The DRM backend has a dummy implementation and the non-DRM backend is
gone, so let's remove this perf counter interface.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 5d3acc0a0dd..8d43e0d9f4c 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -66,8 +66,6 @@ int pan_debug = 0; struct panfrost_driver *panfrost_create_drm_driver(int fd); -const char *pan_counters_base = NULL; - static const char * panfrost_get_name(struct pipe_screen *screen) { @@ -585,14 +583,6 @@ panfrost_create_screen(int fd, struct renderonly *ro) screen->driver = panfrost_create_drm_driver(fd); - /* Dump performance counters iff asked for in the environment */ - pan_counters_base = getenv("PANCOUNTERS_BASE"); - - if (pan_counters_base) { - screen->driver->allocate_slab(screen, &screen->perf_counters, 64, true, 0, 0, 0); - screen->driver->enable_counters(screen); - } - if (pan_debug & PAN_DBG_TRACE) pandecode_initialize(); |