[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241210174554.18869-1-johnliu@nvidia.com>
Date: Tue, 10 Dec 2024 09:45:49 -0800
From: Johnny Liu <johnliu@...dia.com>
To: <thierry.reding@...il.com>, <jonathanh@...dia.com>,
<skomatineni@...dia.com>, <luca.ceresoli@...tlin.com>,
<mperttunen@...dia.com>, <maarten.lankhorst@...ux.intel.com>,
<mripard@...nel.org>, <tzimmermann@...e.de>, <airlied@...il.com>,
<simona@...ll.ch>, <robh@...nel.org>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>
CC: <linux-media@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Johnny Liu <johnliu@...dia.com>
Subject: [PATCH v1 0/5] Support host1x actmon
Activity monitoring (actmon for short) is a means to dynamically
measure the utilization of units in the system to help drive software
power management policies.
In Tegra, Dynamic Voltage and Frequency Scaling (DVFS) is the primary
dynamic power management mechanism. It uses utilization information
from various units to select the most efficient frequency and thereby,
voltage that the unit should operate while providing the requisite
performance.
Johnny Liu (5):
dt-bindings: display: tegra: Add actmon information
arm64: tegra: Add actmon information
gpu: host1x: Support device monitoring with actmon
drm/tegra: nvdec: Register the device with actmon
drm/tegra: vic: Register the device with actmon
.../display/tegra/nvidia,tegra20-host1x.yaml | 45 +-
arch/arm64/boot/dts/nvidia/tegra234.dtsi | 10 +-
drivers/gpu/drm/tegra/nvdec.c | 82 ++-
drivers/gpu/drm/tegra/vic.c | 39 +-
drivers/gpu/drm/tegra/vic.h | 9 +
drivers/gpu/host1x/Makefile | 1 +
drivers/gpu/host1x/actmon.c | 558 ++++++++++++++++++
drivers/gpu/host1x/actmon.h | 46 ++
drivers/gpu/host1x/dev.c | 71 ++-
drivers/gpu/host1x/dev.h | 59 +-
drivers/gpu/host1x/hw/actmon.h | 49 ++
drivers/gpu/host1x/hw/host1x08.c | 6 +-
drivers/gpu/host1x/hw/hw_host1x08_common.h | 16 +-
drivers/gpu/host1x/hw/intr_general_hw.c | 83 +++
include/linux/host1x.h | 30 +-
15 files changed, 1075 insertions(+), 29 deletions(-)
create mode 100644 drivers/gpu/host1x/actmon.c
create mode 100644 drivers/gpu/host1x/actmon.h
create mode 100644 drivers/gpu/host1x/hw/actmon.h
create mode 100644 drivers/gpu/host1x/hw/intr_general_hw.c
--
2.34.1
Powered by blists - more mailing lists