Re: [PATCH v14 1/9] drm/display/dsc: Add flatness and initial scale value calculations

2023-05-25 Thread Marijn Suijten
On 2023-05-24 18:05:51, Jessica Zhang wrote: > >> +/** > >> + * drm_dsc_initial_scale_value() - Calculate the initial scale value for > >> the given DSC config > >> + * @dsc: Pointer to DRM DSC config struct > >> + * > >> + * Return: Calculated initial scale value > > > > Perhaps just drop Calcu

Re: [PATCH v14 1/9] drm/display/dsc: Add flatness and initial scale value calculations

2023-05-24 Thread Jessica Zhang
On 5/24/2023 12:05 PM, Marijn Suijten wrote: On 2023-05-24 10:45:14, Jessica Zhang wrote: Add helpers to calculate det_thresh_flatness and initial_scale_value as these calculations are defined within the DSC spec. Reviewed-by: Marijn Suijten Reviewed-by: Dmitry Baryshkov Signed-off-by: Jes

Re: [PATCH v14 1/9] drm/display/dsc: Add flatness and initial scale value calculations

2023-05-24 Thread Marijn Suijten
On 2023-05-24 10:45:14, Jessica Zhang wrote: > Add helpers to calculate det_thresh_flatness and initial_scale_value as > these calculations are defined within the DSC spec. > > Reviewed-by: Marijn Suijten > Reviewed-by: Dmitry Baryshkov > Signed-off-by: Jessica Zhang > --- > drivers/gpu/drm/di

[PATCH v14 1/9] drm/display/dsc: Add flatness and initial scale value calculations

2023-05-24 Thread Jessica Zhang
Add helpers to calculate det_thresh_flatness and initial_scale_value as these calculations are defined within the DSC spec. Reviewed-by: Marijn Suijten Reviewed-by: Dmitry Baryshkov Signed-off-by: Jessica Zhang --- drivers/gpu/drm/display/drm_dsc_helper.c | 24 include