Re: [PATCH] drm/msm/a5xx: don't read the GPMU registers on GPUs without a GPMU
From: Alexey Minnekhanov
Date: Thu Oct 08 2026 - 22:24:56 EST
On 20.09.2026 14:08, Dmitry Baryshkov wrote:
Only a530/a540 have a GPMU. On the other a5xx parts, reading the
0xa800-0xac60 GPMU aperture during a crashdump resets the board -- on
sda660 (a512) a GPU hang thus reboots the SoC instead of recovering.
Split the GPMU block into its own array and collect it only when a GPMU
is present.
Fixes: e20c9284c8f2 ("drm/msm/adreno: Add support for Adreno 510 GPU")
Assisted-by: LLM
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Hi, thanks for this! I've definitely seen device with a512 completely
hang after having GPU hang, so previously I had to comment out crashdump
collecting routines to keep device usable and not dying completely on
every fault. I suspected something like this is the reason - something
working only on a530/540 because something exists only on a530, but not
on lower end a512.
Is there way to try to force crashdump to test that this now works?
--
Regards,
Alexey Minnekhanov