aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <[email protected]>2024-05-23 21:22:39 +0200
committerMichal Wajdeczko <[email protected]>2024-05-24 10:08:41 +0200
commit9081f8ca2713356650c6db7e1e989ce7c68267dd (patch)
tree4795b65831ac1d5be60fdd61847f86bd60f9f9e1 /tools/perf/scripts/python/intel-pt-events.py
parentfcc6b719ae8576a00ddd3e261b18443594250189 (diff)
drm/xe/vf: Cache value of the GMDID register
Read and cache value of the GMDID register as part of the config query that VF driver is doing over MMIO. While the VF driver likely already obtained the value of the GMDID register once during the early driver probe, we couldn't cache it then as the GT structures were not ready yet. Cache it now, in case the driver needs it later when the GuC MMIO communication, required to query GMDID from GuC, could be no longer desired as it will be replaced by the CTB communication. While around, assert that we will query GMDID only when applicable. Signed-off-by: Michal Wajdeczko <[email protected]> Reviewed-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions