summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-22 10:59:26 +0000
committerkib <kib@FreeBSD.org>2012-05-22 10:59:26 +0000
commita86ecb8bca0f478cb6325ffbbf205725977ce44f (patch)
treee6afbd6f7e5c4cb4870a1d48de3fee3bb1ea78d1 /sys/modules
parent1efd81b29756f20e1a8bfbd51a184b918fb1880d (diff)
downloadFreeBSD-src-a86ecb8bca0f478cb6325ffbbf205725977ce44f.zip
FreeBSD-src-a86ecb8bca0f478cb6325ffbbf205725977ce44f.tar.gz
A rewrite of the i810 bits of the agp(4) driver. New driver supports
operations required by GEMified i915.ko. It also attaches to SandyBridge and IvyBridge CPU northbridges now. Sponsored by: The FreeBSD Foundation MFC after: 1 month
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/agp/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/modules/agp/Makefile b/sys/modules/agp/Makefile
index 9e28657..17c8128 100644
--- a/sys/modules/agp/Makefile
+++ b/sys/modules/agp/Makefile
@@ -33,4 +33,16 @@ EXPORT_SYMS= agp_find_device \
agp_unbind_memory \
agp_memory_info
+
+.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+EXPORT_SYMS+= intel_gtt_clear_range \
+ intel_gtt_insert_pages \
+ intel_gtt_get \
+ intel_gtt_chipset_flush \
+ intel_gtt_unmap_memory \
+ intel_gtt_map_memory \
+ intel_gtt_insert_sg_entries \
+ intel_gtt_get_bridge_device
+.endif
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud