summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-07-26 11:35:37 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-07-26 11:44:02 +1000
commit0ccb3a75fe81ec3c4ceb7344c34d0497cbabb369 (patch)
treec54f37cb1e2b23e14fe45defa813cc0930333e78 /drivers/gpu
parentee2e013131dcf6427334663662dbe760ccdba735 (diff)
drm/nv50: fix some not-error error messages
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 0ab868722114..f13ad0de9c8f 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -380,6 +380,9 @@ nv50_display_init(struct drm_device *dev)
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
struct nouveau_connector *conn = nouveau_connector(connector);
+ if (conn->dcb->gpio_tag == 0xff)
+ continue;
+
pgpio->irq_enable(dev, conn->dcb->gpio_tag, true);
}