[git pull] agp patches for 2.6.28-rc1.

From: Dave Airlie
Date: Thu Oct 16 2008 - 03:00:17 EST



Hi Linus,

Please pull the 'agp-next' branch from
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6.git agp-next

This just contains some suspend/resume fixes for the SiS, Intel memory
sizing fix for new hw, and support for more memory types on the nvidia
AGP.

Dave.

drivers/char/agp/amd-k7-agp.c | 38 ++++++++++++++++++++++++++++++++------
drivers/char/agp/intel-agp.c | 18 ++++++++++--------
drivers/char/agp/nvidia-agp.c | 22 ++++++++++++++++++----
3 files changed, 60 insertions(+), 18 deletions(-)

commit a64d2b37c2259e169759c1701ac565f0a11dc0ea
Author: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Date: Wed Sep 10 14:13:33 2008 +0200

agp/nvidia: Support agp user-memory on nvidia agp.

This adds user memory support required for TTM to the nvidia AGP driver.

Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>

commit 2a32c3c894bcd3b3f8cc7e23f5ecbebca4a9f8e8
Author: Stuart Bennett <stuart@xxxxxxxxxxxxxxx>
Date: Tue Aug 12 15:19:18 2008 +0100

agp/amd-k7: Suspend support for AMD K7 GART driver

Reinitialize bridge registers after suspend, but avoid repeating the ioremap

Tested and works on AMD761

Signed-off-by: Stuart Bennett <stuart@xxxxxxxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>

commit 44d494417278e49f5b42bd3ded1801b6d2254db8
Author: Keith Packard <keithp@xxxxxxxxxx>
Date: Tue Oct 14 17:18:45 2008 -0700

agp/intel: Reduce extraneous PCI posting reads during init

Instead of doing a posting read after each GTT entry update, do a single one
at the end of the writes. This should reduce boot time a tiny amount by
avoiding a lot of extra uncached reads.

Signed-off-by: Keith Packard <keithp@xxxxxxxxxx>
Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>

commit 82e14a6215cbc9804ecc35281e973c6c8ce22fe7
Author: Eric Anholt <eric@xxxxxxxxxx>
Date: Tue Oct 14 11:28:58 2008 -0700

agp: Fix stolen memory counting on G4X.

On the GM45, the amount of stolen memory mapped to the GTT was underestimated,
even though we had 508KB more available since the GTT doesn't take from
stolen memory. On the non-GM45 G4X, we overestimated how much stolen was
mapped to the GTT by 4KB, resulting in GPU page faults when that page was
accessed.

This update requires a corresponding update to xf86-video-intel to work
correctly.

Signed-off-by: Eric Anholt <eric@xxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/