mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
commit a21115dd38 upstream.
Runtime PM auto-suspension doesn't work without pm_runtime_mark_last_busy(),
add it.
Cc: <stable@vger.kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b8902d5ab4
commit
a04da77f44
@@ -475,8 +475,10 @@ static void release_job(struct host1x_job *job)
|
||||
kfree(job_data->used_mappings);
|
||||
kfree(job_data);
|
||||
|
||||
if (pm_runtime_enabled(client->base.dev))
|
||||
if (pm_runtime_enabled(client->base.dev)) {
|
||||
pm_runtime_mark_last_busy(client->base.dev);
|
||||
pm_runtime_put_autosuspend(client->base.dev);
|
||||
}
|
||||
}
|
||||
|
||||
int tegra_drm_ioctl_channel_submit(struct drm_device *drm, void *data,
|
||||
|
||||
Reference in New Issue
Block a user