linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nVidia nForce AGP fix
@ 2003-06-24 22:03 Marcelo Penna Guerra
  2003-06-26  1:09 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Penna Guerra @ 2003-06-24 22:03 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

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

[-- Attachment #2: nvagp.diff --]
[-- Type: text/x-diff, Size: 440 bytes --]

--- 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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] nVidia nForce AGP fix
  2003-06-24 22:03 [PATCH] nVidia nForce AGP fix Marcelo Penna Guerra
@ 2003-06-26  1:09 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2003-06-26  1:09 UTC (permalink / raw)
  To: Marcelo Penna Guerra; +Cc: linux-kernel

On Tue, Jun 24, 2003 at 07:03:14PM -0300, Marcelo Penna Guerra wrote:

 > 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-26  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-24 22:03 [PATCH] nVidia nForce AGP fix Marcelo Penna Guerra
2003-06-26  1:09 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).