]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dsi: Add support for DSC configuration
authorVinod Koul <vkoul@kernel.org>
Wed, 6 Apr 2022 09:40:31 +0000 (15:10 +0530)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 25 Apr 2022 21:56:22 +0000 (00:56 +0300)
commit7243ed97a341a5564995b617778e4dc8f462a8be
tree8d996fd4b84c06a41ab299f499da5481e970c9c5
parent5957346dea62fd16bb0ed2f97adeb0a69c55e04f
drm/msm/dsi: Add support for DSC configuration

When DSC is enabled, we need to configure DSI registers accordingly and
configure the respective stream compression registers.

Add support to calculate the register setting based on DSC params and
timing information and configure these registers.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Patchwork: https://patchwork.freedesktop.org/patch/480934/
Link: https://lore.kernel.org/r/20220406094031.1027376-15-vkoul@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/dsi/dsi_host.c