diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-11-25 18:03:15 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-12-02 00:44:07 -0500 |
commit | c6f37e0ce658a3a7a272c58334974e36398bab7b (patch) | |
tree | 33ce223885e75244bc59c343ad3f6bf9c150117f | |
parent | c49c0b4411c1ce7362777771ecb025e90d999e0d (diff) |
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 <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c b/drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c index 30fd1dc64f93..17251e4b9e86 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, | |||
1557 | nvc0_graph_ctor_fw(priv, "fuc409d", &priv->fuc409d) || | 1557 | nvc0_graph_ctor_fw(priv, "fuc409d", &priv->fuc409d) || |
1558 | nvc0_graph_ctor_fw(priv, "fuc41ac", &priv->fuc41ac) || | 1558 | nvc0_graph_ctor_fw(priv, "fuc41ac", &priv->fuc41ac) || |
1559 | nvc0_graph_ctor_fw(priv, "fuc41ad", &priv->fuc41ad)) | 1559 | nvc0_graph_ctor_fw(priv, "fuc41ad", &priv->fuc41ad)) |
1560 | return -EINVAL; | 1560 | return -ENODEV; |
1561 | priv->firmware = true; | 1561 | priv->firmware = true; |
1562 | } | 1562 | } |
1563 | 1563 | ||