diff options
author | Stephane Viau <sviau@codeaurora.org> | 2015-05-20 16:57:27 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-05-21 06:31:45 +0200 |
commit | 755c814a7d826257d5488cfaa801ec19377c472a (patch) | |
tree | d5e82c5158caef56f352bc6108d9eeb008d9acbf | |
parent | Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-755c814a7d826257d5488cfaa801ec19377c472a.tar.xz linux-755c814a7d826257d5488cfaa801ec19377c472a.zip |
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: Stephane Viau <sviau@codeaurora.org>
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c index 18a3d203b174..57b8f56ae9d0 100644 --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c @@ -273,7 +273,7 @@ static void set_scanout_locked(struct drm_plane *plane, mdp5_write(mdp5_kms, REG_MDP5_PIPE_SRC2_ADDR(pipe), msm_framebuffer_iova(fb, mdp5_kms->id, 2)); 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; } |