diff options
-rw-r--r-- | shared-core/nouveau_state.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index afddca0a..e0419423 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -709,6 +709,11 @@ static int nouveau_suspend(struct drm_device *dev) struct nouveau_engine *engine = &dev_priv->Engine; int i; + if (dev_priv->card_type >= NV_50) { + DRM_DEBUG("Suspend not supported for NV50+\n"); + return -ENODEV; + } + drm_free(susres->ramin_copy, susres->ramin_size, DRM_MEM_DRIVER); susres->ramin_size = 0; list_for_each(p, dev_priv->ramin_heap) |