]> git.openpandora.org Git - pandora-kernel.git/commitdiff
drm/tegra: rgb: Restore DPMS
authorThierry Reding <treding@nvidia.com>
Wed, 29 Jul 2015 08:08:17 +0000 (10:08 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:48:54 +0000 (13:48 +0200)
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.

While at it, remove the enabled field that hasn't been used since the
demidlayering of the output drivers done in preparation for the atomic
mode-setting conversion.

Signed-off-by: Thierry Reding <treding@nvidia.com>

No differences found