]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
agp/intel: Reduce extraneous PCI posting reads during init
authorKeith Packard <keithp@keithp.com>
Wed, 15 Oct 2008 00:18:45 +0000 (17:18 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Oct 2008 04:10:11 +0000 (14:10 +1000)
commit44d494417278e49f5b42bd3ded1801b6d2254db8
treecb4cc026102f45995b417aa7656763bbdeaebc49
parent82e14a6215cbc9804ecc35281e973c6c8ce22fe7
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@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/intel-agp.c