diff options
| author | Neil Armstrong <[email protected]> | 2024-12-17 14:51:16 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2025-01-03 15:20:27 +0000 |
| commit | 8c1b9451d96b972d0c3b5a5df777dc21bf191b36 (patch) | |
| tree | 1df5c060bdc1d9a39bb897631e57e054f3fa17e7 /drivers/gpu/drm/tiny/sharp-memory.c | |
| parent | drm/msm: adreno: add plumbing to generate bandwidth vote table for GMU (diff) | |
| download | kernel-8c1b9451d96b972d0c3b5a5df777dc21bf191b36.tar.gz kernel-8c1b9451d96b972d0c3b5a5df777dc21bf191b36.zip | |
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 <[email protected]>
Reviewed-by: Akhil P Oommen <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/629396/
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/tiny/sharp-memory.c')
0 files changed, 0 insertions, 0 deletions
