From patchwork Fri May 25 15:50:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10427845 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 27CD5602D6 for ; Fri, 25 May 2018 15:52:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A77629755 for ; Fri, 25 May 2018 15:52:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E7A629758; Fri, 25 May 2018 15:52:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C1C029755 for ; Fri, 25 May 2018 15:52:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966962AbeEYPvt (ORCPT ); Fri, 25 May 2018 11:51:49 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:59035 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966527AbeEYPvr (ORCPT ); Fri, 25 May 2018 11:51:47 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MZDyO-1fcp0q3XG0-00L0jq; Fri, 25 May 2018 17:51:41 +0200 From: Arnd Bergmann To: Laurent Pinchart , David Airlie Cc: Arnd Bergmann , Kieran Bingham , Mauro Carvalho Chehab , Liviu Dudau , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] drm/rcar-du: fix merge conflict for state->alpha Date: Fri, 25 May 2018 17:50:11 +0200 Message-Id: <20180525155030.3667352-4-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180525155030.3667352-1-arnd@arndb.de> References: <20180525155030.3667352-1-arnd@arndb.de> X-Provags-ID: V03:K1:qfk7ta7aMUU5lUiyEuDc5IWKERsiJdt/aUVbBE5HdjYR4gX6A6l UMJVYSlXedaBgrIzHJKqwiLHj4N846MnGwE4uXeIBS2jp6F4ILsg9URWnWRpDR1BssvdkCD ANvUghPks2zeWC1YtuoBKOO4wp8NJLQA0xaiQppnf0/c3JEECO2iMHiBRySd/OnzHMGVtDT 9tWwrhNmLVkvqFnkjw6xQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:heOmzYMTLIc=:dAGRfhrZQTxAG6lx6Faea0 +4X2K8kosOda45QYYIaPX6EI2srMSZrG4HM4rHBlJD0vH8yknGK/l87ih41JFdbonNroS5T5e lPEg7DBtacupmEG8y3DB3qYjKTb1M53CJYkvhzeAi3OHnKqltVLsPMSxWzXRPk7267auMiccq Dzr3scJjAl2KWFnIERaYrM4FYpzrqzMMRXhX40wz5sVudtAtBe+5y7V8aWEpdXHlWrqhL2big rTk5oqjFJ+UtTXxsv1DVbCXWAnjJ7ga53DR6cGBP0YLtJ3wTmM3vEKRndkpOz+C2SYJiGoJld bhrl3NHQwmCgPFpmkThNVWf8nSDZ9pfbiL9aW4HTVnp9yrCXEchKEEPBl6rHHDe9YVDT0wEZK XDJKBJjGVfdVmTpmBMKjseSYZ/epoROjqDoIRWz5NWZlivuR+452RM+DdNX6VnMHPcsVHhnCV yB4+a/q9/rC/1w0hwZTRISmmtuUKaZ2rvGugvx+CsEjWe+dYRMeqQ2y+EBWwjyek+cNTnAMJo euIO+ZmQQZQtEjcKS8iPnrhyY6SsHkSlZwWlpYC2BjdjQgyYlvbNUNYSPYRsPU2+p/Wna4MEb OOY0XXwa82fl9jYVaRgSUcXw10c2y0Oxn8FyyO67U3YENrYfk+qIY2ASYhx5YC0mrEvUVpWDB inBlqxZSchQfSNIboJaHt7jEv8o28hHK4gdDJUHKYrofRNDXmcXXUN+6UByzw9OVmfIE= Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The "alpha" struct member was removed in one commit but another user added in another, leading to a build failure: drivers/gpu/drm/rcar-du/rcar_du_vsp.c: In function 'rcar_du_vsp_plane_atomic_duplicate_state': drivers/gpu/drm/rcar-du/rcar_du_vsp.c:325:6: error: 'struct rcar_du_vsp_plane_state' has no member named 'alpha' copy->alpha = to_rcar_vsp_plane_state(plane->state)->alpha; This fixes up the merge by using the correct member. Fixes: 75a07f399cd4 ("drm: rcar-du: Zero-out sg_tables when duplicating plane state") Fixes: 301a9b8d5456 ("drm/rcar-du: Convert to the new generic alpha property") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_vsp.c b/drivers/gpu/drm/rcar-du/rcar_du_vsp.c index 4a98470626d5..d9232e749b6d 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_vsp.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_vsp.c @@ -322,7 +322,7 @@ rcar_du_vsp_plane_atomic_duplicate_state(struct drm_plane *plane) return NULL; __drm_atomic_helper_plane_duplicate_state(plane, ©->state); - copy->alpha = to_rcar_vsp_plane_state(plane->state)->alpha; + copy->state.alpha = plane->state->alpha; return ©->state; }