summaryrefslogtreecommitdiff
path: root/linux-core/drm_bo.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-10-16 10:49:58 +1000
committerDave Airlie <airlied@redhat.com>2008-10-16 10:49:58 +1000
commitfc33686ef044a4a59d48da2a648a0c2d0a1a7fd6 (patch)
treee3d13d840ca30a61d31f77b2c73ae6e0788c6733 /linux-core/drm_bo.c
parente4fa03f7ddb86720fa19cfc839689e1df72bb928 (diff)
drm/radeon: initial suspend/resume fix.
This enables the evict code and also sets radeon up to allow evict from VRAM to LOCAL
Diffstat (limited to 'linux-core/drm_bo.c')
-rw-r--r--linux-core/drm_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index ecf65c20..94a81559 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -2126,7 +2126,7 @@ void drm_bo_evict_mm(struct drm_device *dev, int mem_type, int no_wait)
drm_bo_usage_deref_unlocked(&entry);
mutex_lock(&dev->struct_mutex);
- } while(0);
+ } while(1);
mutex_unlock(&dev->struct_mutex);