]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: fix/enable 6bpc dither with split-lm
authorRob Clark <robdclark@chromium.org>
Wed, 15 Jul 2020 22:19:51 +0000 (15:19 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 31 Jul 2020 13:46:15 +0000 (06:46 -0700)
commita04ca94a46572a9746bf93ed6ad1c029eb6d99b2
tree4c4f8aa73e840e018da2b6ab86a47ccd91e57d78
parentcb32f6a28e6ef86d0c5a322942e56dc8eff84054
drm/msm/dpu: fix/enable 6bpc dither with split-lm

If split-lm is used (for ex, on sdm845), we can have multiple ping-
pongs, but only a single phys encoder.  We need to configure dithering
on each of them.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Tested-by: Steev Klimaszewski <steev@kali.org>
Reviewed-by: Kalyan Thota <kalyan_t@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c