Message ID | 20200430124602.14463-1-frieder.schrempf@kontron.de (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=OtNF=6P=lists.freedesktop.org=dri-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 610E217EF for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 1 May 2020 07:23:38 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 49EB5208C3 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 1 May 2020 07:23:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49EB5208C3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kontron.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 57A7A6EAC9; Fri, 1 May 2020 07:23:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from skedge04.snt-world.com (skedge04.snt-world.com [91.208.41.69]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF7876E837; Thu, 30 Apr 2020 12:52:11 +0000 (UTC) Received: from sntmail11s.snt-is.com (unknown [10.203.32.181]) by skedge04.snt-world.com (Postfix) with ESMTP id 7A03567A7D8; Thu, 30 Apr 2020 14:46:04 +0200 (CEST) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail11s.snt-is.com (10.203.32.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 30 Apr 2020 14:46:03 +0200 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1913.007; Thu, 30 Apr 2020 14:46:03 +0200 From: Schrempf Frieder <frieder.schrempf@kontron.de> To: Adam Ford <aford173@gmail.com>, Anson Huang <Anson.Huang@nxp.com>, Christian Gmeiner <christian.gmeiner@gmail.com>, Daniel Baluta <daniel.baluta@nxp.com>, Fabio Estevam <festevam@gmail.com>, Schrempf Frieder <frieder.schrempf@kontron.de>, Leonard Crestez <leonard.crestez@nxp.com>, "Li Jun" <jun.li@nxp.com>, Lucas Stach <l.stach@pengutronix.de>, NXP Linux Team <linux-imx@nxp.com>, Peng Fan <peng.fan@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Russell King <linux+etnaviv@armlinux.org.uk>, "Sascha Hauer" <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, "S.j. Wang" <shengjiu.wang@nxp.com> Subject: [RFC PATCH 0/4] Add support for i.MX8MM GPUs through Etnaviv Thread-Topic: [RFC PATCH 0/4] Add support for i.MX8MM GPUs through Etnaviv Thread-Index: AQHWHu1P24EsvLcp2k6XxTQQ1PmCiA== Date: Thu, 30 Apr 2020 12:46:03 +0000 Message-ID: <20200430124602.14463-1-frieder.schrempf@kontron.de> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 7A03567A7D8.AE648 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: aford173@gmail.com, anson.huang@nxp.com, christian.gmeiner@gmail.com, daniel.baluta@nxp.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, etnaviv@lists.freedesktop.org, festevam@gmail.com, jun.li@nxp.com, kernel@pengutronix.de, l.stach@pengutronix.de, leonard.crestez@nxp.com, linux+etnaviv@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, peng.fan@nxp.com, s.hauer@pengutronix.de, shawnguo@kernel.org, shengjiu.wang@nxp.com X-Spam-Status: No X-Mailman-Approved-At: Fri, 01 May 2020 07:22:25 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "etnaviv@lists.freedesktop.org" <etnaviv@lists.freedesktop.org>, "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Add support for i.MX8MM GPUs through Etnaviv
|
expand
|
From: Frieder Schrempf <frieder.schrempf@kontron.de> This series contains patches to enable GPU support for the i.MX8MM. There is currently no upstream support for the display subsystem of the i.MX8MM, but I have a 5.4-based tree with some ported drivers for LCDIF, DSIM bridge, etc. (see [1]) which I used to test the GPU with glmark2. I'm posting this as an RFC for now, as I'm not feeling confident of all of the changes. Especially patch 1 seems a bit like a hack. Maybe someone can help me understand the underlying problem and/or come up with a better fix. [1] https://git.kontron-electronics.de/linux/linux/-/commits/v5.4-ktn Frieder Schrempf (4): drm/etnaviv: Prevent IRQ triggering at probe time on i.MX8MM drm/etnaviv: Fix error path in etnaviv_gpu_clk_enable() drm/etnaviv: Change order of enabling clocks to fix boot on i.MX8MM arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv arch/arm64/boot/dts/freescale/imx8mm.dtsi | 36 ++++++++++++ drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 68 ++++++++++++++--------- 2 files changed, 79 insertions(+), 25 deletions(-)