diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_connector.c | 5 | ||||
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index a8da98fe1282..592fcfb9b389 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c | |||
@@ -935,11 +935,8 @@ nouveau_connector_create(struct drm_device *dev, int index) | |||
935 | } | 935 | } |
936 | 936 | ||
937 | /* Init DVI-I specific properties */ | 937 | /* Init DVI-I specific properties */ |
938 | if (dcb->type == DCB_CONNECTOR_DVI_I) { | 938 | if (dcb->type == DCB_CONNECTOR_DVI_I) |
939 | drm_mode_create_dvi_i_properties(dev); | ||
940 | drm_connector_attach_property(connector, dev->mode_config.dvi_i_subconnector_property, 0); | 939 | drm_connector_attach_property(connector, dev->mode_config.dvi_i_subconnector_property, 0); |
941 | drm_connector_attach_property(connector, dev->mode_config.dvi_i_select_subconnector_property, 0); | ||
942 | } | ||
943 | 940 | ||
944 | /* Add overscan compensation options to digital outputs */ | 941 | /* Add overscan compensation options to digital outputs */ |
945 | if (disp->underscan_property && | 942 | if (disp->underscan_property && |
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index bfc0090ddcf1..38623a25d0b1 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c | |||
@@ -215,6 +215,7 @@ nouveau_display_create(struct drm_device *dev) | |||
215 | 215 | ||
216 | drm_mode_config_init(dev); | 216 | drm_mode_config_init(dev); |
217 | drm_mode_create_scaling_mode_property(dev); | 217 | drm_mode_create_scaling_mode_property(dev); |
218 | drm_mode_create_dvi_i_properties(dev); | ||
218 | 219 | ||
219 | if (dev_priv->card_type < NV_50) | 220 | if (dev_priv->card_type < NV_50) |
220 | gen = 0; | 221 | gen = 0; |