Skip to contentSkip to conversation

nVidia nForce AGP fix

PATCH In review Marcelo Penna Guerra 2 participants 2 messages Jun 25, 2003 – Jun 26, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nVidia nForce AGP fix

Hi,

nVidia nForce AGP is broken in 2.4.21-ac2. This patch fixed it for me. I think 2.5.x needs a similar fix too.

Marcelo Penna Guerra

agpgart_be.c.new renamed from agpgart_be.c +1 -1
@@ -4285,7 +4285,7 @@
 		mem->is_flushed = TRUE;
 	}
 	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.mask_memory(mem->memory[i], mem->type);
 	}
 
 	agp_bridge.tlb_flush(mem);
#1 lore raw
Quoted 2 lines · Marcelo Penna Guerra

nVidia nForce AGP is broken in 2.4.21-ac2. This patch fixed it for me. I think 2.5.x needs a similar fix too.

Looks like you're right. Good catch. Fixed in my pending tree.

Dave