drm/tegra: sor: Implement runtime PM
authorThierry Reding <treding@nvidia.com>
Fri, 7 Aug 2015 14:04:54 +0000 (16:04 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Jul 2016 09:39:13 +0000 (11:39 +0200)
commitaaff8bd2e824b6256e6cc1bd4eb3714de0683996
treec71c1c1fb05696cd6e9e646ab3639e8a4a857a91
parent5234549b93aa2ada9ee3d628b0e06bf291d97577
drm/tegra: sor: Implement runtime PM

Use runtime PM to clock-(un)gate and (de)assert reset to the SOR
controller. This ties in nicely with atomic DPMS in that a runtime PM
reference is taken before a pipe is enabled and dropped after it has
been shut down.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c