Re: [PATCH 15/17] drm/msm/a6xx: Make crashstate capture IFPC safe
From: Konrad Dybcio
Date: Wed Jul 23 2025 - 06:33:12 EST
On 7/20/25 2:16 PM, Akhil P Oommen wrote:
> Now with IFPC, GX domain can collapse as soon as GPU becomes IDLE. So
> add gx_is_on check before accessing any GX registers during crashstate
> capture and recovery.
>
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---
[...]
> + /*
> + * This is true only on an A6XX_GEN1 with GMU, has IFPC enabled and a super old SQE firmware
> + * without 'whereami' support
> + */
Firmware that old won't even be accepted by the driver, see the slightly
confusing logic in a6xx_ucode_check_version()
Konrad