diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-02-09 04:35:13 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-02-18 01:37:02 +0100 |
commit | a8c13aacdc20268ced05c9bb065c5d219840205e (patch) | |
tree | 37a0843e820f81b4d5ec7fb8bfc20cf746c13426 /drivers/gpu | |
parent | drm/nouveau: fix ENG_RUNLIST register address (diff) | |
download | linux-a8c13aacdc20268ced05c9bb065c5d219840205e.tar.xz linux-a8c13aacdc20268ced05c9bb065c5d219840205e.zip |
drm/nv50/gr: add missing nv_error parameter priv
Commit ea7dce901 ("drm/nv50/gr: print mpc trap name when it's not an mp
trap") added an nv_error call that was missing the priv parameter. This
causes GPFs if the error is ever hit.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/nv50.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c index 30ed19c52e05..7a367c402978 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/nv50.c @@ -539,7 +539,7 @@ nv50_priv_tp_trap(struct nv50_graph_priv *priv, int type, u32 ustatus_old, ustatus &= ~0x04030000; } if (ustatus && display) { - nv_error("%s - TP%d:", name, i); + nv_error(priv, "%s - TP%d:", name, i); nouveau_bitfield_print(nv50_mpc_traps, ustatus); pr_cont("\n"); ustatus = 0; |