Re: [PATCH RFC v2 1/6] drm/display/dsc: Add flatness and initial scale value calculations

2023-04-01 Thread Dmitry Baryshkov
On 31/03/2023 21:49, Jessica Zhang wrote: Add helpers to calculate det_thresh_flatness and initial_scale_value as these calculations are defined within the DSC spec. Changes in v2: - Renamed det_thresh_flatness to flatness_det_thresh - Set initial_scale_value directly in helper Signed-off-by: J

[PATCH RFC v2 1/6] drm/display/dsc: Add flatness and initial scale value calculations

2023-03-31 Thread Jessica Zhang
Add helpers to calculate det_thresh_flatness and initial_scale_value as these calculations are defined within the DSC spec. Changes in v2: - Renamed det_thresh_flatness to flatness_det_thresh - Set initial_scale_value directly in helper Signed-off-by: Jessica Zhang --- include/drm/display/drm_d