aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a5xx
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-11-19 11:43:40 -0800
committerRob Clark <[email protected]>2019-11-21 20:01:03 +0000
commite35c4e6ad2319222d92a62f481cd0b773818d1bf (patch)
tree4e9c4661f01f72f3e9e6f1e22b6993a092879233 /src/gallium/drivers/freedreno/a5xx
parentb21f03ae7eae95ff99b111ba5907f09bfcfebbc8 (diff)
freedreno/perfcntrs: add accessor to get per-gen tables
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a5xx')
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_screen.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_screen.c b/src/gallium/drivers/freedreno/a5xx/fd5_screen.c
index 0f84b208d69..b478be3aa66 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_screen.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_screen.c
@@ -121,9 +121,6 @@ fd5_screen_is_format_supported(struct pipe_screen *pscreen,
return retval == usage;
}
-extern const struct fd_perfcntr_group a5xx_perfcntr_groups[];
-extern const unsigned a5xx_num_perfcntr_groups;
-
void
fd5_screen_init(struct pipe_screen *pscreen)
{
@@ -137,10 +134,5 @@ fd5_screen_init(struct pipe_screen *pscreen)
if (fd_mesa_debug & FD_DBG_TTILE)
screen->tile_mode = fd5_tile_mode;
- if (fd_mesa_debug & FD_DBG_PERFC) {
- screen->perfcntr_groups = a5xx_perfcntr_groups;
- screen->num_perfcntr_groups = a5xx_num_perfcntr_groups;
- }
-
fd5_emit_init_screen(pscreen);
}