Message ID | 20250503-gpu-acd-v6-2-ab1b52866c64@quicinc.com |
---|---|
State | New |
Headers | show |
Series | Support for GPU ACD feature on Adreno X1-85 | expand |
On 5/3/25 9:03 AM, Akhil P Oommen wrote: > When ACD feature is enabled, it triggers some internal calibrations > which result in a pretty long delay during the first HFI perf vote. > So, increase the HFI response timeout to match the downstream driver. > > Tested-by: Maya Matuszczyk <maccraft123mc@gmail.com> > Tested-by: Anthony Ruhier <aruhier@mailbox.org> > Signed-off-by: Akhil P Oommen <quic_akhilpo@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_hfi.c b/drivers/gpu/drm/msm/adreno/a6xx_hfi.c index b256092596fbab86d4eb8c17ac7c89cf94827105..d0ddae1617c3213a1bb2cb5c18b8653c5c1689e6 100644 --- a/drivers/gpu/drm/msm/adreno/a6xx_hfi.c +++ b/drivers/gpu/drm/msm/adreno/a6xx_hfi.c @@ -109,7 +109,7 @@ static int a6xx_hfi_wait_for_ack(struct a6xx_gmu *gmu, u32 id, u32 seqnum, /* Wait for a response */ ret = gmu_poll_timeout(gmu, REG_A6XX_GMU_GMU2HOST_INTR_INFO, val, - val & A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ, 100, 5000); + val & A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ, 100, 1000000); if (ret) { DRM_DEV_ERROR(gmu->dev,