[PATCH] nVidia nForce AGP fix

Marcelo Penna Guerra (eu@marcelopenna.org)
Tue, 24 Jun 2003 19:03:14 -0300


--Boundary-00=_iqM++wNNPHmPK3s
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--Boundary-00=_iqM++wNNPHmPK3s
Content-Type: text/x-diff;
charset="us-ascii";
name="nvagp.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="nvagp.diff"

--- agpgart_be.c 2003-06-24 18:24:31.000000000 -0300
+++ agpgart_be.c.new 2003-06-24 18:30:53.000000000 -0300
@@ -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);

--Boundary-00=_iqM++wNNPHmPK3s--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/