From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45AB6C4727E for ; Thu, 1 Oct 2020 08:53:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 03D2120B1F for ; Thu, 1 Oct 2020 08:53:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601542394; bh=Rn0e36ahHS7E7wAxdgaqA3ZOkyNmvxYSOAPyGfA6V7M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=pep7D37s61XH6OkZAGP+SPzy3W8Og97b3G9yUyRWM4xhMPUGWFdmp2nU5H4RB++sq 4Ys950V5WU3rEgQDoChkGyXzSf3C/ffVa6/rjTS1fjvUThDH5xn3OjryfizWKHCS1s zLA7jGhsAibtqqAsfkATvvg8BZ3lPMTL07NEct/0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731365AbgJAIxN (ORCPT ); Thu, 1 Oct 2020 04:53:13 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:33385 "EHLO mail-ej1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731134AbgJAIxN (ORCPT ); Thu, 1 Oct 2020 04:53:13 -0400 Received: by mail-ej1-f67.google.com with SMTP id j11so6925794ejk.0 for ; Thu, 01 Oct 2020 01:53:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4jzLSUIj5RzvTVUjJhGV7IcS8dv7BTGe66qJhsTjcb0=; b=UrD00SVF7dmk7ly7IWst7Q003Qr7LSLoEPtocKF+OFatJM7rupM9F8wax1EXbuiIuv jimteOL4ZrG5rZQ6ZC5Ypmn81kg8tJLwBzeqPfKHCR0yUTMA1h+tPK35Rdr31E+s1mFc 1sdZIROUU+VJNA3jT5hIEDMDzyDdCkLugP/jD6HrsU6O5Sw8AkRxRzrcMiCT844BYCiK fdqDAwwLS1mFEJwu63dZ3QEtIi5ISP6AF46/jnet8+n4ReHPnCasP0kBLUZ468xXoBLS +W/uZZj4dZQg+eytEbvtHUrT9jjPAnkwwOpjAW5NubMhAVn8hALZgDlZSEMhG2rvhr3U 3yCQ== X-Gm-Message-State: AOAM530+3Jk1h7EqBmWT2YVuBu7fL+pw6mY4k2n9pPratcf615zKS5Ea vjdLTwbqUjB8m72YCJaMrVE= X-Google-Smtp-Source: ABdhPJz7gaUKhwrXnyKF/OpaIR7U7dJBq8Pzz/giDbChiTHf9tgwuRV1H2f12TfDNkS2+Uv5WIiYww== X-Received: by 2002:a17:906:586:: with SMTP id 6mr7228405ejn.315.1601542391395; Thu, 01 Oct 2020 01:53:11 -0700 (PDT) Received: from kozik-lap ([194.230.155.194]) by smtp.googlemail.com with ESMTPSA id m6sm3645940ejb.85.2020.10.01.01.53.09 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Oct 2020 01:53:10 -0700 (PDT) Date: Thu, 1 Oct 2020 10:53:08 +0200 From: Krzysztof Kozlowski To: Lucas Stach Cc: Shawn Guo , Rob Herring , NXP Linux Team , Fabio Estevam , Frieder Schrempf , Marek Vasut , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, kernel@pengutronix.de, patchwork-lst@pengutronix.de Subject: Re: [PATCH] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core Message-ID: <20201001085308.GB15804@kozik-lap> References: <20200930155418.535857-1-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200930155418.535857-1-l.stach@pengutronix.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Sep 30, 2020 at 05:54:18PM +0200, Lucas Stach wrote: > From: Frieder Schrempf > > According to the documents, the i.MX8M-Mini features a GC320 and a > GCNanoUltra GPU core. Etnaviv detects them as: > > etnaviv-gpu 38000000.gpu: model: GC600, revision: 4653 > etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341 > > This seems to work fine more or less without any changes to the HWDB, > which still might be needed in the future to correct some features, > etc. > > [lst]: Added power domains and switched clock assignments to the > new clock defines used for the composite clocks, instead of > relying on the backwards compat defines. > > Signed-off-by: Frieder Schrempf > Signed-off-by: Lucas Stach > --- > This patch depends on the power domain support for i.MX8MM, as the > GPUs are in a invalid state (which might lead to full system lockups) > if they are not properly powered on via the power sequencing > implemented in the GPCv2 driver. > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 39 +++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > Acked-by: Krzysztof Kozlowski Best regards, Krzysztof