Skip to content

Commit 646dc26

Browse files
Sakari Ailusstevenprice-arm
authored andcommitted
drm/panfrost: Remove redundant pm_runtime_mark_last_busy() calls
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 <sakari.ailus@linux.intel.com> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Steven Price <steven.price@arm.com> Link: https://lore.kernel.org/r/20250704075411.3218059-1-sakari.ailus@linux.intel.com
1 parent f9c67b0 commit 646dc26

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/panfrost/panfrost_perfcnt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ static int panfrost_perfcnt_disable_locked(struct panfrost_device *pfdev,
203203
panfrost_mmu_as_put(pfdev, perfcnt->mapping->mmu);
204204
panfrost_gem_mapping_put(perfcnt->mapping);
205205
perfcnt->mapping = NULL;
206-
pm_runtime_mark_last_busy(pfdev->dev);
207206
pm_runtime_put_autosuspend(pfdev->dev);
208207

209208
return 0;
@@ -279,7 +278,6 @@ void panfrost_perfcnt_close(struct drm_file *file_priv)
279278
if (perfcnt->user == pfile)
280279
panfrost_perfcnt_disable_locked(pfdev, file_priv);
281280
mutex_unlock(&perfcnt->lock);
282-
pm_runtime_mark_last_busy(pfdev->dev);
283281
pm_runtime_put_autosuspend(pfdev->dev);
284282
}
285283

0 commit comments

Comments
 (0)