]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/tegra: sor: Restore DPMS
authorThierry Reding <treding@nvidia.com>
Wed, 29 Jul 2015 15:58:41 +0000 (17:58 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:49:35 +0000 (13:49 +0200)
commit850bab448034f0a601727fe266afd0ef64fef6dc
tree417941bab7c32d0a33b93cb9c2f48feef2bf656f
parent171e2e6dd912dac625e085919f0822cd94c04ff0
drm/tegra: sor: 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/sor.c