aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2024-02-03 00:43:37 +0200
committerVille Syrjälä <[email protected]>2024-02-07 02:01:43 +0200
commitf1ee98cff3d86271491b08315fcdfa4c3f097e1e (patch)
tree4abad075bebebccac4649c3930382151289ddcd5 /tools/perf/scripts/python/export-to-postgresql.py
parent30865e4abb799547299a9cf39c86fe943ee2913a (diff)
drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects
The "io" address of an object is its dma address minus the region.start. Subtract the latter to make smem_start correct. The current code happens to work for genuine LMEM objects as LMEM region.start==0, but for LMEMBAR stolen objects region.start!=0. TODO: perhaps just set smem_start=0 always as our .fb_mmap() implementation no longer depends on it? Need to double check it's not needed for anything else... Reviewed-by: Andrzej Hajda <[email protected]> Tested-by: Paz Zcharya <[email protected]> Signed-off-by: Ville Syrjälä <[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