]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/a6xx: Retrieve gmu core range by index
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Wed, 31 Dec 2025 08:45:22 +0000 (14:15 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Thu, 15 Jan 2026 22:12:32 +0000 (14:12 -0800)
commite39333a81eeff310fd651e2e6de3680cb7906a32
tree6447b77f4677eb412e8b87a0110ac1b864db9dfc
parentdc220915ddb2d1c646a7d0816b398e73ed5a5d50
drm/msm/a6xx: Retrieve gmu core range by index

Some GPUs like A612 doesn't use a named register range resource. This
is because the reg-name property is discouraged when there is just a
single resource.

To address this, retrieve the 'gmu' register range by its index. It is
always guaranteed to be at index 0.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/696673/
Message-ID: <20251231-qcs615-spin-2-v6-1-da87debf6883@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c