]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915: Start checking plane min size for the chroma plane
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Oct 2025 21:13:08 +0000 (00:13 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Oct 2025 21:01:18 +0000 (23:01 +0200)
commit057ec016636b2a76dc10dd7d3dd186ed6809ccdb
treee471dc078ba1eff75cc2e470b049ea99bb539e9d
parent299843cd7b907f55aa8c4f1affe7ec5cf53be691
drm/i915: Start checking plane min size for the chroma plane

Currently we check the plane min size only for the Y plane.
Extend the check to the CbCr plane as well.

This will also allow us to remove the planar format check from
icl_plane_min_width() since the +2 on the CbCr plane is equivalent
to +4 on the Y plane. I suspect this approach actually models the
hardware issue more accurately.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251009211313.30234-5-ville.syrjala@linux.intel.com
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
drivers/gpu/drm/i915/display/skl_universal_plane.c