diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-04-01 03:50:18 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-16 04:48:06 +0400 |
commit | 2703c21a82301f5c31ba5679e2d56422bd4cd404 (patch) | |
tree | 5c47247ff2ea9b103ecc7492bce19e2577b2e489 /drivers/gpu/drm/nouveau/nouveau_drv.c | |
parent | 6dfdd7a61e8fc25552d9de1cb25272324dfc4c13 (diff) | |
download | linux-2703c21a82301f5c31ba5679e2d56422bd4cd404.tar.xz |
drm/nv50/gr: move to exec engine interfaces
This needs a massive cleanup, but to catch bugs from the interface changes
vs the engine code cleanup, this will be done later.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c index 30b9e89a3a2a..ba871736fc14 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.c +++ b/drivers/gpu/drm/nouveau/nouveau_drv.c @@ -217,7 +217,8 @@ nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state) pfifo->reassign(dev, false); pfifo->disable(dev); pfifo->unload_context(dev); - pgraph->unload_context(dev); + if (pgraph->unload_context) + pgraph->unload_context(dev); ret = pinstmem->suspend(dev); if (ret) { |