Re: [PATCH v2 03/17] drm/msm/a6xx: Switch to preemption safe AO counter
From: Konrad Dybcio
Date: Fri Mar 27 2026 - 07:38:25 EST
On 3/27/26 1:13 AM, Akhil P Oommen wrote:
> CP_ALWAYS_ON_COUNTER is not save-restored during preemption, so it won't
> provide accurate data about the 'submit' when preemption is enabled.
> Switch to CP_ALWAYS_ON_CONTEXT which is preemption safe.
>
> Fixes: e7ae83da4a28 ("drm/msm/a6xx: Implement preemption for a7xx targets")
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---
(this is not a blocking comment)
would the _COUNTER counter be useful to keep for any other purpose?
Konrad