From: Ben Skeggs Date: Wed, 24 Feb 2010 03:45:57 +0000 (+1000) Subject: drm/nv50: enable hpd on any connector we know the gpio line for X-Git-Tag: v2.6.34-rc1~209^2~12^2~6 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=1157563931dd773df2420b98eef61598205d39ec;p=net-next-2.6.git drm/nv50: enable hpd on any connector we know the gpio line for Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index ebcd8bf2406..61a89f2dc55 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -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);