summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2026-09-08 17:50:55 +0100
committerMatthew Auld <matthew.auld@intel.com>2026-09-09 10:57:11 +0100
commit73ae70cf843f93904bb02f8f213b50acfbb84ce7 (patch)
tree788fedb6fc90d9fc0e6ad2cab27cf0e532077eb4 /tools/perf/scripts/python/stackcollapse.py
parent7cf85c190814c209cb182eaba39e184c1655faa9 (diff)
downloadlinux-73ae70cf843f93904bb02f8f213b50acfbb84ce7.tar.gz
linux-73ae70cf843f93904bb02f8f213b50acfbb84ce7.zip
drm/xe: convert PCI barrier mmap to use xe_mmio_gem
Convert the PCI barrier mmap over to use xe_mmio_gem, which is a good match for this functionality. This has the following advantages: 1. Removes a bunch of code. 2. Replaces the fragile hard coded fake offset design. 3. Adds the first user for xe_mmio_gem, which is preferred over nuking it. There are also potentially other upcoming usecases wanting this type of functionality, so having standard component to do this would be good. There shouldn't be any big functional change here. From userspace pov, they still query the fake offset like before, just that now it is no longer hard coded in the KMD. v2 (Thomas): - Prefer scoped_guard(). Also, just annotate ALL locations, even if not strictly needed. Reflect that in the kernel-doc. This will also shut up static analysis tools. Assisted-by: LLM Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Ilia Levi <ilia.levi@intel.com> Reviewed-by: Ilia Levi <ilia.levi@intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Link: https://patch.msgid.link/20260908165046.1393557-18-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions