]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dpu: Fix for non-visible planes
authorRob Clark <robdclark@chromium.org>
Thu, 7 Jul 2022 21:20:00 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:28 +0000 (14:23 +0200)
commit883c03ffe5a982de95a86c47e337fac6530fe8bc
treece95d8d39459bab761ae84e92795ef944024647f
parentda22156008db79f505775558b611c6895d38db5e
drm/msm/dpu: Fix for non-visible planes

[ Upstream commit 754b467235c6d697c83f3347b2480bb7a95195d7 ]

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: 19c2c6078363 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c