]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/msm/dpu: Wire up DSC mask for active CTL configuration
authorMarijn Suijten <marijn.suijten@somainline.org>
Wed, 21 Dec 2022 23:19:36 +0000 (00:19 +0100)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 12 Jan 2023 19:45:17 +0000 (21:45 +0200)
commitcda3774c242e156cdcc279bd36b404af89f744c6
tree0ce852595aa5e820c0b4bc7aa8cb5a266efa6560
parenta2f33995c19db64398ab6440e8c38fe9d4df6e3c
drm/msm/dpu: Wire up DSC mask for active CTL configuration

Active CTLs have to configure what DSC block(s) have to be enabled, and
what DSC block(s) have to be flushed; this value was initialized to zero
resulting in the necessary register writes to never happen (or would
write zero otherwise).  This seems to have gotten lost in the DSC v4->v5
series while refactoring how the combination with merge_3d was handled.

Fixes: 58dca9810749 ("drm/msm/disp/dpu1: Add support for DSC in encoder")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/515693/
Link: https://lore.kernel.org/r/20221221231943.1961117-2-marijn.suijten@somainline.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c