summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-02-29 13:25:55 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-02-29 13:25:55 +0100
commit2305100c0fce9ec86a22660e5fed54791cff030b (patch)
tree4cf091b00b0fb1f9471120b8fbb38d0c4cd1a666 /linux-core/drm_ttm.c
parent28d4d02d6791c15f61b718039f1d4b907f0e31e9 (diff)
More post-ioctl work.
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 a9d87338..58568452 100644
--- a/linux-core/drm_ttm.c
+++ b/linux-core/drm_ttm.c
@@ -298,7 +298,7 @@ int drm_ttm_populate(struct drm_ttm *ttm)
return 0;
be = ttm->be;
- if (ttm->page_flags & DRM_TTM_PAGE_WRITE) {
+ if (1 || (ttm->page_flags & DRM_TTM_PAGE_WRITE)) {
for (i = 0; i < ttm->num_pages; ++i) {
page = drm_ttm_get_page(ttm, i);
if (!page)