Re: [PATCH RFC RFT] drm/msm: adreno: attach the GMU device to a driver

From: Akhil P Oommen

Date: Wed Jan 14 2026 - 01:37:31 EST


On 10/22/2025 6:14 PM, Neil Armstrong wrote:
> Due to the sync_state is enabled by default in pmdomain & CCF since v6.17,
> the GCC and GPUCC sync_state would stay pending, leaving the resources in
> full performance:
> gcc-x1e80100 100000.clock-controller: sync_state() pending due to 3d6a000.gmu
> gpucc-x1e80100 3d90000.clock-controller: sync_state() pending due to 3d6a000.gmu
>
> In order to fix this state and allow the GMU to be properly
> probed, let's add a proper driver for the GMU and add it to
> the MSM driver components.
>
> Only the proper GMU has been tested since I don't have
> access to hardware with a GMU wrapper.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---
> drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 354 ++++++++++++++---------------
> drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 6 -
> drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 3 -
> drivers/gpu/drm/msm/adreno/adreno_device.c | 4 +
> drivers/gpu/drm/msm/adreno/adreno_gpu.h | 4 +
> drivers/gpu/drm/msm/msm_drv.c | 16 +-
> 6 files changed, 192 insertions(+), 195 deletions(-)
>

Niel,

Could you please send the follow up revision of this patch? Lets get
this fix merged.

-Akhil.