summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-03-05 12:26:06 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-03-05 23:22:08 (GMT)
commit50db54340c0412752577001b5ab3b54e6f3b9383 (patch)
tree81add89417cb55be094c8bb446aa26ffb2705f06
parent3b2c0572011305def0d21ff1bb3f59604aebda03 (diff)
drm/nv50: encoder creation failure doesn't mean full init failure
It's meant as a notification only, not a fatal error. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 87a5a56..2db5799 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -2276,6 +2276,7 @@ nv50_display_create(struct drm_device *dev)
NV_WARN(drm, "failed to create encoder %d/%d/%d: %d\n",
dcbe->location, dcbe->type,
ffs(dcbe->or) - 1, ret);
+ ret = 0;
}
}