Skip to content

freedreno: Add a750 clock gating control related registers

Neil Armstrong requested to merge narmstrong/mesa:a7xx_rbbm_regs into main

freedreno: Add a750 clock gating control related registers

The A750 doesn't have an HWCFG clock gating control but instead a set of additionnal RBBM registers, add them to allow setting up hardware clock gating on the A750 GPU.

Registers definitions are used from [0] and [1].

[0] https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel/-/blob/gfx-kernel.lnx.14.0.r3-rel/gen7_reg.h#L636 [1] https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel/-/blob/gfx-kernel.lnx.14.0.r3-rel/adreno_gen7.c#L490

Initial Linux kernel changes can be found at: https://lore.kernel.org/all/20240212-topic-sm8650-gpu-v1-0-708a40b747b5@linaro.org/

Signed-off-by: Neil Armstrong neil.armstrong@linaro.org

Edited by Neil Armstrong

Merge request reports