projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37bd24
)
nouveau: no suspend support for nv50+
author
Stuart Bennett
<sb476@cam.ac.uk>
Sat, 25 Oct 2008 19:59:38 +0000
(20:59 +0100)
committer
Stuart Bennett
<sb476@cam.ac.uk>
Thu, 29 Jan 2009 23:53:01 +0000
(23:53 +0000)
shared-core/nouveau_state.c
patch
|
blob
|
history
diff --git
a/shared-core/nouveau_state.c
b/shared-core/nouveau_state.c
index
afddca0
..
e041942
100644
(file)
--- 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)