aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/iomap.h
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2009-02-24 20:35:14 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-25 07:09:52 -0500
commit17581ad812a9abb0182260374ef2e52d4a808a64 (patch)
treed105f3b5bffb879c57516d7a477e787104183d52 /arch/x86/include/asm/iomap.h
parent7880f7464546842ee14179bef16a6e14381ea638 (diff)
gpu/drm, x86, PAT: PAT support for io_mapping_*
Make io_mapping_create_wc and io_mapping_free go through PAT to make sure that there are no memory type aliases. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Eric Anholt <eric@anholt.net> Cc: Keith Packard <keithp@keithp.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/iomap.h')
-rw-r--r--arch/x86/include/asm/iomap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/include/asm/iomap.h b/arch/x86/include/asm/iomap.h
index 86af26091d6c..bd46495ff7de 100644
--- a/arch/x86/include/asm/iomap.h
+++ b/arch/x86/include/asm/iomap.h
@@ -24,7 +24,10 @@
24#include <asm/tlbflush.h> 24#include <asm/tlbflush.h>
25 25
26int 26int
27is_io_mapping_possible(resource_size_t base, unsigned long size); 27reserve_io_memtype_wc(u64 base, unsigned long size, pgprot_t *prot);
28
29void
30free_io_memtype(u64 base, unsigned long size);
28 31
29void * 32void *
30iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot); 33iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot);