search for: phys_to_gart

Displaying 2 results from an estimated 2 matches for "phys_to_gart".

2007 Oct 12
1
Asus P5B-VM DO board?
...lloc' follows non-static declaration include/linux/slab.h:103: warning: previous declaration of 'kcalloc' was here /root/intel/drm/linux-core/drm_agpsupport.c: In function `drm_agp_populate': /root/intel/drm/linux-core/drm_agpsupport.c:531: warning: implicit declaration of function `phys_to_gart' /root/intel/drm/linux-core/drm_agpsupport.c: In function `drm_agp_init_ttm': /root/intel/drm/linux-core/drm_agpsupport.c:643: error: structure has no member named `bridge' make[2]: *** [/root/intel/drm/linux-core/drm_agpsupport.o] Error 1 make[1]: *** [_module_/root/intel/drm/linux-cor...
2006 Jan 16
13
Support for AGP aperture as IOMMU in AMD64 mode [2/2]
...0,7 @@ #include <asm/proto.h> #include <asm/cacheflush.h> #include <asm/kdebug.h> +#include <asm-xen/xen-public/memory.h> dma_addr_t bad_dma_address; @@ -39,6 +40,11 @@ u32 *iommu_gatt_base; /* Remapping table */ +/* gart remapping */ +#define virt_to_gart(x) (phys_to_gart(virt_to_phys(x))) +#define gart_to_virt(x) (phys_to_virt(gart_to_phys(x))) +#include <asm-xen/asm-i386/agp.h> + int no_iommu; static int no_agp; #ifdef CONFIG_IOMMU_DEBUG @@ -416,7 +422,7 @@ if (!dev) dev = &fallback_dev; - phys_mem = virt_to_phys(addr); + phys_mem = virt_to_...