drm/nv50: encoder creation failure doesn't mean full init failure
authorBen Skeggs <bskeggs@redhat.com>
Tue, 5 Mar 2013 12:26:06 +0000 (22:26 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 10 Mar 2013 22:42:52 +0000 (08:42 +1000)
It's meant as a notification only, not a fatal error.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c

index 87a5a56ed358f2dda0098f955d98c6ca0df2104b..2db57990f65c3c7c6a3aca012b30384e36942876 100644 (file)
@@ -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;
                }
        }