Sean Paul 0bfad39671 drm/tegra: DPMS off/on in encoder prepare/commit
Previously the panel and output were only enabled on encoder->dpms(). If
userspace called dpms on before doing a modeset, the driver would get into
a state where the connector had a dpms state of ON, but the encoder and output
were not enabled (because the encoder is not yet attached to the connector).
Subsequent dpms ON calls are ignored b/c the connector's state already matches
the desired state.

This patch enables/disables the panel and output on modeset as well, so we
can catch the above case.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-11-13 16:12:04 +01:00
..
2014-11-13 16:11:59 +01:00
2014-08-04 10:07:34 +02:00
2014-11-13 16:11:59 +01:00
2014-08-04 10:07:39 +02:00
2014-09-24 11:43:41 +10:00
2014-08-04 10:07:39 +02:00
2014-08-08 11:00:26 -07:00
2013-10-31 09:55:45 +01:00
2014-08-04 10:07:39 +02:00
2014-06-05 23:09:25 +02:00
2014-11-13 16:10:27 +01:00
2014-04-04 09:12:51 +02:00
2014-04-04 09:12:51 +02:00
2014-08-08 11:00:26 -07:00
2014-06-05 23:09:17 +02:00