[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201118120358.17150-1-lukasz.luba@arm.com>
Date: Wed, 18 Nov 2020 12:03:53 +0000
From: Lukasz Luba <lukasz.luba@....com>
To: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Cc: rui.zhang@...el.com, amit.kucheria@...durent.com,
daniel.lezcano@...aro.org, lukasz.luba@....com, orjan.eide@....com,
robh@...nel.org, alyssa.rosenzweig@...labora.com,
steven.price@....com, airlied@...ux.ie, daniel@...ll.ch,
ionela.voinescu@....com
Subject: [PATCH v2 0/5] Thermal devfreq cooling improvements with Energy Model
Hi all,
This patch set is a continuation of my previous work, which aimed
to add Energy Model to all devices. This series is a follow up
for the patches which got merged to v5.9-rc1. It aims to change
the thermal devfreq cooling and use the Energy Model instead of
private power table and structures. The new registration interface
in the patch 3/5 helps to register devfreq cooling and the EM in one
call. There is also another improvement, patch 2/5 is changing the
way how thermal gets the device status. Now it's taken on demand
and stored as a copy. The last patch wouldn't go through thermal tree,
but it's here for consistency.
The patch set is based on current next-20201118, which has new EM API
in the pm/linux-next tree.
changes:
v2:
- renamed freq_get_state() and related to perf_idx pattern as
suggested by Ionela
v1 [2]
Regards,
Lukasz Luba
[1] https://lkml.org/lkml/2020/5/11/326
[2] https://lore.kernel.org/linux-pm/20200921122007.29610-1-lukasz.luba@arm.com/
Lukasz Luba (5):
thermal: devfreq_cooling: change tracing function and arguments
thermal: devfreq_cooling: get a copy of device status
thermal: devfreq_cooling: add new registration functions with Energy
Model
thermal: devfreq_cooling: remove old power model and use EM
drm/panfrost: Register devfreq cooling and attempt to add Energy Model
drivers/gpu/drm/panfrost/panfrost_devfreq.c | 2 +-
drivers/thermal/devfreq_cooling.c | 434 ++++++++++----------
include/linux/devfreq_cooling.h | 39 +-
include/trace/events/thermal.h | 19 +-
4 files changed, 259 insertions(+), 235 deletions(-)
--
2.17.1
Powered by blists - more mailing lists