Skip to content

Commit

Permalink
drm/nouveau: don't pretend to support the DVI-I 'select subconnector'…
Browse files Browse the repository at this point in the history
… prop

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 21, 2011
1 parent de69185 commit 4ceca5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/gpu/drm/nouveau/nouveau_connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,11 +935,8 @@ nouveau_connector_create(struct drm_device *dev, int index)
}

/* Init DVI-I specific properties */
if (dcb->type == DCB_CONNECTOR_DVI_I) {
drm_mode_create_dvi_i_properties(dev);
if (dcb->type == DCB_CONNECTOR_DVI_I)
drm_connector_attach_property(connector, dev->mode_config.dvi_i_subconnector_property, 0);
drm_connector_attach_property(connector, dev->mode_config.dvi_i_select_subconnector_property, 0);
}

/* Add overscan compensation options to digital outputs */
if (disp->underscan_property &&
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nouveau_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ nouveau_display_create(struct drm_device *dev)

drm_mode_config_init(dev);
drm_mode_create_scaling_mode_property(dev);
drm_mode_create_dvi_i_properties(dev);

if (dev_priv->card_type < NV_50)
gen = 0;
Expand Down

0 comments on commit 4ceca5f

Please sign in to comment.