drm/tegra: vic: Use autosuspend

When going idle, it's not unlikely that more work will follow.
As such, use autosuspend with a 500ms suspend delay.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Mikko Perttunen 2021-08-11 13:59:54 +03:00 коммит произвёл Thierry Reding
Родитель 271fca025a
Коммит b03d640307
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -488,6 +488,8 @@ static int vic_probe(struct platform_device *pdev)
if (err < 0)
goto unregister_client;
}
pm_runtime_set_autosuspend_delay(&pdev->dev, 500);
pm_runtime_use_autosuspend(&pdev->dev);
return 0;