drm/msm/dpu: don't always program merge_3d block
authorJessica Zhang <quic_jesszhan@quicinc.com>
Thu, 10 Oct 2024 03:46:19 +0000 (20:46 -0700)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Tue, 15 Oct 2024 22:00:27 +0000 (15:00 -0700)
commitf87f3b80abaf7949e638dd17dfdc267066eb52d5
tree33aa3c586f53c1462c5d59056014ec00f0b34528
parent40dad89cb86ce824f2080441b2a6b7aedf695329
drm/msm/dpu: don't always program merge_3d block

Only program the merge_3d block for the video phys encoder when the 3d
blend mode is not NONE

Fixes: 3e79527a33a8 ("drm/msm/dpu: enable merge_3d support on sm8150/sm8250")
Suggested-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/619095/
Link: https://lore.kernel.org/r/20241009-merge3d-fix-v1-1-0d0b6f5c244e@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c