summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2011-11-06 20:32:03 +0100
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:30 +1000
commit13f90122e87e30615d0e877337a76bf020c7f043 (patch)
tree2b43658301c5968a719fd2a8a201c95e78f513f2 /drivers/gpu/drm/nouveau
parent0f0f7be8bdfc31f21b4a6b7e02a63b1b26b00123 (diff)
downloadblackbird-op-linux-13f90122e87e30615d0e877337a76bf020c7f043.tar.gz
blackbird-op-linux-13f90122e87e30615d0e877337a76bf020c7f043.zip
drm/nouveau: print correct engine number which failed to unload/idle
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index c033a0a4f2b2..ffde896b1f3c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -222,7 +222,7 @@ nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state)
ret = dev_priv->eng[e]->fini(dev, e, true);
if (ret) {
- NV_ERROR(dev, "... engine %d failed: %d\n", i, ret);
+ NV_ERROR(dev, "... engine %d failed: %d\n", e, ret);
goto out_abort;
}
}
OpenPOWER on IntegriCloud