Add regulator devfreq support to Panfrost
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 5 repliesIn review
- v414 patches 1 replySuperseded
- v314 patches 5 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 14 patches | 11 replies | Superseded | |
| v1 RFC | 15 patches | 20 replies | Superseded |
Changes in v5 from the cover letter
- Fix missed a pfdev to &pfdev->devfreq during rebase
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | drm/panfrost: avoid static declarationdrivers/ | +18 | 0 replies | |
| 2/14 | drm/panfrost: clean headers in devfreqdrivers/ | +2 | 0 replies | |
| 3/14 | drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idledrivers/ | +0 | 0 replies | |
| 4/14 | drm/panfrost: introduce panfrost_devfreq structdrivers/ drivers/ drivers/ +1 more | +66 | 0 replies | |
| 5/14 | drm/panfrost: use spinlock instead of atomicdrivers/ drivers/ | +40 | 0 replies | |
| 6/14 | drm/panfrost: properly handle error in probedrivers/ drivers/ | +20 | 0 replies | |
| 7/14 | drm/panfrost: rename error labels in device_initdrivers/ | +15 | 0 replies | |
| 8/14 | drm/panfrost: move devfreq_init()/fini() in devicedrivers/ drivers/ | +13 | 0 replies | |
| 9/14 | drm/panfrost: dynamically alloc regulatorsdrivers/ drivers/ | +10 | 0 replies | |
| 10/14 | drm/panfrost: add regulators to devfreqdrivers/ drivers/ drivers/ | +33 | 0 replies | |
| 11/14 | arm64: defconfig: Enable devfreq cooling devicearch/ | +1 | 0 replies | |
| 12/14 | arm64: dts: allwinner: h6: Add cooling map for GPUarch/ | +22 | 0 replies | |
| 13/14 | arm64: dts: allwinner: h6: Add GPU OPP tablearch/ | +80 | 0 replies | |
| 14/14 | arm64: dts: allwinner: force GPU regulator to be alwaysarch/ | +1 | 0 replies |
Reviews trailers per patch
12 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Steven Price | Alyssa Rosenzweig |
|---|---|---|
| 1/14 | R-b | R-b |
| 2/14 | R-b | R-b |
| 3/14 | R-b | R-b |
| 4/14 | R-b | R-b |
| 5/14 | R-b | R-b |
| 6/14 | R-b | R-b |
| 7/14 | R-b | R-b |
| 8/14 | R-b | R-b |
| 9/14 | R-b | R-b |
| 10/14 | R-b | R-b |
| 11/14 | R-b | |
| 12/14 | R-b | |
| 13/14 | ||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 00/14] Add regulator devfreq support to Panfrost
Hi,
This serie cleans and adds regulator support to Panfrost devfreq. This is mostly based on comment for the freshly introduced lima devfreq.
We need to add regulator support because on Allwinner the GPU OPP table defines both frequencies and voltages.
First patches [01-07] should not change the actual behavior and introduce a proper panfrost_devfreq struct.
Regards,
Clément
Changes since v4:
- Fix missed a pfdev to &pfdev->devfreq during rebase
Changes since v3:
- Collect Steven Price reviewed-by tags
- Rebase on next/master (next-20200709)
Changes since v2:
- Collect Alyssa Rosenzweig reviewed-by tags
- Fix opp_set_regulator before adding opp_table (introduce in v2)
- Call err_fini in case opp_add_table failed
Changes since v1:
- Collect Steven Price reviewed-by tags
- Fix spinlock comment
- Drop OPP clock-name patch
- Drop device_property_test patch
- Add rename error labels patch
Clément Péron (14):
drm/panfrost: avoid static declaration
drm/panfrost: clean headers in devfreq
drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idle drm/panfrost: introduce panfrost_devfreq struct drm/panfrost: use spinlock instead of atomic
drm/panfrost: properly handle error in probe
drm/panfrost: rename error labels in device_init drm/panfrost: move devfreq_init()/fini() in device drm/panfrost: dynamically alloc regulators
drm/panfrost: add regulators to devfreq
arm64: defconfig: Enable devfreq cooling device
arm64: dts: allwinner: h6: Add cooling map for GPU
[DO NOT MERGE] arm64: dts: allwinner: h6: Add GPU OPP table [DO NOT MERGE] arm64: dts: allwinner: force GPU regulator to be always
.../dts/allwinner/sun50i-h6-beelink-gs1.dts | 1 + arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 102 ++++++++++ arch/arm64/configs/defconfig | 1 + drivers/gpu/drm/panfrost/panfrost_devfreq.c | 175 ++++++++++++------ drivers/gpu/drm/panfrost/panfrost_devfreq.h | 30 ++- drivers/gpu/drm/panfrost/panfrost_device.c | 61 +++--- drivers/gpu/drm/panfrost/panfrost_device.h | 14 +- drivers/gpu/drm/panfrost/panfrost_drv.c | 15 +- drivers/gpu/drm/panfrost/panfrost_job.c | 10 +- 9 files changed, 296 insertions(+), 113 deletions(-)
Signature · 1 line
2.25.1