Add support for Current Limit Extension (CLX) feature found on a few A8x
GPUs. This feature is required to limit the peak current consumption to
avoid HW spec violation on GX/MX rails.
Add the necessary HFI interface support to pass the recommended CLX and
IFF/PCLX limits tables to the GMU. And enable this feature on both A840
and X285 GPU by adding the repective configurations to the gpu catalog.
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
---
Akhil P Oommen (3):
drm/msm/a6xx: Add HFI support for CLX feature
drm/msm/a6xx: Enable CLX feature on A840
drm/msm/a8xx: Enable CLX feature on Adreno X2-85
drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 172 ++++++++++++++++++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 15 +++
drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 71 ++++++++++++
3 files changed, 258 insertions(+)
---
base-commit: b462608de92a7cac450781f9d8d4c7cf3ccf82db
change-id: 20260514-a8xx-clx-support-2ee492a88da1
Best regards,
--
Akhil P Oommen <akhilpo@oss.qualcomm.com>