]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/char/agp/nvidia-agp.c
agp: enable optimized agp_alloc_pages methods
authorRene Herman <rene.herman@keyaccess.nl>
Thu, 21 Aug 2008 17:15:46 +0000 (19:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Aug 2008 04:07:33 +0000 (06:07 +0200)
commit5f310b63781f6777bf4e812570560ec0f8ea42d8
tree74601f57c2d89f230b85bd0bf7be99663a73ef9d
parentc5e147cf5aeb31aa1a9030be9727914855fc4133
agp: enable optimized agp_alloc_pages methods

The pageattr-array patch that you currently have in tip/master only
enables it for intel-agp, not the others. The attached enables it for
all drivers currently directly using agp_generic_alloc_page() and
agp_generic_destroy_page() (ocal driver is amd-k7-agp).

The new agp_generic_alloc_pages() interface uses the also new
pageattr array interface API. This makes all AGP drivers that
up to now used generic_{alloc,destroy}_page() use it.

Signed-off-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
13 files changed:
drivers/char/agp/alpha-agp.c
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd64-agp.c
drivers/char/agp/ati-agp.c
drivers/char/agp/efficeon-agp.c
drivers/char/agp/hp-agp.c
drivers/char/agp/i460-agp.c
drivers/char/agp/nvidia-agp.c
drivers/char/agp/parisc-agp.c
drivers/char/agp/sis-agp.c
drivers/char/agp/sworks-agp.c
drivers/char/agp/uninorth-agp.c
drivers/char/agp/via-agp.c