diff options
author | Thierry Reding <treding@nvidia.com> | 2013-09-24 09:58:08 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-10-31 09:55:44 +0100 |
commit | f8c3325584220fd7fb559f9867a926668ae5630c (patch) | |
tree | 0bd97ad44b75c604a16157203f00618c9340384a /drivers/gpu/drm/tegra | |
parent | drm/tegra: hdmi: Enable VDD earlier for hotplug/DDC (diff) | |
download | linux-f8c3325584220fd7fb559f9867a926668ae5630c.tar.xz linux-f8c3325584220fd7fb559f9867a926668ae5630c.zip |
drm/tegra: Start connectors with correct DPMS mode
A connector's DPMS mode isn't initialized by default, therefore using a
default of 0 (DRM_MODE_DPMS_ON). This can cause problems in that the DRM
core won't explicitly turn on a connector because it thinks that it is
already on.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index 708cbfffb059..2cb0065e0578 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c @@ -265,6 +265,7 @@ int tegra_output_init(struct drm_device *drm, struct tegra_output *output) drm_connector_init(drm, &output->connector, &connector_funcs, connector); drm_connector_helper_add(&output->connector, &connector_helper_funcs); + output->connector.dpms = DRM_MODE_DPMS_OFF; drm_encoder_init(drm, &output->encoder, &encoder_funcs, encoder); drm_encoder_helper_add(&output->encoder, &encoder_helper_funcs); |