Commit 11575639 authored by Ben Skeggs's avatar Ben Skeggs

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

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment