]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/disp/dpu1: Add support for DSC in encoder
authorVinod Koul <vkoul@kernel.org>
Wed, 6 Apr 2022 09:40:24 +0000 (15:10 +0530)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 25 Apr 2022 21:56:22 +0000 (00:56 +0300)
commit58dca9810749480737869d02bef4704756372194
tree13c3c2328e725832c99425d4369881db563341eb
parent77f6da90487c6f670fa082a295bc9fe110ed9e86
drm/msm/disp/dpu1: Add support for DSC in encoder

We need to configure the encoder for DSC configuration and calculate DSC
parameters for the given timing so this patch adds that support by
adding dpu_encoder_prep_dsc() which is invoked when DSC is enabled.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Patchwork: https://patchwork.freedesktop.org/patch/480920/
Link: https://lore.kernel.org/r/20220406094031.1027376-8-vkoul@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h