mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
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> (cherry picked from commit14266d3c2d)
This commit is contained in:
parent
f5a40f4d23
commit
af1ae57d15
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@
|
|||
"description": "intel/perf: also add the oa timestamp shift on MTL",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "90c86fe63e94df7719081f86ebee4851ab3fd341"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue