drm/msm/dpu: Fix for non-visible planes
authorRob Clark <robdclark@chromium.org>
Thu, 7 Jul 2022 21:20:00 +0000 (14:20 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 8 Jul 2022 15:10:58 +0000 (08:10 -0700)
commitcb77085b1f0a86ef9dfba86b5f3ed6c3340c2ea3
tree7f4b79155005a22804de59482bc6acba27905c0c
parent92ef86ab513593c6329d04146e61f9a670e72fc5
drm/msm/dpu: Fix for non-visible planes

Fixes `kms_cursor_crc --run-subtest cursor-offscreen`.. when the cursor
moves offscreen the plane becomes non-visible, so we need to skip over
it in crtc atomic test and mixer setup.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/492819/
Link: https://lore.kernel.org/r/20220707212003.1710163-1-robdclark@gmail.com
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c