On 27.02.2025 10:06 PM, Akhil P Oommen wrote: > On 2/28/2025 1:59 AM, Konrad Dybcio wrote: >> On 27.02.2025 9:07 PM, Akhil P Oommen wrote: >>> From: Jie Zhang <quic_jiezh@xxxxxxxxxxx> >>> >>> Add support for Adreno 623 GPU found in QCS8300 chipsets. >>> >>> Signed-off-by: Jie Zhang <quic_jiezh@xxxxxxxxxxx> >>> Signed-off-by: Akhil P Oommen <quic_akhilpo@xxxxxxxxxxx> >>> --- >>> drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 29 +++++++++++++++++++++++++++++ >>> drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 8 ++++++++ >>> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 +- >>> drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 +++++ >>> 4 files changed, 43 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c >>> index edffb7737a97b268bb2986d557969e651988a344..53e2ff4406d8f0afe474aaafbf0e459ef8f4577d 100644 >>> --- a/drivers/gpu/drm/msm/adreno/a6xx_catalog.c >>> +++ b/drivers/gpu/drm/msm/adreno/a6xx_catalog.c >>> @@ -879,6 +879,35 @@ static const struct adreno_info a6xx_gpus[] = { >>> { 0, 0 }, >>> { 137, 1 }, >>> ), >>> + }, { >>> + .chip_ids = ADRENO_CHIP_IDS(0x06020300), >>> + .family = ADRENO_6XX_GEN3, >>> + .fw = { >>> + [ADRENO_FW_SQE] = "a650_sqe.fw", >>> + [ADRENO_FW_GMU] = "a623_gmu.bin", >>> + }, >>> + .gmem = SZ_512K, >>> + .inactive_period = DRM_MSM_INACTIVE_PERIOD, >>> + .quirks = ADRENO_QUIRK_HAS_CACHED_COHERENT | >>> + ADRENO_QUIRK_HAS_HW_APRIV, >>> + .init = a6xx_gpu_init, >>> + .a6xx = &(const struct a6xx_info) { >>> + .hwcg = a690_hwcg, >> >> You used the a620 table before, I'm assuming a690 is correct after all? > > Correct. a690_hwcg array has the recommended values for a623. Thanks for double checking Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx> Konrad