aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2024-06-12 23:47:06 +0300
committerVille Syrjälä <[email protected]>2024-06-24 17:09:50 +0300
commit195b7a0d2ebe5672a58210992f3629d19d5a95ae (patch)
tree7918d3662ad607f29ecebd03fba9e322f5dd19fb /tools/perf/scripts/python/intel-pt-events.py
parent1c5f18d88eae348cf45f90aaee7b361f593b0701 (diff)
drm/i915: Introduce the plane->min_alignment() vfunc
Different hardware generations have different scanout alignment requirements. Introduce a new vfunc that will allow us to make that distinction without horrible if-ladders. For now we directly plug in the existing intel_surf_alignment() and intel_cursor_alignment() functions. For fbdev we (temporarily) introduce intel_fbdev_min_alignment() that simply queries the alignment from the primary plane of the first crtc. TODO: someone will need to fix xe's alignment handling Reviewed-by: Imre Deak <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Acked-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions