summaryrefslogtreecommitdiff
path: root/linux-core/drm_agpsupport.c
diff options
context:
space:
mode:
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);
}