Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754900AbbETPaH (ORCPT ); Wed, 20 May 2015 11:30:07 -0400 Received: from mail-yh0-f46.google.com ([209.85.213.46]:33062 "EHLO mail-yh0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909AbbETP3l (ORCPT ); Wed, 20 May 2015 11:29:41 -0400 MIME-Version: 1.0 In-Reply-To: <1432133847-348-1-git-send-email-sviau@codeaurora.org> References: <1432133847-348-1-git-send-email-sviau@codeaurora.org> Date: Wed, 20 May 2015 11:29:40 -0400 Message-ID: Subject: Re: [PATCH] drm/msm/mdp5: fix incorrect parameter for msm_framebuffer_iova() From: Rob Clark To: Stephane Viau , Dave Airlie Cc: "dri-devel@lists.freedesktop.org" , linux-arm-msm , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1649 Lines: 42 On Wed, May 20, 2015 at 10:57 AM, Stephane Viau wrote: > 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 Acked-by: Rob Clark Dave, since it looks like you've merged my earlier fixes pull but haven't sent to linus yet, do you mind applying this one directly on msm-fixes? BR, -R > --- > drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c > index 18a3d20..57b8f56 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; > } > -- > Qualcomm Innovation Center, Inc. > > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/