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: 10394397 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 C96D2601A0 for ; Fri, 11 May 2018 14:33:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEBF7223A5 for ; Fri, 11 May 2018 14:33:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B335F28E59; Fri, 11 May 2018 14:33:30 +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=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 70CF0223A5 for ; Fri, 11 May 2018 14:33:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C72E6F17A; Fri, 11 May 2018 14:33:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ot0-f195.google.com (mail-ot0-f195.google.com [74.125.82.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id C3D3B6F17A for ; Fri, 11 May 2018 14:33:25 +0000 (UTC) Received: by mail-ot0-f195.google.com with SMTP id h8-v6so6461769otb.2 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=s6Q7EYr9iEr1tL6qjgpLDN0+k+5nXvFW28xzue4wu19cndtSKTuqDu8b2dzzpDG8/m l0ZVtVJ7cEwkrRAka29AYmHtjalXK0KLytExdbB7aP+Rc3ggA4HDWuNN/B9qMmff1s9k OnKmuDZvTbVZdRwVlw5Mw0vr40GhVhBZ42upYCEEEViaUcKH7b0TVS4NrjKtR6YVjR9K pBCcZ/yDZAhDZpzHOdImGp93kWtxjxuzj6lVUhIAxgNSBSUodafx72tecisslGA0PHJp FlidYj8XLmPJU4uQa7H8iDmACEH3pAH0NJ2KJzU8wvyBqLVhPtNsdQlAe3G5iwjU571h GP2Q== X-Gm-Message-State: ALKqPwfF3fiGhN3062GrZsDJfqIibjXkG1s4sjLNcOQb8PEZeVoIT8ti LkIvQH9ighXZjJ0lTws1KA== 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Rothwell MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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