@@ -1609,6 +1609,9 @@ static int dsc_compute_compressed_bpp(struct intel_dp *intel_dp,
for (compressed_bppx16 = dsc_max_bppx16;
compressed_bppx16 >= dsc_min_bppx16;
compressed_bppx16 -= bppx16_step) {
+ if (intel_dp->force_dsc_fractional_bpp_en &&
+ (compressed_bppx16 % 16 == 0))
+ continue;
ret = dsc_compute_link_config(intel_dp,
pipe_config,
limits,
@@ -1705,6 +1708,9 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
int forced_bpc = intel_dp->force_dsc_bpc;
int forced_bpp = forced_bpc * 3;
+ if (intel_dp->force_dsc_fractional_bpp_en)
+ drm_dbg_kms(&dev_priv->drm,
+ "Forcing DSC fractional bpp\n");
if (forced_bpc < 8 || /* Min Input BPC for ICL+ is 8 */
forced_bpc > conn_state->max_requested_bpc ||
forced_bpp < limits->min_bpp ||