> -----Original Message----- > From: Nautiyal, Ankit K <[email protected]> > Sent: Thursday, October 17, 2024 1:54 PM > To: [email protected] > Cc: [email protected]; Kandpal, Suraj > <[email protected]> > Subject: [PATCH 05/10] drm/i915/dp: Add check for hdisplay divisible by slice > count > > As per Bspec:49259 while computing the dsc slice count, we need to ensure > that mode->hdisplay is divisible by the slice count. > This check is there for DSI, where we select slice_count from bios, but is > missing for DP. So a Fixes tag will be needed here if it was missed Regards, Suraj Kandpal > > Signed-off-by: Ankit Nautiyal <[email protected]> > --- > drivers/gpu/drm/i915/display/intel_dp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c > b/drivers/gpu/drm/i915/display/intel_dp.c > index 04d22f0c1524..6cfc7d1c96ea 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp.c > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > @@ -1031,6 +1031,9 @@ u8 intel_dp_dsc_get_slice_count(const struct > intel_connector *connector, > if (num_joined_pipes > 1 && valid_dsc_slicecount[i] < 2) > continue; > > + if (mode_hdisplay % test_slice_count) > + continue; > + > if (min_slice_count <= test_slice_count) > return test_slice_count; > } > -- > 2.45.2
- [PATCH 01/10] drm/i915/display: Prepare for dsc 3 stream sp... Ankit Nautiyal
- RE: [PATCH 01/10] drm/i915/display: Prepare for dsc 3 ... Kandpal, Suraj
- [PATCH 02/10] drm/i915/vdsc: Use VDSC0/VDSC1 for LEFT/RIGHT... Ankit Nautiyal
- RE: [PATCH 02/10] drm/i915/vdsc: Use VDSC0/VDSC1 for L... Kandpal, Suraj
- [PATCH 04/10] drm/i915/vdsc: Add support for read/write PPS... Ankit Nautiyal
- [PATCH 03/10] drm/i915/vdsc: Add register bits for VDSC2 en... Ankit Nautiyal
- RE: [PATCH 03/10] drm/i915/vdsc: Add register bits for... Kandpal, Suraj
- [PATCH 06/10] drm/i915/display: Add DSC pixel replication Ankit Nautiyal
- RE: [PATCH 06/10] drm/i915/display: Add DSC pixel repl... Kandpal, Suraj
- [PATCH 05/10] drm/i915/dp: Add check for hdisplay divisible... Ankit Nautiyal
- RE: [PATCH 05/10] drm/i915/dp: Add check for hdisplay ... Kandpal, Suraj
- [PATCH 08/10] drm/i915/display: Account for pixel replicati... Ankit Nautiyal
- [PATCH 07/10] drm/i915/dp: Compute pixel replication count ... Ankit Nautiyal
- RE: [PATCH 07/10] drm/i915/dp: Compute pixel replicati... Kandpal, Suraj
- [PATCH 09/10] drm/i915/dsc: Account for Odd pixel removal Ankit Nautiyal
- [PATCH 10/10] drm/i915/dp: Add support for 3 vdsc engines a... Ankit Nautiyal
- ✗ Fi.CI.SPARSE: warning for Add support for 3 VDSC engines ... Patchwork
- ✗ Fi.CI.BAT: failure for Add support for 3 VDSC engines 12 ... Patchwork
