Support for GPU ACD feature on Adreno X1-85
Get series with b4
b4 am [email protected] change-id 20240724-gpu-acd-6c1dc5dcf516Versions newest first
- v6 Latest7 patches 1 replyIn review
- v57 patches 5 repliesSuperseded
- v47 patches 17 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 13 replies | Superseded | |
| v2 | 3 patches | 15 replies | Superseded | |
| v1 RFC | 3 patches | 19 replies | Superseded |
Changes in v6 from the cover letter
- Captured code-review trailers
- Link to v5: https://lore.kernel.org/r/[email protected]
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/msm/adreno: Add support for ACDdrivers/ drivers/ drivers/ +1 more | +132 | 0 replies | |
| 2/7 | drm/msm/a6xx: Increase HFI response timeoutdrivers/ | +1 | 1 reply | |
| 3/7 | drm/msm: a6x: Rework qmp_get() error handlingdrivers/ | +3 | 0 replies | |
| 4/7 | drm/msm/adreno: Add module param to disable ACDdrivers/ drivers/ | +11 | 0 replies | |
| 5/7 | dt-bindings: opp: Add v2-qcom-adreno vendor bindingsDocumentation/ MAINTAINERS | +97 | 0 replies | |
| 6/7 | arm64: dts: qcom: x1e80100: Add ACD levels for GPUarch/ | +10 | 0 replies | |
| 7/7 | arm64: dts: qcom: x1e80100: Add OPPs up to Turbo L3 for GPUarch/ | +15 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Maya Matuszczyk | Anthony Ruhier | Konrad Dybcio | Krzysztof Kozlowski |
|---|---|---|---|---|
| 1/7 | T-b | T-b | R-b | |
| 2/7 | T-b | T-b | R-b | |
| 3/7 | T-b | T-b | R-b | |
| 4/7 | T-b | T-b | R-b | |
| 5/7 | T-b | T-b | R-b | |
| 6/7 | T-b | T-b | R-b | |
| 7/7 | T-b | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v6 0/7] Support for GPU ACD feature on Adreno X1-85
This series adds support for ACD feature for Adreno GPU which helps to lower the power consumption on GX rail and also sometimes is a requirement to enable higher GPU frequencies. At high level, following are the sequences required for ACD feature:
1. Identify the ACD level data for each regulator corner
2. Send a message to AOSS to switch voltage plan
3. Send a table with ACD level information to GMU during every gpu wake up
For (1), it is better to keep ACD level data in devicetree because this value depends on the process node, voltage margins etc which are chipset specific. For instance, same GPU HW IP on a different chipset would have a different set of values. So, a new schema which extends opp-v2 is created to add a new property called "qcom,opp-acd-level".
ACD support is dynamically detected based on the presence of "qcom,opp-acd-level" property in GPU's opp table. Also, qmp node should be present under GMU node in devicetree for communication with AOSS.
The devicetree patch in this series adds the acd-level data for X1-85 GPU present in Snapdragon X1 Elite chipset.
The last two devicetree patches are for Bjorn and all the rest for Rob Clark.
---
Changes in v6:
- Captured code-review trailers
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- Rebased on top of 6.15-rc2
- Move 'acd data fix' mentioned in the prev revision to the correct patch
- Make module-param sysfs node read-only (Konrad)
- Apply opp-v2-qcom-adreno schema only on adreno opp table
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Send correct acd data via hfi (Neil)
- Fix dt-bindings error
- Fix IB vote for the 1.1Ghz OPP
- New patch#2 to fix the HFI timeout error seen when ACD is enabled
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Rebased on top of v6.13-rc4 since X1E doesn't boot properly with msm-next
- Update patternProperties regex (Krzysztof)
- Update MAINTAINERS file include the new opp-v2-qcom-adreno.yaml
- Update the new dt properties' description
- Do not move qmp_get() to acd probe (Konrad)
- New patches: patch#2, #3 and #6
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Removed RFC tag for the series
- Improve documentation for the new dt bindings (Krzysztof)
- Add fallback compatible string for opp-table (Krzysztof)
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Akhil P Oommen (7):
drm/msm/adreno: Add support for ACD
drm/msm/a6xx: Increase HFI response timeout drm/msm: a6x: Rework qmp_get() error handling drm/msm/adreno: Add module param to disable ACD
dt-bindings: opp: Add v2-qcom-adreno vendor bindings
arm64: dts: qcom: x1e80100: Add ACD levels for GPU
arm64: dts: qcom: x1e80100: Add OPPs up to Turbo L3 for GPU
.../bindings/opp/opp-v2-qcom-adreno.yaml | 96 ++++++++++++++++++++++ MAINTAINERS | 1 + arch/arm64/boot/dts/qcom/x1e80100.dtsi | 27 +++++- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 96 +++++++++++++++++++--- drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 1 + drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 38 ++++++++- drivers/gpu/drm/msm/adreno/a6xx_hfi.h | 21 +++++ drivers/gpu/drm/msm/adreno/adreno_device.c | 4 + 8 files changed, 269 insertions(+), 15 deletions(-)
---
base-commit: 8a834b0ac9ceb354a6e0b8cf5b363edca8221bdd
change-id: 20240724-gpu-acd-6c1dc5dcf516
Best regards,
Signature · 1 line
Akhil P Oommen <[email protected]>