From patchwork Mon Oct 7 08:34:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2995231 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2B96FBF924 for ; Mon, 7 Oct 2013 09:09:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91A0D201BF for ; Mon, 7 Oct 2013 09:09:42 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 705A5201B9 for ; Mon, 7 Oct 2013 09:09:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DB3CBE6522 for ; Mon, 7 Oct 2013 02:09:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f48.google.com (mail-bk0-f48.google.com [209.85.214.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 50D9EE690C for ; Mon, 7 Oct 2013 01:37:30 -0700 (PDT) Received: by mail-bk0-f48.google.com with SMTP id my13so2428431bkb.21 for ; Mon, 07 Oct 2013 01:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v2NZ858uwPlXJNj2QV1ikKWK1yS8OFjnRD2z8IUQEiY=; b=irfYwZKybLY7qFrp+5nQMCxHD3NE088FZ9yuiDDlBpd9jwiTy5iehumfeUI3eEVztq sK2iYqAmvYIDIugf8zn4UoWxHba7vebN5ZtMt5e28L3JlvWZ9D4wN9olqT4oORB8xI6m 3wu9nYpzfJ33TGWGMThZm3W3220WvwWK+fnhoigRYc8+BFtfHKz3vHU41ot4mBJmg9YZ wFp8rRqV6rHVdWb1D07zdDUHyzOe5o0Eifuwty6jo6NLhYHIDMXFKugx8xfmimU4yfJj YfK3ObbBGoc8eFzGtSvJqi0kC2CSuAFx7kuUwq+zWveHCHXXD6UtsxTGVtxJgZqAqs2s hhsw== X-Received: by 10.205.65.17 with SMTP id xk17mr25320722bkb.19.1381135049425; Mon, 07 Oct 2013 01:37:29 -0700 (PDT) Received: from localhost (port-46445.pppoe.wtnet.de. [46.59.230.36]) by mx.google.com with ESMTPSA id jt14sm16346589bkb.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 01:37:28 -0700 (PDT) From: Thierry Reding To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 27/27] drm/tegra: Add Tegra114 gr2d support Date: Mon, 7 Oct 2013 10:34:44 +0200 Message-Id: <1381134884-5816-28-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381134884-5816-1-git-send-email-treding@nvidia.com> References: <1381134884-5816-1-git-send-email-treding@nvidia.com> Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The gr2d hardware in Tegra114 is compatible with that of Tegra20 and Tegra30. No functionaly changes are required. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tegra/drm.c | 1 + drivers/gpu/drm/tegra/gr2d.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index d95be81..b9e0977 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c @@ -492,6 +492,7 @@ static const struct of_device_id host1x_drm_subdevs[] = { { .compatible = "nvidia,tegra114-dc", }, { .compatible = "nvidia,tegra114-dsi", }, { .compatible = "nvidia,tegra114-hdmi", }, + { .compatible = "nvidia,tegra114-gr2d", }, { /* sentinel */ } }; diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c index 9588072..f4e478b 100644 --- a/drivers/gpu/drm/tegra/gr2d.c +++ b/drivers/gpu/drm/tegra/gr2d.c @@ -232,6 +232,7 @@ static const struct tegra_drm_client_ops gr2d_ops = { }; static const struct of_device_id gr2d_match[] = { + { .compatible = "nvidia,tegra114-gr2d" }, { .compatible = "nvidia,tegra30-gr2d" }, { .compatible = "nvidia,tegra20-gr2d" }, { },