]> www.infradead.org Git - nvme.git/commit
drm/i915: Update plane alignment requirements for TGL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Jun 2024 20:47:11 +0000 (23:47 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Jun 2024 14:12:55 +0000 (17:12 +0300)
commit7652126ce7070ddcd1b3f8791efcf7537a9ec01e
treede4c2e86eabe76056e42a62911732ebdb529f99c
parentee3c3e332d2f2c08a745a7652064dd05a9afeec5
drm/i915: Update plane alignment requirements for TGL+

Currently we still use the SKL+ PLANE_SURF alignment even
for TGL+ even though the hardware no longer needs it.
Introduce a separate tgl_plane_min_alignment() and update
it to more accurately reflect the hardware requirements.

v2: Don't screw up DPT+semiplanar 2MiB alignment

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-9-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/skl_universal_plane.c