intel/perf: Enable perf on Xe KMD
Support was added in the previous patches, so this check can now be removed. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312>
This commit is contained in:

committed by
Marge Bot

parent
936e87a7f9
commit
3b6e2475e4
@@ -667,10 +667,6 @@ oa_metrics_available(struct intel_perf_config *perf, int fd,
|
||||
perf_register_oa_queries_t oa_register = get_register_queries_function(devinfo);
|
||||
bool oa_metrics_available = false;
|
||||
|
||||
/* 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. */
|
||||
|
Reference in New Issue
Block a user