summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-07 17:25:13 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-07 17:25:13 +0100
commitc1fbd8a56653b91af57a408bbcf20a760a2bd8c8 (patch)
tree7da84cce76fa47b7950a2f849d2fbd4b5925b223 /linux-core/drm_ttm.c
parentaf24465b2eddfcc5296edc830ea5ed86065a4abd (diff)
Checkpoint commit.
Flag handling and memory type selection cleanup. glxgears won't start.
Diffstat (limited to 'linux-core/drm_ttm.c')
-rw-r--r--linux-core/drm_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_ttm.c b/linux-core/drm_ttm.c
index 9a2ce5cd..34282292 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -134,7 +134,7 @@ static int drm_set_caching(drm_ttm_t * ttm, int noncached)
if (do_tlbflush)
flush_agp_mappings();
- DRM_MASK_VAL(ttm->page_flags, DRM_TTM_PAGE_UNCACHED, noncached);
+ DRM_FLAG_MASKED(ttm->page_flags, noncached, DRM_TTM_PAGE_UNCACHED);
return 0;
}