On Tue, Sep 30, 2025 at 09:24:46PM +0300, Imre Deak wrote: > Add helpers to query the DP DSC sink device's per-slice throughput as > well as a DSC branch device's overall throughput and line-width > capabilities. > > v2 (Ville): > - Rename pixel_clock to peak_pixel_rate, document what the value means > in case of MST tiled displays. > - Fix name of drm_dp_dsc_branch_max_slice_throughput() to > drm_dp_dsc_sink_max_slice_throughput(). > v3: > - Fix the DSC branch device minimum valid line width value from 2560 > to 5120 pixels. > - Fix drm_dp_dsc_sink_max_slice_throughput()'s pixel_clock parameter > name to peak_pixel_rate in header file. > - Add handling for throughput mode 0 granular delta, defined by DP > Standard v2.1a. > v4: > - Remove the default switch case in > drm_dp_dsc_sink_max_slice_throughput(), which is unreachable in the > current code. (Ville) > > Cc: [email protected] > Suggested-by: Ville Syrjälä <[email protected]> > Reported-and-tested-by: Swati Sharma <[email protected]> > Reviewed-by: Ville Syrjälä <[email protected]> > Signed-off-by: Imre Deak <[email protected]> > --- > drivers/gpu/drm/display/drm_dp_helper.c | 152 ++++++++++++++++++++++++ > include/drm/display/drm_dp.h | 3 + > include/drm/display/drm_dp_helper.h | 5 + > 3 files changed, 160 insertions(+) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
