aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_screen.h
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-01-11 10:22:04 +0100
committerEric Anholt <[email protected]>2018-03-05 15:54:04 -0800
commit9ea90ffb98fbb5eac4cec5660a1ca2253c3a3e25 (patch)
tree80cc4bd7fe6cece8bb1383c050b07c686133fb4b /src/gallium/drivers/vc4/vc4_screen.h
parent5924379a587aa654a0a8bfd68a815b5bc906c1e9 (diff)
broadcom/vc4: Add support for HW perfmon
The V3D engine provides several perf counters. Implement ->get_driver_query_[group_]info() so that these counters are exposed through the GL_AMD_performance_monitor extension. Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_screen.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_screen.h b/src/gallium/drivers/vc4/vc4_screen.h
index 09d1c342ed1..0b884423ba5 100644
--- a/src/gallium/drivers/vc4/vc4_screen.h
+++ b/src/gallium/drivers/vc4/vc4_screen.h
@@ -97,6 +97,7 @@ struct vc4_screen {
bool has_threaded_fs;
bool has_madvise;
bool has_tiling_ioctl;
+ bool has_perfmon_ioctl;
struct vc4_simulator_file *sim_file;
};