summaryrefslogtreecommitdiffstats
path: root/sys/modules/drm2/drm2/Makefile
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-12-02 14:09:54 +0000
committertijl <tijl@FreeBSD.org>2014-12-02 14:09:54 +0000
commite95768983f288fa5f88d3109455caec820930910 (patch)
tree89ae44537eee982220722dcd2f1b93ac1325c323 /sys/modules/drm2/drm2/Makefile
parent3add3ea3678a5c21421a663b803e3b25c0997db5 (diff)
downloadFreeBSD-src-e95768983f288fa5f88d3109455caec820930910.zip
FreeBSD-src-e95768983f288fa5f88d3109455caec820930910.tar.gz
MFC r273862,273902:
Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support in the radeonkms driver. Note: In PCI mode virtual addresses on the graphics card that map to system RAM are translated to physical addresses by the graphics card itself. In AGP mode address translation is done by the AGP chipset so fictitious addresses appear on the system bus. For the CPU cache management to work correctly when the CPU accesses this memory it needs to use the same fictitious addresses (and let the chipset translate them) instead of using the physical addresses directly. Reviewed by: kib
Diffstat (limited to 'sys/modules/drm2/drm2/Makefile')
-rw-r--r--sys/modules/drm2/drm2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/drm2/drm2/Makefile b/sys/modules/drm2/drm2/Makefile
index 1d6baab..3bbccb5 100644
--- a/sys/modules/drm2/drm2/Makefile
+++ b/sys/modules/drm2/drm2/Makefile
@@ -35,6 +35,7 @@ SRCS = \
drm_stub.c \
drm_sysctl.c \
drm_vm.c \
+ ttm_agp_backend.c \
ttm_lock.c \
ttm_object.c \
ttm_tt.c \
@@ -46,7 +47,6 @@ SRCS = \
ttm_page_alloc.c \
ttm_bo_vm.c \
ati_pcigart.c
-#ttm_agp_backend.c
#ttm_page_alloc_dma.c
.if ${MACHINE_CPUARCH} == "amd64"
OpenPOWER on IntegriCloud