[PATCH] drm/imagination: Fix kernel crash when hard resetting the GPU
Matt Coster
matt.coster at imgtec.com
Fri Jul 4 15:35:08 UTC 2025
On Tue, 24 Jun 2025 15:22:08 +0100, Alessio Belle wrote:
> The GPU hard reset sequence calls pm_runtime_force_suspend() and
> pm_runtime_force_resume(), which according to their documentation should
> only be used during system-wide PM transitions to sleep states.
>
> The main issue though is that depending on some internal runtime PM
> state as seen by pm_runtime_force_suspend() (whether the usage count is
> <= 1), pm_runtime_force_resume() might not resume the device unless
> needed. If that happens, the runtime PM resume callback
> pvr_power_device_resume() is not called, the GPU clocks are not
> re-enabled, and the kernel crashes on the next attempt to access GPU
> registers as part of the power-on sequence.
>
> [...]
Applied, thanks!
[1/1] drm/imagination: Fix kernel crash when hard resetting the GPU
commit: d38376b3ee48d073c64e75e150510d7e6b4b04f7
Best regards,
--
Matt Coster <matt.coster at imgtec.com>
More information about the dri-devel
mailing list