diff options
author | 2024-06-12 23:47:06 +0300 | |
---|---|---|
committer | 2024-06-24 17:09:50 +0300 | |
commit | 195b7a0d2ebe5672a58210992f3629d19d5a95ae (patch) | |
tree | 7918d3662ad607f29ecebd03fba9e322f5dd19fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Export drm_plane_has_format() (diff) | |
download | wireguard-linux-195b7a0d2ebe5672a58210992f3629d19d5a95ae.tar.xz wireguard-linux-195b7a0d2ebe5672a58210992f3629d19d5a95ae.zip |
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 <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240612204712.31404-4-ville.syrjala@linux.intel.com
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions