intel/perf: report whether the platform supported
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:
@@ -662,6 +662,8 @@ load_oa_metrics(struct gen_perf_config *perf, int fd,
|
||||
}
|
||||
}
|
||||
|
||||
perf->platform_supported = oa_register != NULL;
|
||||
|
||||
if (!i915_perf_oa_available ||
|
||||
!oa_register ||
|
||||
!get_sysfs_dev_dir(perf, fd) ||
|
||||
|
Reference in New Issue
Block a user