nouveau: no suspend support for nv50+

main
Stuart Bennett 2008-10-25 20:59:38 +01:00
parent e37bd24d3c
commit 408fc85a21
1 changed files with 5 additions and 0 deletions

View File

@ -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)