diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2009-02-24 20:35:14 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-25 07:09:52 -0500 |
commit | 17581ad812a9abb0182260374ef2e52d4a808a64 (patch) | |
tree | d105f3b5bffb879c57516d7a477e787104183d52 /arch/x86/include/asm/iomap.h | |
parent | 7880f7464546842ee14179bef16a6e14381ea638 (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.h | 5 |
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 | ||
26 | int | 26 | int |
27 | is_io_mapping_possible(resource_size_t base, unsigned long size); | 27 | reserve_io_memtype_wc(u64 base, unsigned long size, pgprot_t *prot); |
28 | |||
29 | void | ||
30 | free_io_memtype(u64 base, unsigned long size); | ||
28 | 31 | ||
29 | void * | 32 | void * |
30 | iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot); | 33 | iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot); |