aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <[email protected]>2024-04-23 20:04:33 +0200
committerMichal Wajdeczko <[email protected]>2024-04-24 15:10:40 +0200
commit1cb4db30cf685709584743d8bf8a0db2eac620c9 (patch)
treee77c3b5eedebb474c7dae60545fde5d21ab2e778 /tools/perf/scripts/python/export-to-postgresql.py
parent8f21f82d8b7652e11e6800612e34547bffdc7fd2 (diff)
drm/xe: Add helper to calculate adjusted register offset
Our MMIO accessing functions automatically adjust addresses for the media registers based on mmio.adj_limit and mmio.adj_offset logic. Move it to the separate helper to avoid code duplication and to allow using it by the upcoming changes to PF driver code. Signed-off-by: Michal Wajdeczko <[email protected]> Cc: Piotr Piórkowski <[email protected]> Reviewed-by: Piotr Piórkowski <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions