summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_cursor.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-06-12 23:47:07 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-06-24 17:12:10 +0300
commitc7bfd98f00f954e40356cbd80db2dc1992230e94 (patch)
tree1027da6c4947ecaf3727fc36fa734d6dca6c8c5d /drivers/gpu/drm/i915/display/intel_cursor.c
parent195b7a0d2ebe5672a58210992f3629d19d5a95ae (diff)
downloadlinux-c7bfd98f00f954e40356cbd80db2dc1992230e94.tar.gz
linux-c7bfd98f00f954e40356cbd80db2dc1992230e94.tar.bz2
linux-c7bfd98f00f954e40356cbd80db2dc1992230e94.zip
drm/i915: Introduce fb->min_alignment
Different planes could have different alignment requirements even for the same format/modifier. Collect the alignment requirements across all planes capable of scanning out the fb such that the alignment is satisfactory to all those planes. So far this was sort of handled by making sure intel_surf_alignment() declares the superset of all planes' alignment requirements, but maintaining that manually is annoying. So we're going to move towards each plane declaring only its own requirements, and thus we need code to generate the superset. v2: Drop the borked per-plane vma optimization (Imre) Assert that the plane's declared alignment is POT (Imre) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240612204712.31404-5-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.c')
0 files changed, 0 insertions, 0 deletions