intel/perf: make pipeline statistic query loading optional
On Vulkan most of those are already covered by standard queries so add the ability to skip them. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
This commit is contained in:
@@ -35,7 +35,7 @@ anv_get_perf(const struct gen_device_info *devinfo, int fd)
|
||||
{
|
||||
struct gen_perf_config *perf = gen_perf_new(NULL);
|
||||
|
||||
gen_perf_init_metrics(perf, devinfo, fd);
|
||||
gen_perf_init_metrics(perf, devinfo, fd, false /* pipeline statistics */);
|
||||
|
||||
/* We need DRM_I915_PERF_PROP_HOLD_PREEMPTION support, only available in
|
||||
* perf revision 2.
|
||||
|
Reference in New Issue
Block a user