diff mbox series

[3/4] drm/msm/dpu: call _dpu_crtc_blend_setup_pipe for r_pipe

Message ID 1678407380-20391-4-git-send-email-quic_abhinavk@quicinc.com (mailing list archive)
State New, archived
Headers show
Series drm/msm/dpu: wide planes fixes | expand

Commit Message

Abhinav Kumar March 10, 2023, 12:16 a.m. UTC
_dpu_crtc_blend_setup_mixer() should call _dpu_crtc_blend_setup_pipe()
to stage the rectangles of the sspp for both the left and right
halves.

However, it incorrectly invokes it only for the left half causing
basic wide planes to not work and only half the screen is shown
on the display.

This was validated using a 2560x1440 DP monitor on sc7280 as
the max_linewidth is 2400 on sc7280.

Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
index 03034ec8ed1b..b748c4f17c90 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
@@ -486,7 +486,7 @@  static void _dpu_crtc_blend_setup_mixer(struct drm_crtc *crtc,
 						   mixer, cstate->num_mixers,
 						   pstate->stage,
 						   format, fb ? fb->modifier : 0,
-						   &pstate->pipe, 1, stage_cfg);
+						   &pstate->r_pipe, 1, stage_cfg);
 		}
 
 		/* blend config update */