Hi Sakari,

On 04/07/25 04:54, Sakari Ailus wrote:
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <[email protected]>
---

[...]

diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c
index bb09df5000bd..11ec7e913974 100644
--- a/drivers/gpu/drm/vc4/vc4_v3d.c
+++ b/drivers/gpu/drm/vc4/vc4_v3d.c
@@ -153,7 +153,6 @@ vc4_v3d_pm_put(struct vc4_dev *vc4)
mutex_lock(&vc4->power_lock);
        if (--vc4->power_refcount == 0) {
-               pm_runtime_mark_last_busy(&vc4->v3d->pdev->dev);
                pm_runtime_put_autosuspend(&vc4->v3d->pdev->dev);
        }

Nit: please, drop the curly braces.

        mutex_unlock(&vc4->power_lock);

For vc4,

Reviewed-by: Maíra Canal <[email protected]>

Best Regards,
- Maíra

Reply via email to