summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/gart-mapping.h
blob: ada497b0b55b5edf6ae44d51fbb3c6fdc4b900a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _X8664_GART_MAPPING_H
#define _X8664_GART_MAPPING_H 1

#include <linux/types.h>
#include <asm/types.h>

struct device;

extern void*
gart_alloc_coherent(struct device *dev, size_t size,
        dma_addr_t *dma_handle, gfp_t gfp);

extern int
gart_dma_supported(struct device *hwdev, u64 mask);

#endif /* _X8664_GART_MAPPING_H */