Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp158158ybt; Mon, 6 Jul 2020 06:27:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC7Us2gFEO8EzWYVOxaDk3GDW08Kwss/AvcL+KIibv/UkxtAnsniQyGSfdmIwyMq1rQzEi X-Received: by 2002:aa7:c450:: with SMTP id n16mr51273134edr.53.1594042053538; Mon, 06 Jul 2020 06:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042053; cv=none; d=google.com; s=arc-20160816; b=TGEMfwlihHUV0/SIbl3XJvAHCIyLFV5McP3t+aWM1x9D+g369dIPuf6+c39urZd3Nq fVKsR/SmkyT+cpN+cJnzjN2un/v4azUPR2trDUQss70rsr45+kGGMDZUZmSdHWeOkxEm espemWCvH/G2MBf3HLFCqrwHMOiTmdgn7PRvaaolf8z4u2+bFUKzA593KOHWcakhGtGs ytM6jaNlzwFEJE3BzLtjUIrDcB5yc1c3shFUjYg2SFjjFD4BYT6cFqISZoyclr94RE5+ LZyf05kctHMmUVn9GTsvQPs/8/FgB1qYBIqnQGzULV75PuO46MDZqKpEeHPDJpSb7pSG O45g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=CGGcurULm7NQ8DOY7p2gH4w4WK7nvnZa312jge0CK1s=; b=ZH/CgX3he3UOfj8IL6eLHuTH0HnGR48XIa3tu4ql4rSwtBg/uN39kkVIWZzNcRWUNR fahfn0My9sZWZm00h3rzZZmLDUPW4L6qqgtkACw7VCOjZfBNN7E65MtcQsT2fkx/FmkZ H4i9sAFk9VvocZNJOqoQRuCwdZI9+Awj2djc5wovk+nJ9VrhzPdCzAmE9AzvhGO/zGdN VnQFpQwL9XBL1i13wfiOJKiAMiwIo5ZIzYIqvLWPHiwbAaRrkjq0X1nQP4IZehz8AzjO pu5IJ7Do0zAD5hwwaBy2VAz5wM/Vju/nCXGvTVv5E5p+bS2+qRZhnAHn2J5hOdipjnzH 0gFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qq21si12861641ejb.570.2020.07.06.06.27.09; Mon, 06 Jul 2020 06:27:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729188AbgGFN0c (ORCPT + 99 others); Mon, 6 Jul 2020 09:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729085AbgGFN0b (ORCPT ); Mon, 6 Jul 2020 09:26:31 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94805C061794 for ; Mon, 6 Jul 2020 06:26:31 -0700 (PDT) Received: from kevin (unknown [IPv6:2600:1700:4540:6a60::34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: alyssa) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 9691B2A3C95; Mon, 6 Jul 2020 14:26:27 +0100 (BST) Date: Mon, 6 Jul 2020 09:26:22 -0400 From: Alyssa Rosenzweig To: =?iso-8859-1?Q?Cl=E9ment_P=E9ron?= Cc: Rob Herring , Tomeu Vizoso , Steven Price , Viresh Kumar , Nishanth Menon , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/14] Add regulator devfreq support to Panfrost Message-ID: <20200706132622.GA1881@kevin> References: <20200704102535.189647-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20200704102535.189647-1-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --UugvWAfsgieZRqgk Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patches 1-12 are=20 Reviewed-by: Alyssa Rosenzweig Thank you! On Sat, Jul 04, 2020 at 12:25:21PM +0200, Cl=E9ment P=E9ron wrote: > Hi, >=20 > This serie cleans and adds regulator support to Panfrost devfreq. > This is mostly based on comment for the freshly introduced lima > devfreq. >=20 > We need to add regulator support because on Allwinner the GPU OPP > table defines both frequencies and voltages. >=20 > First patches [01-07] should not change the actual behavior > and introduce a proper panfrost_devfreq struct. >=20 > Regards, > Cl=E9ment >=20 > Cl=E9ment P=E9ron (14): > drm/panfrost: avoid static declaration > drm/panfrost: clean headers in devfreq > drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idle > drm/panfrost: introduce panfrost_devfreq struct > drm/panfrost: use spinlock instead of atomic > drm/panfrost: properly handle error in probe > drm/panfrost: rename error labels in device_init > drm/panfrost: move devfreq_init()/fini() in device > drm/panfrost: dynamically alloc regulators > drm/panfrost: add regulators to devfreq > arm64: defconfig: Enable devfreq cooling device > arm64: dts: allwinner: h6: Add cooling map for GPU > [DO NOT MERGE] arm64: dts: allwinner: h6: Add GPU OPP table > [DO NOT MERGE] arm64: dts: allwinner: force GPU regulator to be always >=20 > .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 1 + > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 102 +++++++++++ > arch/arm64/configs/defconfig | 1 + > drivers/gpu/drm/panfrost/panfrost_devfreq.c | 165 ++++++++++++------ > drivers/gpu/drm/panfrost/panfrost_devfreq.h | 30 +++- > drivers/gpu/drm/panfrost/panfrost_device.c | 61 ++++--- > drivers/gpu/drm/panfrost/panfrost_device.h | 14 +- > drivers/gpu/drm/panfrost/panfrost_drv.c | 15 +- > drivers/gpu/drm/panfrost/panfrost_job.c | 10 +- > 9 files changed, 290 insertions(+), 109 deletions(-) >=20 > --=20 > 2.25.1 >=20 --UugvWAfsgieZRqgk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEQ17gm7CvANAdqvY4/v5QWgr1WA0FAl8DJnkACgkQ/v5QWgr1 WA2plw/+MP2+7xJ51qGsZtJWvdP8wW6JbZZWAgkV/W5Hrbx+U79L41RtyI3++Wyk V1wKRexTb/ZaAhEod+7tkMTJgIzGEh4r6sQTE46ua66iltg/LOLoCrS90Q+n1ZKz voATFXc8pFG89hJRbeXeawLHRitmEM//cyskejG7okH3IOPd0P1wg/h21VaZIGOD 0t+Pl1l57KCHyM1LruPefCDvQPLi8L2BTF5XbfeEt8TwFxKvzLboKLMNj/PxWfJo U08k9ZhVkxG7Xao/m+sEAMHrqd+chmj7z9rGnRQiCxyyTPLCT8FYk0OGb0TGolS/ lsyp1WR0upCKFKVAYqnzkSSU30Ovd4j72wYiQ4kkuJORXdi89UDGv0U5s4S2a1bI VzG5gykUnmR8rzzyrIipjsqiEvTNQRgtCvRYkNYVUbHcawWoX4YeuI3k2mouUDDN zU4hN1seZLGFKy3g9nPDI+7yilFWoSo3pExqo8vwVdHOrAB8nEhbAt88+GihkT4+ LwRN51PeKlcxruN2uCvsvnkdbuBK0N/3ilXhyLunE4RJ1yHih1SkBA0YNJVe3UWU yAuVWjALGidP61oJ7RyGisj3z9pfua72DtBt3yr80ApiLQDYg04QIFVZ41fr3Qrk WWYbwHzYnqHLhzwGl4hxIHY6Okcs2d2XdZ2cXlW3/d26ucM4vZs= =xFiH -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--