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 X-Patchwork-Id: 135540 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp951849lji; Fri, 11 May 2018 07:34:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrTWZiUZD+IDBJIXWxXMa3lvpNFu78o0K8TWDFu/Ku2MiuI21t1XqoW0Gf3baRPm+yZmzut X-Received: by 2002:a17:902:2a43:: with SMTP id i61-v6mr5887868plb.54.1526049240233; Fri, 11 May 2018 07:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526049240; cv=none; d=google.com; s=arc-20160816; b=NaFZSdXULRzf8mADua9lu/HHikXLSTTWqKqD+G9BGqylTAbu/qj4BeU6Ktw7hn0M89 TrMamVecc+56QFFhIiDiIEVYThRTJeihegtcTv1MmkFIR2oLY0gmxeSRJO4nov1wU8Pv +r+kSKlaZZUH7wHODGONMmDc/oneFWW94wnO2GaAQz6+eHE8CJ9d6CGsq9m9eWeRPYBi 9lN2DzHezw6M52ehALk4cxl8+G5LhVGaLs56pMQtl4caCJrCKraez3fNLOTkExMoYQys 0zVRGZL8VCWXKjPlCVZNFyPrF6P/3UDxaj9K0lnkMoGwoghVrdqhqbn5p+EoFs8v4lqU gucg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=ZIqFL/5BFy8y5QfuLOhYA71Sc4GpENvpazbtKPli9j0=; b=cVyJo9s/ux/bMgvfJgwtPOO/4+ADpDnR1B5VIGsugfE61hqq8l6NegjdGWgIfrv7JX yHjsJoBA+PslfDdnOXV+8b0mZND7FvFelxHFTYeIinaW8jpJQJHsIv0LiZizxvPL07+9 YDy9D4Z5SLYhiZikX28FTLAu2QfcUzlrQfNUUVGN+tR2xHhRyKZ50syMrderNWd1rne0 m7eyBon0n4t/XocVFLKwirNNuH2USJ+bDKrftDNmfHdIVF8ZjPB5o4Qh28jj+FYDUAfZ /5F1lnRBGJ6KdZMo9+B51vxcrZlkQWnXq53DBo5b7Zn0hPNdC7z9bhWwaGpoVvX+df8R sWdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id b129-v6si2639910pgc.387.2018.05.11.07.33.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 May 2018 07:34:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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-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" 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