Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196419
b: refs/heads/master
c: 975efdb
h: refs/heads/master
i:
  196417: 7243d0a
  196415: 0af11be
v: v3
  • Loading branch information
Pauli Nieminen authored and Dave Airlie committed Apr 6, 2010
1 parent 1f1d14e commit 6029606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 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: 4f64625412be120cef9e9b97e88c406ec2c78027
refs/heads/master: 975efdb1bf925ad48d4e3fe5339a85f12601e10d
12 changes: 1 addition & 11 deletions trunk/drivers/gpu/drm/ttm/ttm_page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,7 @@ static struct ttm_pool_manager _manager = {
.page_alloc_inited = ATOMIC_INIT(0)
};

#ifdef CONFIG_X86
/* TODO: add this to x86 like _uc, this version here is inefficient */
static int set_pages_array_wc(struct page **pages, int addrinarray)
{
int i;

for (i = 0; i < addrinarray; i++)
set_memory_wc((unsigned long)page_address(pages[i]), 1);
return 0;
}
#else
#ifndef CONFIG_X86
static int set_pages_array_wb(struct page **pages, int addrinarray)
{
#ifdef TTM_HAS_AGP
Expand Down

0 comments on commit 6029606

Please sign in to comment.