mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
drm/nouveau: don't pretend to support the DVI-I 'select subconnector' prop
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
de69185573
commit
4ceca5f864
@ -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 &&
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user