Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4080224ybv; Tue, 25 Feb 2020 12:48:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxCHts1I8nE3DBMnZjQnSlylFJkszKPnCDYr+Sm/NricXOqKtBDPlVsjnRRf/g1+zgzEWL2 X-Received: by 2002:aca:d544:: with SMTP id m65mr575457oig.177.1582663687514; Tue, 25 Feb 2020 12:48:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582663687; cv=none; d=google.com; s=arc-20160816; b=HGJ6C1xCZwAEtTj+hQax0IQOcJv9senTCCAcZ68ny1NUyrJvJ2/Txv4gR31eB74sz2 1deZbE37H1A713ehXKpJUlGe5oWHajlCTChTWDi4dforPLmheXiWMSdz0dV/kVtLj6+h ZyXr6ma0BsH1ETNAkHv4QjpktLNwvqZ44M8kuQoA5CUxueVMcCkLFGFVLOHT8bKL89hN 8dGZQY2MUeXtCmtJuf82F6K2hiTIGdYhjvJzHqiynjKKIAR8IUUP8FfcUELmBz8UQoGX dNecgy9wuEhJtB9vXQV5Sb/ST1ffSEZ4DKqmchVcnN/NHBs4W6IRYonKCJ1ugk+2MiPD C+7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=OVo7bo6QDtq8nS0I3IxQKlSJpfUVnAi800IOgwDkRJs=; b=vISVI7jiyuamldthBEt8aViQDPKejZWsiSwgGOcQoMLloSxXaSjPAtco0jEBD4EhC/ oadpckIheYsbZQAiJRD+7ESN5VBbL7pS3MxQyGWH3YNVf30OWpf544RDMuDZD5h8qETk d4YBTemNMX5/MbALmKMqikR/YBBxuWDa+s9DATBX5xsO+oOz4pfTl++v4VXyqoFSK8hN 00H/zDOwvr9GNQkyoQwyJ+jLmpQTh4BvHdBYWBN2Z8gh3FNTeneqzZu+8x8GjfuR/X9T Mvaxx6K+CmCSsYa4KAPs99uWBMHDj/0jZhL32CuXFPNygqGoDIxq0A8Me5YJpIgX0hhd nXRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="M/zmMhCk"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si205736otq.132.2020.02.25.12.47.47; Tue, 25 Feb 2020 12:48:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="M/zmMhCk"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730236AbgBYUfT (ORCPT + 99 others); Tue, 25 Feb 2020 15:35:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:54950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728471AbgBYUfS (ORCPT ); Tue, 25 Feb 2020 15:35:18 -0500 Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BFD7222C2; Tue, 25 Feb 2020 20:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582662918; bh=IlMHPJZoi6qlavWG4Ahbm3IprtnpXIxML8X3NnRiesw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=M/zmMhCkKG5ZR2aALAAcDqwXx55QaZ79a6R/kP7ncLhvfpPHN14IL07ANpCOk/KqL osvvkEIyAzlIUNoWzB9MFSu4Mzp/XQ0NZA31wZHfw19OqWb3jgSh+XeQHJsnDnOcTS kP8Q5MyOjKWvQsQjsJ4mhFk7dYdaIU4SDmwTej1w= Received: by mail-qt1-f171.google.com with SMTP id n17so639642qtv.2; Tue, 25 Feb 2020 12:35:18 -0800 (PST) X-Gm-Message-State: APjAAAX1TllHXwqZ854CKUUURj5Y1mwvS1MphfaBl0YTkxR+I5G+6ERy ZUJsqVg6At8emjo32/T1hkz6J7oH2uZToZHifA== X-Received: by 2002:ac8:1415:: with SMTP id k21mr568504qtj.300.1582662917307; Tue, 25 Feb 2020 12:35:17 -0800 (PST) MIME-Version: 1.0 References: <20200207052627.130118-1-drinkcat@chromium.org> In-Reply-To: <20200207052627.130118-1-drinkcat@chromium.org> From: Rob Herring Date: Tue, 25 Feb 2020 14:35:05 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 0/7] Add dts for mt8183 GPU (and misc panfrost patches) To: Nicolas Boichat Cc: David Airlie , Daniel Vetter , Mark Rutland , Matthias Brugger , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Liam Girdwood , Mark Brown , dri-devel , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "moderated list:ARM/Mediatek SoC support" , Hsin-Yi Wang , Ulf Hansson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 6, 2020 at 11:26 PM Nicolas Boichat wrote: > > Hi! > > Follow-up on the v3: https://patchwork.kernel.org/cover/11331343/. > > The main purpose of this series is to upstream the dts change and the > binding document, but I wanted to see how far I could probe the GPU, to > check that the binding is indeed correct. The rest of the patches are > RFC/work-in-progress, but I think some of them could already be picked up. > > So this is tested on MT8183 with a chromeos-4.19 kernel, and a ton of > backports to get the latest panfrost driver (I should probably try on > linux-next at some point but this was the path of least resistance). > > I tested it as a module as it's more challenging (originally probing would > work built-in, on boot, but not as a module, as I didn't have the power > domain changes, and all power domains are on by default during boot). > > Probing logs looks like this, currently. They look sane. > [ 501.319728] panfrost 13040000.gpu: clock rate = 511999970 > [ 501.320041] panfrost 13040000.gpu: Linked as a consumer to regulator.14 > [ 501.320102] panfrost 13040000.gpu: Linked as a consumer to regulator.31 > [ 501.320651] panfrost 13040000.gpu: Linked as a consumer to genpd:0:13040000.gpu > [ 501.320954] panfrost 13040000.gpu: Linked as a consumer to genpd:1:13040000.gpu > [ 501.321062] panfrost 13040000.gpu: Linked as a consumer to genpd:2:13040000.gpu > [ 501.321734] panfrost 13040000.gpu: mali-g72 id 0x6221 major 0x0 minor 0x3 status 0x0 > [ 501.321741] panfrost 13040000.gpu: features: 00000000,13de77ff, issues: 00000000,00000400 > [ 501.321747] panfrost 13040000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 > [ 501.321752] panfrost 13040000.gpu: shader_present=0x7 l2_present=0x1 > [ 501.324951] [drm] Initialized panfrost 1.1.0 20180908 for 13040000.gpu on minor 2 > > Some more changes are still required to get devfreq working, and of course > I do not have a userspace driver to test this with. > > I believe at least patches 1, 2, and 3 can be merged. 4 and 5 are mostly > useful in conjunction with 6 and 7 (which are not ready yet), so I'll let > maintainers decide. I've applied 3, 4, and 5 to drm-misc-next. Patch 2 should go via Mediatek tree. Rob