提交 11575639 编写于 作者: B Ben Skeggs

drm/nv50: enable hpd on any connector we know the gpio line for

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 7f612d87
...@@ -370,9 +370,7 @@ nv50_display_init(struct drm_device *dev) ...@@ -370,9 +370,7 @@ nv50_display_init(struct drm_device *dev)
struct nouveau_connector *conn = nouveau_connector(connector); struct nouveau_connector *conn = nouveau_connector(connector);
struct dcb_gpio_entry *gpio; struct dcb_gpio_entry *gpio;
if (connector->connector_type != DRM_MODE_CONNECTOR_DVII && if (conn->dcb->gpio_tag == 0xff)
connector->connector_type != DRM_MODE_CONNECTOR_DVID &&
connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort)
continue; continue;
gpio = nouveau_bios_gpio_entry(dev, conn->dcb->gpio_tag); gpio = nouveau_bios_gpio_entry(dev, conn->dcb->gpio_tag);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册