intel/perf: also add the oa timestamp shift on MTL
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 90c86fe63e ("intel: add MTL performance metrics")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21378>
This commit is contained in:
committed by
Marge Bot
parent
6d73841d34
commit
14266d3c2d
@@ -717,7 +717,7 @@ oa_metrics_available(struct intel_perf_config *perf, int fd,
|
||||
perf->i915_perf_version = i915_perf_version(fd);
|
||||
|
||||
/* TODO: We should query this from i915 */
|
||||
if (intel_device_info_is_dg2(devinfo))
|
||||
if (devinfo->verx10 >= 125)
|
||||
perf->oa_timestamp_shift = 1;
|
||||
|
||||
perf->oa_timestamp_mask =
|
||||
|
||||
Reference in New Issue
Block a user