drm/tegra: hdmi: Restore DPMS
authorThierry Reding <treding@nvidia.com>
Wed, 29 Jul 2015 07:46:40 +0000 (09:46 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:49:11 +0000 (13:49 +0200)
commit29871b21c48c7b13adbd056755d923394ff6110b
treeb77a135ca084aafb7cddb2e9ca7cab04bbc7d5ac
parent32c3dee11e8e8ff790a8724c1bfe87a51976d7f8
drm/tegra: hdmi: Restore DPMS

In order to restore DPMS with atomic mode-setting, move all code from
the ->mode_set() callback into ->enable(). At the same time, rename the
->prepare() callback to ->disable() to use the names preferred by atomic
mode-setting. This simplifies the calling sequence and will allow DPMS
code to use runtime PM in subsequent patches.

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