Skip to content

Support host1x actmon

Johnny Liu dri-devel linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: display: tegra: Add actmon informationDocumentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml+39 -62 replies
2/5arm64: tegra: Add actmon informationarch/arm64/boot/dts/nvidia/tegra234.dtsi+6 -40 replies
3/5gpu: host1x: Support device monitoring with actmondrivers/gpu/host1x/Makefile drivers/gpu/host1x/actmon.c drivers/gpu/host1x/actmon.h +7 more+902 -150 replies
4/5drm/tegra: nvdec: Register the device with actmondrivers/gpu/drm/tegra/nvdec.c+80 -20 replies
5/5drm/tegra: vic: Register the device with actmondrivers/gpu/drm/tegra/vic.c drivers/gpu/drm/tegra/vic.h+47 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 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                      |  57 +-
 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, 1074 insertions(+), 28 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
Signature · 1 line
2.34.1