]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Correct max compressed bpp bounds by using link bpp
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 17 Jan 2025 05:07:13 +0000 (10:37 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Wed, 22 Jan 2025 07:35:46 +0000 (13:05 +0530)
commitc132ec36fc28d58ba7e28b0f66651a9310e0d61a
treed86622be59ce231f118347422748f36373aee305
parent6f71507415841d1a6d38118e5fa0eaf0caab9c17
drm/i915/dp: Correct max compressed bpp bounds by using link bpp

While setting the bounds for compressed bpp, we ensure that the
compressed bpp is less than the pipe bpp.

This causes an issue with the 420 output format, where the effective
link bpp (or output bpp) is half that of the pipe bpp. Therefore instead
of using pipe bpp, use the output bpp to set the bounds for the
compressed bpp.

v2: Use identifier output_bpp instead of link_bpp (Imre)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250117050713.152012-1-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c