summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-23 21:22:39 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-05-24 10:08:41 +0200
commit9081f8ca2713356650c6db7e1e989ce7c68267dd (patch)
tree4795b65831ac1d5be60fdd61847f86bd60f9f9e1 /tools/perf/scripts/python/export-to-postgresql.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 <michal.wajdeczko@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240523192240.844-6-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions