diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-03-05 22:26:06 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-03-11 08:42:52 +1000 |
commit | 94f54f5336aac6801f2a14dcb12467e41b35456a (patch) | |
tree | d462b5bafb014066660021e147d3ebab5845e3e0 | |
parent | 9f9bdaaf07dee47f73a160e6e4c64f67ee26c1d7 (diff) | |
download | linux-94f54f5336aac6801f2a14dcb12467e41b35456a.tar.bz2 |
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.c | 1 |
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 87a5a56ed358..2db57990f65c 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; } } |