drm/nv50: enable hpd on any connector we know the gpio line for
authorBen Skeggs <bskeggs@redhat.com>
Wed, 24 Feb 2010 03:45:57 +0000 (13:45 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 05:09:34 +0000 (15:09 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index ebcd8bf2406fa7eab1c564a1b84b8bd6af4a5f3f..61a89f2dc5535ecf1d74f08b9c342727997c1766 100644 (file)
@@ -370,9 +370,7 @@ nv50_display_init(struct drm_device *dev)
                struct nouveau_connector *conn = nouveau_connector(connector);
                struct dcb_gpio_entry *gpio;
 
-               if (connector->connector_type != DRM_MODE_CONNECTOR_DVII &&
-                   connector->connector_type != DRM_MODE_CONNECTOR_DVID &&
-                   connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort)
+               if (conn->dcb->gpio_tag == 0xff)
                        continue;
 
                gpio = nouveau_bios_gpio_entry(dev, conn->dcb->gpio_tag);