From: Ben Skeggs Date: Tue, 25 Nov 2014 23:03:15 +0000 (+1000) Subject: drm/gf100-/gr: return non-fatal error code when fw not present X-Git-Tag: v3.19-rc4~12^2~2^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6f37e0ce658a3a7a272c58334974e36398bab7b;p=platform%2Fkernel%2Flinux-exynos.git drm/gf100-/gr: return non-fatal error code when fw not present This allows the module to load without acceleration. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c index 30fd1dc..17251e4 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c @@ -1557,7 +1557,7 @@ nvc0_graph_ctor(struct nouveau_object *parent, struct nouveau_object *engine, nvc0_graph_ctor_fw(priv, "fuc409d", &priv->fuc409d) || nvc0_graph_ctor_fw(priv, "fuc41ac", &priv->fuc41ac) || nvc0_graph_ctor_fw(priv, "fuc41ad", &priv->fuc41ad)) - return -EINVAL; + return -ENODEV; priv->firmware = true; }