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

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>

authored by

Mikko Perttunen and committed by
Thierry Reding
b03d6403 271fca02

+2
+2
drivers/gpu/drm/tegra/vic.c
··· 488 488 if (err < 0) 489 489 goto unregister_client; 490 490 } 491 + pm_runtime_set_autosuspend_delay(&pdev->dev, 500); 492 + pm_runtime_use_autosuspend(&pdev->dev); 491 493 492 494 return 0; 493 495