Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156027
b: refs/heads/master
c: b42db2b
h: refs/heads/master
i:
  156025: ab648aa
  156023: ac306d3
v: v3
  • Loading branch information
Dave Airlie committed Jul 29, 2009
1 parent 21c4a18 commit 5c1b7fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea3c13bd8c2ed1d3670bd72e60f562a427355fdf
refs/heads/master: b42db2b12df7b4f7b2ace581a7726cb5bcb2d658
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/ttm/ttm_tt.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,15 @@ static void ttm_tt_free_page_directory(struct ttm_tt *ttm)

static struct page *ttm_tt_alloc_page(unsigned page_flags)
{
gfp_t gfp_flags = GFP_HIGHUSER;
gfp_t gfp_flags = GFP_USER;

if (page_flags & TTM_PAGE_FLAG_ZERO_ALLOC)
gfp_flags |= __GFP_ZERO;

if (page_flags & TTM_PAGE_FLAG_DMA32)
gfp_flags |= __GFP_DMA32;
else
gfp_flags |= __GFP_HIGHMEM;

return alloc_page(gfp_flags);
}
Expand Down

0 comments on commit 5c1b7fc

Please sign in to comment.