diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 14afe1e47e57..7e663a79829f 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c | |||
@@ -843,6 +843,7 @@ nouveau_connector_create(struct drm_device *dev, | |||
843 | 843 | ||
844 | switch (dcb->type) { | 844 | switch (dcb->type) { |
845 | case DCB_CONNECTOR_VGA: | 845 | case DCB_CONNECTOR_VGA: |
846 | connector->polled = DRM_CONNECTOR_POLL_CONNECT; | ||
846 | if (dev_priv->card_type >= NV_50) { | 847 | if (dev_priv->card_type >= NV_50) { |
847 | drm_connector_attach_property(connector, | 848 | drm_connector_attach_property(connector, |
848 | dev->mode_config.scaling_mode_property, | 849 | dev->mode_config.scaling_mode_property, |
@@ -854,6 +855,17 @@ nouveau_connector_create(struct drm_device *dev, | |||
854 | case DCB_CONNECTOR_TV_3: | 855 | case DCB_CONNECTOR_TV_3: |
855 | nv_connector->scaling_mode = DRM_MODE_SCALE_NONE; | 856 | nv_connector->scaling_mode = DRM_MODE_SCALE_NONE; |
856 | break; | 857 | break; |
858 | case DCB_CONNECTOR_DP: | ||
859 | case DCB_CONNECTOR_eDP: | ||
860 | case DCB_CONNECTOR_HDMI_0: | ||
861 | case DCB_CONNECTOR_HDMI_1: | ||
862 | case DCB_CONNECTOR_DVI_I: | ||
863 | case DCB_CONNECTOR_DVI_D: | ||
864 | if (dev_priv->card_type >= NV_50) | ||
865 | connector->polled = DRM_CONNECTOR_POLL_HPD; | ||
866 | else | ||
867 | connector->polled = DRM_CONNECTOR_POLL_CONNECT; | ||
868 | /* fall-through */ | ||
857 | default: | 869 | default: |
858 | nv_connector->scaling_mode = DRM_MODE_SCALE_FULLSCREEN; | 870 | nv_connector->scaling_mode = DRM_MODE_SCALE_FULLSCREEN; |
859 | 871 | ||