Re: [PATCH v2 02/17] drm/msm/a8xx: Fix the ticks used in submit traces
From: Akhil P Oommen
Date: Mon Mar 30 2026 - 16:58:35 EST
On 3/27/2026 5:07 PM, Konrad Dybcio wrote:
> On 3/27/26 1:13 AM, Akhil P Oommen wrote:
>> GMU_ALWAYS_ON_COUNTER_* registers got moved in A8x, but currently, A6x
>> register offsets are used in the submit traces instead of A8x offsets.
>> To fix this, refactor a bit and use adreno_gpu->funcs->get_timestamp()
>> everywhere.
>>
>> While we are at it, update a8xx_gmu_get_timestamp() to use the GMU AO
>> counter.
>
> Which I assume does not need the GMU to be in any particular state, just
> have its clocks enabled?
On A750+, there is a cx timer calibration during gmu resume to match the
GPU AO counters with the CPU counter. That should be complete before we
read this.
-Akhil.
>
> Konrad