Xe still don't have support for performance metrics.
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21773>
bool i915_perf_oa_available = false;
struct stat sb;
+ /* TODO: Xe still don't have support for performance metrics */
+ if (devinfo->kmd_type != INTEL_KMD_TYPE_I915)
+ return false;
+
perf->devinfo = *devinfo;
/* Consider an invalid as supported. */