]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/dvo: Mark TMDS DVO connectors as polled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Jan 2020 17:10:56 +0000 (19:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Feb 2020 21:32:52 +0000 (23:32 +0200)
All the TMDS DVO chips have a sensible looking .detect().
Let's poll them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200121171100.4370-8-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dvo.c

index 7bcd390a56b21d76d904c05c792d2ec8a4ae027e..77f3d083b7a15d596cee1d8ae804c99dc3b62916 100644 (file)
@@ -514,6 +514,8 @@ void intel_dvo_init(struct drm_i915_private *dev_priv)
 
                switch (dvo->type) {
                case INTEL_DVO_CHIP_TMDS:
+                       intel_connector->polled = DRM_CONNECTOR_POLL_CONNECT |
+                               DRM_CONNECTOR_POLL_DISCONNECT;
                        drm_connector_init(&dev_priv->drm, connector,
                                           &intel_dvo_connector_funcs,
                                           DRM_MODE_CONNECTOR_DVII);