]> 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)
commitfc9ec5d47c511998f6e1d7b58cc39a7801c528a8
tree8d996fd4b84c06a41ab299f499da5481e970c9c5
parent127da7cd2e62b551a2665ca5c352b14186417189
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