drm/amd/pm: add and use the SMU multi-msgs helper
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/amd/pm: add SMU multi-msgs helpersdrivers/ drivers/ | +88 | 0 replies | |
| 2/4 | drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0drivers/ | +21 | 0 replies | |
| 3/4 | drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0_0drivers/ | +15 | 0 replies | |
| 4/4 | drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0_8drivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] drm/amd/pm: add and use the SMU multi-msgs helper
SMU15 introduced driver messages that can carry multiple input parameters and return values, but callers still have to build struct smu_msg_args directly.
Add common SMU multi-msgs helpers in smu_cmn and switch the first SMU15 users over to them. This keeps multi-parameter messages and multi-return queries on one helper path while leaving the older single-parameter interface unchanged.
Patch 1 adds the common helpers and updates the shared path. Patch 2 converts the SMU15 base table address messages. Patch 3 converts the SMU15.0.0 table transfer and enabled-feature query.
Patch 4 converts the SMU15.0.8 enabled-feature query.
No functional change intended.
Yang Wang (4):
drm/amd/pm: add SMU multi-msgs helpers drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0 drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0_0 drm/amd/pm: use the SMU multi-msgs helper in smu_v15_0_8
.../gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c | 47 ++++----- .../drm/amd/pm/swsmu/smu15/smu_v15_0_0_ppt.c | 38 +++----- .../drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c | 14 ++- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 96 +++++++++++++------ drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 22 +++++ 5 files changed, 130 insertions(+), 87 deletions(-)
Signature · 1 line
2.47.3