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: 136955 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3758909lji; Fri, 25 May 2018 08:51:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrGv52LiOG98oBEe0HH7Fq1LB31yHl9TB6TMti+DVO1ULoeedNUGAjnikJ7qrz4rRQ2P8sF X-Received: by 2002:a63:b00f:: with SMTP id h15-v6mr2418406pgf.90.1527263512674; Fri, 25 May 2018 08:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527263512; cv=none; d=google.com; s=arc-20160816; b=QpOjQh3pNPyqcp/m9n3BhDpkycfo4zYSLFOwt3Rsi8qeNJ2aSi0Sy/My+NEZPbRTYl BV/M4Y+1SL0iSrkqCGdUZqIXiMD3bR6G7OOQjDHXrRznrN00lh+gIJeWGZ2MRwA9+Ear Q0sX7obAs8ByzRFsygwZskf3eyJamYfhou+/P6utr+0u7578djhYjAi0vf5qADfac33/ TBP6rfY/OG3zNKz+bs+E0YMuIgZCjvuTB6cUMZFxFJ+/h1oItJsMXS3UtYq7sikZhrFs OEiQsg2l2jNOdFWCzqthCIfO/UeHiNs+PJCwNxtBJp1KoYB5y/s0xg70XiBScl/hoJmK 4I/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=X5m0DiWQt9bqTYFu6u7Efj31wbIgEzBH2ShHuyBnxRw=; b=weWT9k6GrAOsQ5fbo4WtUECbFlIHW6eOdoJPBI6M/o7RrxHT7f7VopMYKBCEl19iy2 nxRqwARqsMFGWCggr5um9h64ghCChZa1IMr3Soxiqam+Lw5oElavZyQPZkz9CRDLFpIQ vgLIGa1GyZuEKcAwpTJ4X46hmos7BghwAFhiva5dyQpfuDivVixYE7t6/4yZ/3pRoGoT A9vmPCAEmPgNdtvhR+YuEO7wLW2wdKLqmlWs9lh6YZ81zKVUImhs3vWYQZxsP5m5vMrZ RSuiAUJs2cmMbLkR+pj0lrWQyOhGO3I6OqMwntSWO8AGWiLbHj4UmkvjuOyFB5CrdRGB vSFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bf3-v6si24544033plb.105.2018.05.25.08.51.52; Fri, 25 May 2018 08:51:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967002AbeEYPvt (ORCPT + 30 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 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; }