]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/display/dsc: Add flatness and initial scale value calculations
authorJessica Zhang <quic_jesszhan@quicinc.com>
Wed, 24 May 2023 17:45:14 +0000 (10:45 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 15 Jun 2023 09:58:55 +0000 (12:58 +0300)
commit7df1ed6ddf3da52b020ef3c3f5597bc628c3e58e
tree9f736a696b3f8c9eff62b6f4064e0f6f803c07a2
parentc72375172194a371935c78b0edaae75cd0c408ea
drm/display/dsc: Add flatness and initial scale value calculations

Add helpers to calculate det_thresh_flatness and initial_scale_value as
these calculations are defined within the DSC spec.

Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/539282/
Link: https://lore.kernel.org/r/20230329-rfc-msm-dsc-helper-v14-1-bafc7be95691@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/display/drm_dsc_helper.c
include/drm/display/drm_dsc_helper.h