Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/imagination: missing Fixes trailer on runtime PM idle
  rejection fix
--

commit c29dc1db48c5cba60c84fc26290cdb68ebfc286c
Author: Baihui Liang <[email protected]>

> drm/imagination: re-check firmware idle state before runtime suspend
>
> pvr_power_device_idle() rejects runtime suspend while the firmware
> hasn't reached ROGUE_FWIF_POW_IDLE. The PM core doesn't reschedule
> idle notification after rejection, so no further pm_runtime_put()
> arrives on an idle GPU and the device stays powered indefinitely.
>
> Move the idle check into pvr_power_device_suspend() and return -EBUSY
> after pm_runtime_mark_last_busy() so the PM core reschedules the
> autosuspend timer and retries until the firmware is idle.
>
> Factor the power-off sequence into a helper and call it from the
> removal path with runtime PM disabled, bypassing the idle check.
> Power off before destroying the job and free-list ID arrays, since
> the IRQ handler can still process firmware commands during shutdown
> and look up free-list IDs.
>
> Signed-off-by: Baihui Liang <[email protected]>

[Severity: Low]
This fixes a bug where rejecting runtime idle in pvr_power_device_idle()
prevents the GPU from autosuspending.  Should this include:

  Fixes: 727538a4bbff ("drm/imagination: Implement power management")

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=1

Reply via email to