diff options
| author | Akhil P Oommen <akhilpo@oss.qualcomm.com> | 2026-09-23 15:55:44 +0530 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2026-09-27 08:18:21 -0700 |
| commit | b5269bf0e1adc2f5d313fce9268b9ac594dc26e0 (patch) | |
| tree | 71735a285bc1bc1674b31fa28ce4265c607cfadc /tools/lib/python | |
| parent | eab0aff8965ee17cf972a37eb6456032c45b7acd (diff) | |
drm/msm/a6xx: Factor out RPMh arc-vote helpers
The GMU RPMh vote construction repeats two patterns across
a6xx_gmu_rpmh_arc_votes_init() and a6xx_gmu_rpmh_dep_votes_init():
reading a cmd-db aux-data resource (with the same "halve the byte count
and reject empty" handling), and scanning an arc level array for the
first corner that satisfies a target level.
Refactor out a6xx_gmu_rpmh_read_arc() and a6xx_gmu_rpmh_arc_index() to
reduce code duplication and improve code readability.
Assisted-by: LLM
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/755595/
Message-ID: <20260923-hawi-gpu-v1-4-0c3c79a1a470@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
