Commit a8605db7 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://linux-dj.bkbits.net/agpgart

into home.osdl.org:/home/torvalds/v2.5/linux
parents b04d73e8 fbd6847e
...@@ -169,7 +169,8 @@ static int nvidia_insert_memory(struct agp_memory *mem, off_t pg_start, int type ...@@ -169,7 +169,8 @@ static int nvidia_insert_memory(struct agp_memory *mem, off_t pg_start, int type
mem->is_flushed = TRUE; mem->is_flushed = TRUE;
} }
for (i = 0, j = pg_start; i < mem->page_count; i++, j++) for (i = 0, j = pg_start; i < mem->page_count; i++, j++)
agp_bridge->gatt_table[nvidia_private.pg_offset + j] = mem->memory[i]; agp_bridge->gatt_table[nvidia_private.pg_offset + j] =
agp_bridge->driver->mask_memory(mem->memory[i], mem->type);
agp_bridge->driver->tlb_flush(mem); agp_bridge->driver->tlb_flush(mem);
return 0; return 0;
......
...@@ -151,6 +151,10 @@ struct agp_device_ids sis_agp_device_ids[] __initdata = ...@@ -151,6 +151,10 @@ struct agp_device_ids sis_agp_device_ids[] __initdata =
.device_id = PCI_DEVICE_ID_SI_550, .device_id = PCI_DEVICE_ID_SI_550,
.chipset_name = "550", .chipset_name = "550",
}, },
{
.device_id = PCI_DEVICE_ID_SI_655,
.chipset_name = "655",
},
{ }, /* dummy final entry, always present */ { }, /* dummy final entry, always present */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment