drm/tegra: hdmi: Implement runtime PM
authorThierry Reding <treding@nvidia.com>
Fri, 7 Aug 2015 14:00:43 +0000 (16:00 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Jul 2016 09:38:11 +0000 (11:38 +0200)
commit5234549b93aa2ada9ee3d628b0e06bf291d97577
tree711bb1bd3e0b63901de390cc0a4ec3698b262f3b
parentef8187d752650fe79239c5de9efc906cb7f6b30d
drm/tegra: hdmi: Implement runtime PM

Use runtime PM to clock-(un)gate and (de)assert reset to the HDMI
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/hdmi.c