aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/dev.h
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2023-04-01 13:54:43 +0200
committerKonrad Dybcio <konrad.dybcio@linaro.org>2023-04-26 11:21:57 +0000
commit73ef38b09a55779539fdc15c674b8b9abeadc6c5 (patch)
treea5c16c1850b46ea8185e88b46972df4538c9efc7 /drivers/gpu/host1x/dev.h
parent1aec5a495d51dae02b610fe333fef660e31b2084 (diff)
drm/msm/a6xx: Introduce GMU wrapper support
Some (particularly SMD_RPM, a.k.a non-RPMh) SoCs implement A6XX GPUs but don't implement the associated GMUs. This is due to the fact that the GMU directly pokes at RPMh. Sadly, this means we have to take care of enabling & scaling power rails, clocks and bandwidth ourselves. Reuse existing Adreno-common code and modify the deeply-GMU-infused A6XX code to facilitate these GPUs. This involves if-ing out lots of GMU callbacks and introducing a new type of GMU - GMU wrapper (it's the actual name that Qualcomm uses in their downstream kernels). This is essentially a register region which is convenient to model as a device. We'll use it for managing the GDSCs. The register layout matches the actual GMU_CX/GX regions on the "real GMU" devices and lets us reuse quite a bit of gmu_read/write/rmw calls. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Diffstat (limited to 'drivers/gpu/host1x/dev.h')
0 files changed, 0 insertions, 0 deletions