drm/tegra: dsi: Restore DPMS
authorThierry Reding <treding@nvidia.com>
Wed, 29 Jul 2015 14:04:44 +0000 (16:04 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:49:23 +0000 (13:49 +0200)
commit171e2e6dd912dac625e085919f0822cd94c04ff0
tree86b5c55cb94fc537e8281e46a84f2e1d0ba1799d
parent29871b21c48c7b13adbd056755d923394ff6110b
drm/tegra: dsi: 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
to use runtime PM in subsequent patches.

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