summaryrefslogtreecommitdiff
path: root/linux-core/drm_agpsupport.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-12 16:10:47 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-12 16:10:47 +0200
commit540c64c378daafaad1c3f63faf5af81f39388665 (patch)
tree5a30f057b23b97a0d4a2b752eb6a544b907574e2 /linux-core/drm_agpsupport.c
parent10150df02b7062b9975661ccd82b475cd23c8839 (diff)
Bugfixes.
Diffstat (limited to 'linux-core/drm_agpsupport.c')
-rw-r--r--linux-core/drm_agpsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_agpsupport.c b/linux-core/drm_agpsupport.c
index 902b8947..d9fd9c92 100644
--- a/linux-core/drm_agpsupport.c
+++ b/linux-core/drm_agpsupport.c
@@ -559,7 +559,7 @@ int drm_agp_unbind_memory(DRM_AGP_MEM * handle)
*/
static int drm_agp_needs_unbind_cache_adjust(drm_ttm_backend_t *backend) {
- return ((backend->flags & DRM_BE_FLAG_BOUND_CACHED) ? 1 : 0);
+ return ((backend->flags & DRM_BE_FLAG_BOUND_CACHED) ? 0 : 1);
}