Skip to content

Commit a21115d

Browse files
digetxthierryreding
authored andcommitted
drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
Runtime PM auto-suspension doesn't work without pm_runtime_mark_last_busy(), add it. Cc: <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 9ca790f commit a21115d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/tegra/submit.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,10 @@ static void release_job(struct host1x_job *job)
504504
kfree(job_data->used_mappings);
505505
kfree(job_data);
506506

507-
if (pm_runtime_enabled(client->base.dev))
507+
if (pm_runtime_enabled(client->base.dev)) {
508+
pm_runtime_mark_last_busy(client->base.dev);
508509
pm_runtime_put_autosuspend(client->base.dev);
510+
}
509511
}
510512

511513
int tegra_drm_ioctl_channel_submit(struct drm_device *drm, void *data,

0 commit comments

Comments
 (0)