summaryrefslogtreecommitdiff
path: root/nvkm
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-11-26 09:03:15 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 15:37:22 +1000
commit95b4cd613432a9e4d6c1fa80a835b3bd06b5b131 (patch)
tree29aac09a038f1148ca963993008bd64772ec72bd /nvkm
parent39d90a2194ddcc8e6114d84b81b84ba94ecc1930 (diff)
gr/gf100-: return non-fatal error code when fw not present
This allows the module to load without acceleration. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm')
-rw-r--r--nvkm/engine/graph/nvc0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvkm/engine/graph/nvc0.c b/nvkm/engine/graph/nvc0.c
index 30fd1dc6..17251e4b 100644
--- a/nvkm/engine/graph/nvc0.c
+++ b/nvkm/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;
}