]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb8afe9f87c7b98cae8ee87786080026b61c64e60
tree4c4f8aa73e840e018da2b6ab86a47ccd91e57d78
parent57c0bd517c06b088106b0236ed604056c8e06da5
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