summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>2026-09-23 15:55:44 +0530
committerRob Clark <robin.clark@oss.qualcomm.com>2026-09-27 08:18:21 -0700
commitb5269bf0e1adc2f5d313fce9268b9ac594dc26e0 (patch)
tree71735a285bc1bc1674b31fa28ce4265c607cfadc /tools/lib/python
parenteab0aff8965ee17cf972a37eb6456032c45b7acd (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