diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2024-12-17 15:51:16 +0100 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2025-01-03 07:20:27 -0800 |
commit | 8c1b9451d96b972d0c3b5a5df777dc21bf191b36 (patch) | |
tree | 1df5c060bdc1d9a39bb897631e57e054f3fa17e7 /scripts/generate_rust_analyzer.py | |
parent | ff4a7f6bff527491b8a937ae4633b7066ce301f2 (diff) |
drm/msm: adreno: dynamically generate GMU bw table
The Adreno GPU Management Unit (GMU) can also scale the ddr
bandwidth along the frequency and power domain level, but for
now we statically fill the bw_table with values from the
downstream driver.
Only the first entry is used, which is a disable vote, so we
currently rely on scaling via the linux interconnect paths.
Let's dynamically generate the bw_table with the vote values
previously calculated from the OPPs.
Those entries will then be used by the GMU when passing the
appropriate bandwidth level while voting for a gpu frequency.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/629396/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions