blob: 0c101eadea581a323b5990479c4e311ad8467462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/drm2/radeon
KMOD = radeonkms
SRCS = \
rn50_reg_safe.h \
r100_reg_safe.h \
r200_reg_safe.h \
rv515_reg_safe.h \
r300_reg_safe.h \
r420_reg_safe.h \
rs600_reg_safe.h \
r600_reg_safe.h \
evergreen_reg_safe.h \
cayman_reg_safe.h
SRCS += \
${radeon_acpi} \
radeon_agp.c \
radeon_asic.c \
radeon_atombios.c \
${radeon_atpx_handler} \
radeon_benchmark.c \
radeon_bios.c \
radeon_clocks.c \
radeon_combios.c \
radeon_connectors.c \
radeon_cp.c \
radeon_cs.c \
radeon_cursor.c \
radeon_device.c \
radeon_display.c \
radeon_drv.c \
radeon_encoders.c \
radeon_fb.c \
radeon_fence.c \
radeon_gart.c \
radeon_gem.c \
radeon_i2c.c \
${radeon_ioc32} \
radeon_irq.c \
radeon_irq_kms.c \
radeon_kms.c \
radeon_legacy_crtc.c \
radeon_legacy_encoders.c \
radeon_legacy_tv.c \
radeon_mem.c \
radeon_object.c \
radeon_pm.c \
radeon_ring.c \
radeon_sa.c \
radeon_semaphore.c \
radeon_state.c \
radeon_test.c \
radeon_ttm.c \
atom.c \
atombios_crtc.c \
atombios_dp.c \
atombios_encoders.c \
atombios_i2c.c \
r100.c \
r200.c \
r300.c \
r300_cmdbuf.c \
r420.c \
rs400.c \
rs600.c \
rs690.c \
rv515.c \
r520.c \
r600.c \
r600_audio.c \
r600_blit.c \
r600_blit_kms.c \
r600_blit_shaders.c \
r600_cp.c \
r600_cs.c \
r600_hdmi.c \
rv770.c \
evergreen.c \
evergreen_blit_kms.c \
evergreen_blit_shaders.c \
evergreen_cs.c \
evergreen_hdmi.c \
cayman_blit_shaders.c \
ni.c \
si.c \
si_blit_shaders.c
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
radeon_acpi= radeon_acpi.c
#radeon_atpx_handler= radeon_atpx_handler.c
.endif
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"
radeon_ioc32= radeon_ioc32.c
.endif
#radeon_prime.c
#--radeon_trace_points.c
SRCS += \
opt_acpi.h \
opt_compat.h \
opt_drm.h \
opt_syscons.h \
acpi_if.h \
bus_if.h \
fb_if.h \
device_if.h \
iicbb_if.h \
iicbus_if.h \
pci_if.h
.include <bsd.kmod.mk>
CFLAGS+= -I${.CURDIR}/../../../dev/drm2/radeon
CWARNFLAGS.radeon_cp.c= -Wno-unused-value
CWARNFLAGS.r600_cp.c= -Wno-unused-value
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|