> -----Original Message----- > From: Intel-gfx <intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Imre > Deak > Sent: Wednesday, October 9, 2024 4:32 PM > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx > Subject: [PATCH 2/2] drm/i915/dp_mst: Don't require DSC hblank quirk for a > non-DSC compatible mode > > If an MST branch device doesn't support DSC for a given mode, but the MST > link has enough BW for the mode, assume that the branch device does > support the mode using an uncompressed stream. > > Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> LGTM, Reviewed-by: Suraj Kandpal <suraj.kandpal@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c > b/drivers/gpu/drm/i915/display/intel_dp_mst.c > index 2822ae1160034..1a2ff3e1cb68f 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c > +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c > @@ -467,6 +467,9 @@ hblank_expansion_quirk_needs_dsc(const struct > intel_connector *connector, > if (mode_hblank_period_ns(adjusted_mode) > hblank_limit) > return false; > > + if (!intel_dp_mst_dsc_get_slice_count(connector, crtc_state)) > + return false; > + > return true; > } > > -- > 2.44.2