]> git.baikalelectronics.ru Git - kernel.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)
commita9973c7efbd968373ea5477c0b578da37145e809
tree417941bab7c32d0a33b93cb9c2f48feef2bf656f
parentcd7396a9f41d753f8ab71ea026872bf60ec27940
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