Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

accel/ivpu: 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: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Link: https://patch.msgid.link/20251027133956.393375-1-sakari.ailus@linux.intel.com

authored by

Sakari Ailus and committed by
Maciej Falkowski
c57e4323 c063c1bb

-3
-1
drivers/accel/ivpu/ivpu_job.c
··· 1114 1114 mutex_unlock(&vdev->submitted_jobs_lock); 1115 1115 1116 1116 runtime_put: 1117 - pm_runtime_mark_last_busy(vdev->drm.dev); 1118 1117 pm_runtime_put_autosuspend(vdev->drm.dev); 1119 1118 }
-2
drivers/accel/ivpu/ivpu_pm.c
··· 359 359 360 360 void ivpu_rpm_put(struct ivpu_device *vdev) 361 361 { 362 - pm_runtime_mark_last_busy(vdev->drm.dev); 363 362 pm_runtime_put_autosuspend(vdev->drm.dev); 364 363 } 365 364 ··· 427 428 struct device *dev = vdev->drm.dev; 428 429 429 430 pm_runtime_allow(dev); 430 - pm_runtime_mark_last_busy(dev); 431 431 pm_runtime_put_autosuspend(dev); 432 432 } 433 433