From patchwork Fri May 11 14:33:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10394395 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 6F02760170 for ; Fri, 11 May 2018 14:33:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63E33223A5 for ; Fri, 11 May 2018 14:33:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5824E28E59; Fri, 11 May 2018 14:33:27 +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=ham 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 91727223A5 for ; Fri, 11 May 2018 14:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753105AbeEKOd0 (ORCPT ); Fri, 11 May 2018 10:33:26 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:44750 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752952AbeEKOdZ (ORCPT ); Fri, 11 May 2018 10:33:25 -0400 Received: by mail-ot0-f193.google.com with SMTP id g7-v6so6454488otj.11 for ; Fri, 11 May 2018 07:33:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=by5dsTNs3DcxcGzDdAuA2JaNp2zADj79oCUWppytIcM=; b=IeSHqkLY6L6F4zat6x4NjOft8m3hrZIt5f3Drd9RE0G2Hgw6zVzgOWMiDs9xHf3gPo oXfyR3QpDNxbrlttvIaPRpPZcFaWmOOAfRSIQfsqXBM28p3taqVCBTV2Wq/m3+g0KBy2 9DVVX6H3w/v/G3rGucNzLSTTfIakPUwDH+4UlVG1/vkRJJy/rXGGAfcA6eEOmYzl/AHV mBEQSRNKoMx77nwu9oY4PcK6Qb7nuhmntfi6Num5OLwClZ7RjFNdYpkMIzF6M4LfwPNr w+wJob7l/ULlloGA3NqbIrDA1UdWCl6m6ZWnh4n6Fvc07eY+c++0Yts7aUcG17P7N0RC ahpg== X-Gm-Message-State: ALKqPwcQXV/9iIp6hTJ68Uun8Z15biex4KBB4SLiPMDnz5bTPt7hidlU /fXbDjBuBduF1io36WRhppysCNA= X-Google-Smtp-Source: AB8JxZrNvRsHLjhKaej6ZIvs7jiZqKQcSZ2ji85l7iPEJYwZtSZ0fNedpBpYpc0CI6AOy+6LvSU9Fw== X-Received: by 2002:a9d:3f0a:: with SMTP id m10-v6mr3816494otc.157.1526049205059; Fri, 11 May 2018 07:33:25 -0700 (PDT) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id s9-v6sm1815105otb.41.2018.05.11.07.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 07:33:24 -0700 (PDT) From: Rob Herring To: Laurent Pinchart Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Stephen Rothwell Subject: [PATCH] drm: rcar-du: disable dtc graph-endpoint warnings on DT overlays Date: Fri, 11 May 2018 09:33:23 -0500 Message-Id: <20180511143323.6148-1-robh@kernel.org> X-Mailer: git-send-email 2.17.0 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 rcar DT overlays are missing symetrical remote-endpoint properties in their graph nodes because the remote-endpoint is fixed up at run-time. Disable the dtc 'graph-endpoint' warnings when compiling these overlays. If this becomes a common problem for overlays, then perhaps this check needs to be disabled for all overlays. Reported-by: Stephen Rothwell Cc: Laurent Pinchart Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org Signed-off-by: Rob Herring Acked-by: Simon Horman Acked-by: Laurent Pinchart --- This needs to go thru my tree because it is dependent on the dtc update that adds the warning (perhaps we're going to need to add option checking for dtc). Rob drivers/gpu/drm/rcar-du/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/Makefile b/drivers/gpu/drm/rcar-du/Makefile index 3e58ed93d5b1..2a3b8d7972b5 100644 --- a/drivers/gpu/drm/rcar-du/Makefile +++ b/drivers/gpu/drm/rcar-du/Makefile @@ -17,3 +17,10 @@ rcar-du-drm-$(CONFIG_DRM_RCAR_VSP) += rcar_du_vsp.o obj-$(CONFIG_DRM_RCAR_DU) += rcar-du-drm.o obj-$(CONFIG_DRM_RCAR_DW_HDMI) += rcar_dw_hdmi.o obj-$(CONFIG_DRM_RCAR_LVDS) += rcar_lvds.o + +# 'remote-endpoint' is fixed up at run-time +DTC_FLAGS_rcar_du_of_lvds_r8a7790 += -Wno-graph_endpoint +DTC_FLAGS_rcar_du_of_lvds_r8a7791 += -Wno-graph_endpoint +DTC_FLAGS_rcar_du_of_lvds_r8a7793 += -Wno-graph_endpoint +DTC_FLAGS_rcar_du_of_lvds_r8a7795 += -Wno-graph_endpoint +DTC_FLAGS_rcar_du_of_lvds_r8a7796 += -Wno-graph_endpoint