drm/i915/dp: Don't use DP link min bpp for the FRL link bandwidth check
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Apr 2026 18:30:15 +0000 (21:30 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Apr 2026 00:24:21 +0000 (03:24 +0300)
commit332021557104ccf46d40ef7bae3f12a53f56edf3
tree6a0f18ffbd01d2f7b8c1212c4a20bf928e6210a5
parent1cd41aea795dc0553091a5ec43ae02a88caf24d7
drm/i915/dp: Don't use DP link min bpp for the FRL link bandwidth check

intel_dp_mode_min_link_bpp_x16() gives us the min bpp for the
DP link before the PCON, however intel_dp_mode_valid_downstream()
is trying to check for sufficient bandwidth on the HDMI FRL link
after the PCON. So the use of intel_dp_mode_min_link_bpp_x16() here
is incorrect.

Presumably even with FRL HDMI still can't go below 8bpc, so we should
just use that to give us the minimum required FRL bandwidth. And this
needs to account for the sink format (for 4:2:0 sub-sampling) since
that is what will be flowing over the HDMI link.

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260407183015.16256-1-ville.syrjala@linux.intel.com
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
drivers/gpu/drm/i915/display/intel_dp.c