Tegra EMC clock scaling API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ARM: tegra: add EMC clock scaling APIarch/ include/ | +160 | 12 replies | |
| 2/3 | ARM: tegra: use new EMC clock scaling API in CPUfreq driverarch/ | +8 | 0 replies | |
| 3/3 | ARM: tegra: drm: use new EMC clock scaling API to reserve DC bandwidthdrivers/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Tegra EMC clock scaling API
This series is more of a RFC, but is working pretty well already.
It adds a new API to control EMC performance. There are two new functions added, to provide memory clients with a way to communicate their memory performance demands to the EMC. Documentation can be found inline.
I've tested this on my Colibri T20 with a memory config with the following DDR clock rates: 88.25MHz, 133.2MHz, 166.5MHz, 333MHz.
I've verified that CPU clock changes toggle EMC clock changes, just like before the change. Also with a 1080p display attached DDR clock rate stays at 133,2MHz to satisfy the bandwidth demand of the scanout.
With the series applied I no longer see display corruption caused by FIFO underflow, while keeping the ability to demand scale the EMC clockrate.
Lucas Stach (3):
ARM: tegra: add EMC clock scaling API
ARM: tegra: use new EMC clock scaling API in CPUfreq driver
ARM: tegra: drm: use new EMC clock scaling API to reserve DC
bandwidth
arch/arm/mach-tegra/cpu-tegra.c | 15 +++--- arch/arm/mach-tegra/tegra2_emc.c | 84 ++++++++++++++++++++++++++++++++-- drivers/gpu/drm/tegra/dc.c | 11 +++++ include/memory/tegra_emc_performance.h | 79 ++++++++++++++++++++++++++++++++ 4 Dateien geändert, 179 Zeilen hinzugefügt(+), 10 Zeilen entfernt(-) create mode 100644 include/memory/tegra_emc_performance.h
Signature · 1 line
1.7.11.7