]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/drm_crtc_helper.c
Merge remote-tracking branch 'drm-tegra/drm/for-next'
[karo-tx-linux.git] / drivers / gpu / drm / drm_crtc_helper.c
index 0d6469d74be4411099fa2fd84e1ebc3a09a97e01..80578d807cdc5c877312570c9d1a9edac75bdcfb 100644 (file)
@@ -567,6 +567,14 @@ drm_crtc_helper_disable(struct drm_crtc *crtc)
                                continue;
 
                        connector->encoder = NULL;
+
+                       /*
+                        * drm_helper_disable_unused_functions() ought to be
+                        * doing this, but since we've decoupled the encoder
+                        * from the connector above, the required connection
+                        * between them is henceforth no longer available.
+                        */
+                       connector->dpms = DRM_MODE_DPMS_OFF;
                }
        }