drm/tegra: dsi: Implement runtime PM
authorThierry Reding <treding@nvidia.com>
Fri, 7 Aug 2015 07:29:54 +0000 (09:29 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 4 Jul 2016 09:37:00 +0000 (11:37 +0200)
commitef8187d752650fe79239c5de9efc906cb7f6b30d
tree7f704924cb03f038f04462000dad4bc41afe4366
parent33a8eb8d40ee7fc07f23a407607bdbaa46893b2d
drm/tegra: dsi: Implement runtime PM

Use runtime PM to clock-(un)gate, (de)assert reset and control power to
the DSI 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/dsi.c