Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228731
b: refs/heads/master
c: b47cf66
h: refs/heads/master
i:
  228729: dfd0781
  228727: 0b2ed7c
v: v3
  • Loading branch information
Daniel Vetter authored and Chris Wilson committed Nov 23, 2010
1 parent cad64e4 commit b9997c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: e384eafc1c2f4f10155fe25324afe51129ec3e6a
refs/heads/master: b47cf66f315a258c458ed4345c443dba396fb787
8 changes: 1 addition & 7 deletions trunk/drivers/char/agp/intel-gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,14 +896,8 @@ static void i830_write_entry(dma_addr_t addr, unsigned int entry,
{
u32 pte_flags = I810_PTE_VALID;

switch (flags) {
case AGP_DCACHE_MEMORY:
pte_flags |= I810_PTE_LOCAL;
break;
case AGP_USER_CACHED_MEMORY:
if (flags == AGP_USER_CACHED_MEMORY)
pte_flags |= I830_PTE_SYSTEM_CACHED;
break;
}

writel(addr | pte_flags, intel_private.gtt + entry);
}
Expand Down

0 comments on commit b9997c9

Please sign in to comment.