Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-radeon enable KM...
details: https://anonhg.NetBSD.org/src/rev/e96391ccc4b0
branches: trunk
changeset: 330984:e96391ccc4b0
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 26 08:05:15 2014 +0000
description:
enable KMS on x86.
diffstat:
external/mit/xorg/server/drivers/xf86-video-radeon/Makefile | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r f1fd8ee7a509 -r e96391ccc4b0 external/mit/xorg/server/drivers/xf86-video-radeon/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-radeon/Makefile Sat Jul 26 08:04:54 2014 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-radeon/Makefile Sat Jul 26 08:05:15 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/06/12 12:26:42 rjs Exp $
+# $NetBSD: Makefile,v 1.15 2014/07/26 08:05:15 mrg Exp $
.include <bsd.own.mk>
@@ -16,7 +16,11 @@
CPPFLAGS+= ${X11FLAGS.DRI}
.endif
-#RADEON_KMS_SRCS=radeon_dri2.c radeon_kms.c drmmode_display.c radeon_vbo.c
+# XXX
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+SRCS.KMS= radeon_dri2.c radeon_kms.c drmmode_display.c radeon_vbo.c
+CPPFLAGS+= -DXF86DRM_MODE
+.endif
SRCS.EXA= radeon_exa.c r600_exa.c r6xx_accel.c \
r600_textured_videofuncs.c r600_shader.c \
@@ -32,7 +36,8 @@
radeon_crtc.c radeon_output.c radeon_modes.c radeon_tv.c \
radeon_legacy_memory.c radeon_pm.c radeon_xvmc.c \
$(SRCS.ATOMBIOS) radeon_atombios.c radeon_atomwrapper.c \
- $(SRCS.DRI) $(SRCS.EXA) atombios_output.c atombios_crtc.c
+ $(SRCS.DRI) $(SRCS.EXA) atombios_output.c atombios_crtc.c \
+ $(SRCS.KMS)
MAN= radeon.4
CPPFLAGS+= -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS \
Home |
Main Index |
Thread Index |
Old Index