summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-03-05 22:26:06 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-03-11 08:42:52 +1000
commit94f54f5336aac6801f2a14dcb12467e41b35456a (patch)
treed462b5bafb014066660021e147d3ebab5845e3e0 /drivers/gpu
parent9f9bdaaf07dee47f73a160e6e4c64f67ee26c1d7 (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>
Diffstat (limited to 'drivers/gpu')
-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 87a5a56ed35..2db57990f65 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;
}
}