diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:18:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-15 12:18:07 -0400 |
commit | 66a4fe0cb80a9fde8cb173289afb863fd279466a (patch) | |
tree | e1180ba7cbd123fb2f0bf510a955704725465776 /arch | |
parent | 18240904960a39e582ced8ba8ececb10b8c22dd3 (diff) | |
parent | 121264827656f5f06328b17983c796af17dc5949 (diff) |
Merge branch 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6
* 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6:
agp/intel: remove restore in resume
agp: fix uninorth build
intel-agp: Set dma mask for i915
agp: kill phys_to_gart() and gart_to_phys()
intel-agp: fix sglist allocation to avoid vmalloc()
intel-agp: Move repeated sglist free into separate function
agp: Switch agp_{un,}map_page() to take struct page * argument
agp: tidy up handling of scratch pages w.r.t. DMA API
intel_agp: Use PCI DMA API correctly on chipsets new enough to have IOMMU
agp: Add generic support for graphics dma remapping
agp: Switch mask_memory() method to take address argument again, not page
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/ia64/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/parisc/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/powerpc/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/sparc/include/asm/agp.h | 4 | ||||
-rw-r--r-- | arch/x86/include/asm/agp.h | 4 |
6 files changed, 0 insertions, 24 deletions
diff --git a/arch/alpha/include/asm/agp.h b/arch/alpha/include/asm/agp.h index 26c179135293..a94d48b8677f 100644 --- a/arch/alpha/include/asm/agp.h +++ b/arch/alpha/include/asm/agp.h | |||
@@ -9,10 +9,6 @@ | |||
9 | #define unmap_page_from_agp(page) | 9 | #define unmap_page_from_agp(page) |
10 | #define flush_agp_cache() mb() | 10 | #define flush_agp_cache() mb() |
11 | 11 | ||
12 | /* Convert a physical address to an address suitable for the GART. */ | ||
13 | #define phys_to_gart(x) (x) | ||
14 | #define gart_to_phys(x) (x) | ||
15 | |||
16 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 12 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
17 | #define alloc_gatt_pages(order) \ | 13 | #define alloc_gatt_pages(order) \ |
18 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 14 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/ia64/include/asm/agp.h b/arch/ia64/include/asm/agp.h index c11fdd8ab4d7..01d09c401c5c 100644 --- a/arch/ia64/include/asm/agp.h +++ b/arch/ia64/include/asm/agp.h | |||
@@ -17,10 +17,6 @@ | |||
17 | #define unmap_page_from_agp(page) /* nothing */ | 17 | #define unmap_page_from_agp(page) /* nothing */ |
18 | #define flush_agp_cache() mb() | 18 | #define flush_agp_cache() mb() |
19 | 19 | ||
20 | /* Convert a physical address to an address suitable for the GART. */ | ||
21 | #define phys_to_gart(x) (x) | ||
22 | #define gart_to_phys(x) (x) | ||
23 | |||
24 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 20 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
25 | #define alloc_gatt_pages(order) \ | 21 | #define alloc_gatt_pages(order) \ |
26 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 22 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/parisc/include/asm/agp.h b/arch/parisc/include/asm/agp.h index 9651660da639..d226ffa8fc12 100644 --- a/arch/parisc/include/asm/agp.h +++ b/arch/parisc/include/asm/agp.h | |||
@@ -11,10 +11,6 @@ | |||
11 | #define unmap_page_from_agp(page) /* nothing */ | 11 | #define unmap_page_from_agp(page) /* nothing */ |
12 | #define flush_agp_cache() mb() | 12 | #define flush_agp_cache() mb() |
13 | 13 | ||
14 | /* Convert a physical address to an address suitable for the GART. */ | ||
15 | #define phys_to_gart(x) (x) | ||
16 | #define gart_to_phys(x) (x) | ||
17 | |||
18 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 14 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
19 | #define alloc_gatt_pages(order) \ | 15 | #define alloc_gatt_pages(order) \ |
20 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 16 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/powerpc/include/asm/agp.h b/arch/powerpc/include/asm/agp.h index 86455c4c31ee..416e12c2d505 100644 --- a/arch/powerpc/include/asm/agp.h +++ b/arch/powerpc/include/asm/agp.h | |||
@@ -8,10 +8,6 @@ | |||
8 | #define unmap_page_from_agp(page) | 8 | #define unmap_page_from_agp(page) |
9 | #define flush_agp_cache() mb() | 9 | #define flush_agp_cache() mb() |
10 | 10 | ||
11 | /* Convert a physical address to an address suitable for the GART. */ | ||
12 | #define phys_to_gart(x) (x) | ||
13 | #define gart_to_phys(x) (x) | ||
14 | |||
15 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 11 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
16 | #define alloc_gatt_pages(order) \ | 12 | #define alloc_gatt_pages(order) \ |
17 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 13 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/sparc/include/asm/agp.h b/arch/sparc/include/asm/agp.h index c2456870b05c..70f52c1661bc 100644 --- a/arch/sparc/include/asm/agp.h +++ b/arch/sparc/include/asm/agp.h | |||
@@ -7,10 +7,6 @@ | |||
7 | #define unmap_page_from_agp(page) | 7 | #define unmap_page_from_agp(page) |
8 | #define flush_agp_cache() mb() | 8 | #define flush_agp_cache() mb() |
9 | 9 | ||
10 | /* Convert a physical address to an address suitable for the GART. */ | ||
11 | #define phys_to_gart(x) (x) | ||
12 | #define gart_to_phys(x) (x) | ||
13 | |||
14 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 10 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
15 | #define alloc_gatt_pages(order) \ | 11 | #define alloc_gatt_pages(order) \ |
16 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 12 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |
diff --git a/arch/x86/include/asm/agp.h b/arch/x86/include/asm/agp.h index 9825cd64c9b6..eec2a70d4376 100644 --- a/arch/x86/include/asm/agp.h +++ b/arch/x86/include/asm/agp.h | |||
@@ -22,10 +22,6 @@ | |||
22 | */ | 22 | */ |
23 | #define flush_agp_cache() wbinvd() | 23 | #define flush_agp_cache() wbinvd() |
24 | 24 | ||
25 | /* Convert a physical address to an address suitable for the GART. */ | ||
26 | #define phys_to_gart(x) (x) | ||
27 | #define gart_to_phys(x) (x) | ||
28 | |||
29 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ | 25 | /* GATT allocation. Returns/accepts GATT kernel virtual address. */ |
30 | #define alloc_gatt_pages(order) \ | 26 | #define alloc_gatt_pages(order) \ |
31 | ((char *)__get_free_pages(GFP_KERNEL, (order))) | 27 | ((char *)__get_free_pages(GFP_KERNEL, (order))) |