Displaying 1 result from an estimated 1 matches for "nouveau_graph_init".
2014 Jul 15
0
[PATCH] graph/nve4: do not crash if no power device present
...aph/nve4.c
index 1ba6666da4e5..fb9cb929320d 100644
--- a/nvkm/engine/graph/nve4.c
+++ b/nvkm/engine/graph/nve4.c
@@ -203,7 +203,8 @@ nve4_graph_init(struct nouveau_object *object)
int gpc, tpc, rop;
int ret, i;
- ppwr->pgob(ppwr, false);
+ if (ppwr)
+ ppwr->pgob(ppwr, false);
ret = nouveau_graph_init(&priv->base);
if (ret)
--
2.0.1