Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 755c814a authored by Stephane Viau's avatar Stephane Viau Committed by Dave Airlie
Browse files

drm/msm/mdp5: fix incorrect parameter for msm_framebuffer_iova()



The index of ->planes[] array (3rd parameter) cannot be equal to MAX_PLANE.
This looks like a typo that is now fixed.

Signed-off-by: default avatarStephane Viau <sviau@codeaurora.org>
Acked-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f7c125a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -273,7 +273,7 @@ static void set_scanout_locked(struct drm_plane *plane,
	mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe),
	mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe),
			msm_framebuffer_iova(fb, mdp5_kms->id, 2));
			msm_framebuffer_iova(fb, mdp5_kms->id, 2));
	mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC3_ADDR(pipe),
	mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC3_ADDR(pipe),
			msm_framebuffer_iova(fb, mdp5_kms->id, 4));
			msm_framebuffer_iova(fb, mdp5_kms->id, 3));


	plane->fb = fb;
	plane->fb = fb;
}
}