Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185610
b: refs/heads/master
c: e3deb20
h: refs/heads/master
v: v3
  • Loading branch information
Eric Anholt committed Feb 26, 2010
1 parent 56b1453 commit c6bddba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6e450a6417460db6a74241de8aaab5116cac140
refs/heads/master: e3deb204c69c485c88c990f07b71be10a464e508
5 changes: 5 additions & 0 deletions trunk/drivers/char/agp/intel-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,11 @@ static void intel_agp_insert_sg_entries(struct agp_memory *mem,
off_t pg_start, int mask_type)
{
int i, j;
u32 cache_bits = 0;

if (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB) {
cache_bits = I830_PTE_SYSTEM_CACHED;
}

for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {
writel(agp_bridge->driver->mask_memory(agp_bridge,
Expand Down

0 comments on commit c6bddba

Please sign in to comment.