Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp106649ybl; Tue, 7 Jan 2020 15:07:49 -0800 (PST) X-Google-Smtp-Source: APXvYqycukJjAM8lToa5+C/y3zrA+dO9oStJTywqM83VawohqitWR6iXSqQ+k6ys40o7Cc6KIFqc X-Received: by 2002:a9d:65cf:: with SMTP id z15mr2106989oth.238.1578438469475; Tue, 07 Jan 2020 15:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578438469; cv=none; d=google.com; s=arc-20160816; b=r7yWs4mVSgMTrv8MHqg9h0ZOFWfc8zYAT7hODSvsQC/Lf3wOunOycDmysNlywwBDjB 6WSdP/Ommgn/UyJxTLPz95xDjrdYrgghuNx0EuvRfTvreu8sRYW1gyl48U7xAib/6znz oSpLWJ+IMcjECle9ZxP5vhFLaKzTYiIAA2qKAzst3bz16Ce2YlDoSiYJJq3N+rhpIoWF Un24gpdKAIz3l7xrAMP2AorPA34GdN/4tOjO/ZVN1WM/scwJtA35Xl9wuuHpj3z5zpJZ fZKnbBfKOyE/68wy21DsmNTrY1TkFcsyAUMYeSqW/zOoWQ5CObcCG0xO5rfmwmTCCxRq z3qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=k53sXXKoetFWE8GEEtNytoJYTuHWX23InQV8Qtu4GW8=; b=fBk5LnZ8Yt1FfIf2Ximb5BkJLrDauJVuiWPQwIarX6cOTEjQr+UPyCiZc5ApEPYqqu jQJ3AhWrk/Jfz8yyrL7vaTK9iJyw9NOzPh7H0WzVFPzAXHXjaD7fsZLxLs/YrkWG99ax UMO361BoZkavMt2eTxmpIsAfu4mmIHeTOlb0iUJvKevqSZJ8zDzT2DHC3l9X3INx9mKO KBT1R2YGrkFEY/pM1Jy/0MyDAASNbokj0vHHYwmM0ytH4zmWfebQU7d7F42yTQTLtd6E 5Gc6/GmKX1BkrEmAN5e6fCmufzAte3QKQwr8Pn0kVVVxteauiBgx9Xi+uccp9MaUJB9m +ZRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=dENCSx36; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16si820492oih.4.2020.01.07.15.07.38; Tue, 07 Jan 2020 15:07:49 -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=@googlemail.com header.s=20161025 header.b=dENCSx36; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727471AbgAGXGu (ORCPT + 99 others); Tue, 7 Jan 2020 18:06:50 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46623 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbgAGXGu (ORCPT ); Tue, 7 Jan 2020 18:06:50 -0500 Received: by mail-wr1-f67.google.com with SMTP id z7so1338967wrl.13 for ; Tue, 07 Jan 2020 15:06:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k53sXXKoetFWE8GEEtNytoJYTuHWX23InQV8Qtu4GW8=; b=dENCSx36Ej5yYSporQHM0EZQIerJ0te/h42mTZ93EZeOg3JsA0ESBCTSif6qckRHaK rxYMyDM0wGr41OJ2wQeUr7uJj/nCJ8ALhT6f97PH0oGrtASQk3eYzqvQOtRH3qQWWWwx Ho396dQoJvVeasv15P595WzKK8uGDMOS1Gb7xy1PCzg5rStuXm783K0aXg8PvyEsqwcc 0Kv2PcFCaSI0VcA/G9ZJ0gRUOB1v2TJnFP2eDUKvRyDpbozAEjmrT1BmVFLBNrGXTkxO khCbSxJQEspIlT9GtOklM+pRR9sEXoxc6beW7uWvF23m/lxNCBKzBu4R931JQ2k4H5DN O2dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k53sXXKoetFWE8GEEtNytoJYTuHWX23InQV8Qtu4GW8=; b=t5mJyPDl6VfIaGl4UphKFPHu5FQM+C1EL3bb83T20VF3JGLmhYEf29GkOD/Acg/JD7 RJI/FXVD3zfkovBmurqFVyiwW2XZYeXXLo3/wgRBIuOowD7qANyQeVS8k7mr/y3u6iXj 3lCW91+qG8uAaTDylelQtaHi2nhZwlmucuHvJ0kv37Z5hBaMK4cyfmhj1BAvfDAubHr5 R0Hql5jNZkh442uNAK2FbX9Oa3fs3sLOO7FLE1aTpiupZLvYU+TIcxmZs3OUmxtmbRoq nsVBVvtpUE7H1oEWO0ouLTdjkgwwuwt+4ovFKZxGqA3hYlNtNPvjYGGy35SLP10R/ji/ Rzng== X-Gm-Message-State: APjAAAVggFYZL9ZOn3ijg5W+r/LdDp7agfNDYdqBGyHgoqPh74II5U0h yhnygPg82FF9A3CiYPANdlU= X-Received: by 2002:a5d:6a88:: with SMTP id s8mr1270198wru.173.1578438408111; Tue, 07 Jan 2020 15:06:48 -0800 (PST) Received: from localhost.localdomain (p200300F1373A1900428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:373a:1900:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id g21sm1335912wmh.17.2020.01.07.15.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 15:06:47 -0800 (PST) From: Martin Blumenstingl To: dri-devel@lists.freedesktop.org, alyssa@rosenzweig.io, steven.price@arm.com, tomeu.vizoso@collabora.com, robh@kernel.org Cc: linux-kernel@vger.kernel.org, daniel@ffwll.ch, airlied@linux.ie, robin.murphy@arm.com, linux-amlogic@lists.infradead.org, linux-rockchip@lists.infradead.org, Martin Blumenstingl Subject: [PATCH RFT v1 0/3] devfreq fixes for panfrost Date: Wed, 8 Jan 2020 00:06:23 +0100 Message-Id: <20200107230626.885451-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These are a bunch of devfreq fixes for panfrost that came up in a discussion with Robin Murphy during the code-review of the lima devfreq patches: [0] I am only able to test patch #1 properly because the only boards with panfrost GPU that I have are using an Amlogic SoC. We don't have support for the OPP tables or dynamic clock changes there yet. So patches #2 and #3 are compile-tested only. [0] https://patchwork.freedesktop.org/patch/346898/ Martin Blumenstingl (3): drm/panfrost: enable devfreq based the "operating-points-v2" property drm/panfrost: call dev_pm_opp_of_remove_table() in all error-paths drm/panfrost: Use the mali-supply regulator for control again drivers/gpu/drm/panfrost/panfrost_devfreq.c | 33 ++++++++++++++++++--- drivers/gpu/drm/panfrost/panfrost_device.h | 1 + 2 files changed, 30 insertions(+), 4 deletions(-) -- 2.24.1