diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-07-17 20:13:50 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-07-19 20:55:25 +0300 |
| commit | c6ab589feebf81e11b784fe1b4e81208019e72c7 (patch) | |
| tree | 74a88839f882ecc3cfe0fa6e5c652f2d307c0ce1 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 44ebdab4b6d878c435da7385b38d2329f8a411d3 (diff) | |
drm/i915: Use i915_vma_offset() in intel_dpt_offset()
Replace the open coded vma mm node stuff in intel_dpt_offset()
with i915_vma_offset(). This will also include the VT-d guard
in the result. Granted that should always be 0 for DPT, but
it seems prudent to include that in our DPT vma offset check
anyway.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250717171353.23090-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
