linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Penna Guerra <eu@marcelopenna.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] nVidia nForce AGP fix
Date: Tue, 24 Jun 2003 19:03:14 -0300	[thread overview]
Message-ID: <200306241903.14271.eu@marcelopenna.org> (raw)

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

             reply	other threads:[~2003-06-25  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 22:03 Marcelo Penna Guerra [this message]
2003-06-26  1:09 ` [PATCH] nVidia nForce AGP fix Dave Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306241903.14271.eu@marcelopenna.org \
    --to=eu@marcelopenna.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).