xref: /netbsd-src/sys/external/bsd/drm2/radeon/files.radeon (revision 770c9d53527f316421c021ddaa11b2f94d5fbbc7)
1*770c9d53Sriastradh#	$NetBSD: files.radeon,v 1.40 2024/04/16 14:34:03 riastradh Exp $
20ab2e921Sriastradh
30ab2e921Sriastradhversion	20180827
4b81c64e1Sriastradh
5c33e688bSriastradhdefine	radeonfbbus	{ }
6de33f07eSriastradhdevice	radeon: drmkms, drmkms_pci, drmkms_ttm, radeonfbbus, firmload
76bfd56b0Sriastradhattach	radeon at pci
8b81c64e1Sriastradh
9c33e688bSriastradh# XXX Rename this to radeonfb when the legacy radeonfb(4) is gone.
10e4eb6e04Snakayamadevice	radeondrmkmsfb: radeonfbbus, drmfb, drmfb_pci, wsemuldisplaydev
11c33e688bSriastradhattach	radeondrmkmsfb at radeonfbbus
12c33e688bSriastradh
132bf97e1aSnia# This code comes from the Linux kernel, which assumes signed
142bf97e1aSnia# overflow is OK.
152bf97e1aSniamakeoptions 	radeon	"COPTS.radeon"+="-fwrapv"
162bf97e1aSnia
173673c703Sriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="${CPPFLAGS.drmkms}"
183673c703Sriastradh
194fca3d37Sriastradhmakeoptions	radeondrmkmsfb	"CPPFLAGS.radeondrmkmsfb"+="${CPPFLAGS.radeon}"
204fca3d37Sriastradh
2182307820Sriastradh# Our overrides first.
224fca3d37Sriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="-I$S/external/bsd/drm2/include/radeon"
234fca3d37Sriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="-I$S/external/bsd/drm2/radeon"
24b81c64e1Sriastradh
2582307820Sriastradh# Then their header files.
264fca3d37Sriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="-I$S/external/bsd/drm2/dist/drm/amd/include"
274fca3d37Sriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="-I$S/external/bsd/drm2/dist/drm/radeon"
2882307820Sriastradh
29681a84ebSriastradhmakeoptions	radeon	"CPPFLAGS.radeon"+="-DCONFIG_AGP=1"
30681a84ebSriastradh
31520d9dccSriastradhmakeoptions	radeon	"CWARNFLAGS.radeon"+="-Wno-missing-field-initializers"
32520d9dccSriastradhmakeoptions	radeon	"CWARNFLAGS.radeon"+="-Wno-missing-prototypes"
33e66da3d6Sriastradhmakeoptions	radeon	"CWARNFLAGS.radeon"+="-Wno-pointer-arith"
34520d9dccSriastradhmakeoptions	radeon	"CWARNFLAGS.radeon"+="-Wno-shadow"
35520d9dccSriastradhmakeoptions	radeon	"CWARNFLAGS.radeon"+="-Wno-unused-const-variable"
36b81c64e1Sriastradh
3758beaa2bSlukemmakeoptions	radeon	"CWARNFLAGS.radeon"+="${CC_WNO_MAYBE_UNINITIALIZED}"
381f9e5540Skamil
39230c41e4Slukem#makeoptions 	radeon 	"CWARNFLAGS.radeon_cs.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
40230c41e4Slukemmakeoptions 	radeon 	"CWARNFLAGS.radeon_evergreen_cs.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
41230c41e4Slukemmakeoptions 	radeon 	"CWARNFLAGS.radeon_r300.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
42230c41e4Slukemmakeoptions 	radeon 	"CWARNFLAGS.radeon_r420.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
43686787b1Stnnmakeoptions	radeon	"CWARNFLAGS.radeon_uvd.c"+="${${ACTIVE_CC} == clang:? -Wno-format :}"
449f985909Smrg
454eceee78Sriastradhfile	external/bsd/drm2/radeon/radeon_module.c		radeon
464eceee78Sriastradhfile	external/bsd/drm2/radeon/radeon_pci.c			radeon
474eceee78Sriastradh
484eceee78Sriastradhfile	external/bsd/drm2/radeon/radeondrmkmsfb.c		radeondrmkmsfb
494eceee78Sriastradh
50eb1c030bSriastradh# Generated from radeon2netbsd.
51*770c9d53Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_acpi.c	radeon
526bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_agp.c	radeon
536bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_asic.c	radeon
54c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atom.c	radeon
556bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atombios.c	radeon
56eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atombios_crtc.c	radeon
57eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atombios_dp.c	radeon
58eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atombios_encoders.c	radeon
59eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_atombios_i2c.c	radeon
6019665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_audio.c	radeon
616bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_benchmark.c	radeon
626bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_bios.c	radeon
63eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_btc_dpm.c	radeon
64eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cayman_blit_shaders.c	radeon
65eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ci_dpm.c	radeon
6649a4f930Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ci_smc.c	radeon
67c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cik.c	radeon
68c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cik_blit_shaders.c	radeon
69c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cik_sdma.c	radeon
706bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_clocks.c	radeon
716bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_combios.c	radeon
726bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_connectors.c	radeon
736bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cs.c	radeon
746bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cursor.c	radeon
75eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_cypress_dpm.c	radeon
76eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_dce3_1_afmt.c	radeon
77eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_dce6_afmt.c	radeon
786bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_device.c	radeon
796bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_display.c	radeon
8019665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_dp_auxch.c	radeon
8119665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_dp_mst.c	radeon
826bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_drv.c	radeon
836bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_encoders.c	radeon
8449a4f930Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_evergreen.c	radeon
85c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_evergreen_blit_shaders.c	radeon
86eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_evergreen_cs.c	radeon
87eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_evergreen_dma.c	radeon
88eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_evergreen_hdmi.c	radeon
896bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_fb.c	radeon
906bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_fence.c	radeon
916bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_gart.c	radeon
926bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_gem.c	radeon
936bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_i2c.c	radeon
9419665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ib.c	radeon
956bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_irq_kms.c	radeon
966bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_kms.c	radeon
97eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_kv_dpm.c	radeon
98eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_kv_smc.c	radeon
996bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_legacy_crtc.c	radeon
1006bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c	radeon
1016bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_legacy_tv.c	radeon
102eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ni.c	radeon
103eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ni_dma.c	radeon
104eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ni_dpm.c	radeon
1056bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_object.c	radeon
1066bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_pm.c	radeon
107f2331d95Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_prime.c	radeon
108eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r100.c	radeon
109eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r200.c	radeon
110eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r300.c	radeon
111eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r420.c	radeon
112eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r520.c	radeon
11349a4f930Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600.c	radeon
114c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600_blit_shaders.c	radeon
115eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600_cs.c	radeon
116eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600_dma.c	radeon
117eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600_dpm.c	radeon
118eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_r600_hdmi.c	radeon
1196bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ring.c	radeon
120eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rs400.c	radeon
121eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rs600.c	radeon
122eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rs690.c	radeon
123eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rs780_dpm.c	radeon
124eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv515.c	radeon
125eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv6xx_dpm.c	radeon
126eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv730_dpm.c	radeon
127eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv740_dpm.c	radeon
128eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv770.c	radeon
129eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv770_dma.c	radeon
130eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv770_dpm.c	radeon
131eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_rv770_smc.c	radeon
1326bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_sa.c	radeon
1336bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_semaphore.c	radeon
13449a4f930Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_si.c	radeon
135c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_si_blit_shaders.c	radeon
136eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_si_dma.c	radeon
137eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_si_dpm.c	radeon
138eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_si_smc.c	radeon
139eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_sumo_dpm.c	radeon
140eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_sumo_smc.c	radeon
14119665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_sync.c	radeon
1426bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_test.c	radeon
143c7722b48Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_trace_points.c	radeon
144eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_trinity_dpm.c	radeon
145eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_trinity_smc.c	radeon
1466bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ttm.c	radeon
14719665512Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_ucode.c	radeon
1486bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_uvd.c	radeon
149eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_uvd_v1_0.c	radeon
150eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_uvd_v2_2.c	radeon
151eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_uvd_v3_1.c	radeon
152eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_uvd_v4_2.c	radeon
1536bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_vce.c	radeon
154eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_vce_v1_0.c	radeon
155eb1c030bSriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_vce_v2_0.c	radeon
1566bfd56b0Sriastradhfile	external/bsd/drm2/dist/drm/radeon/radeon_vm.c	radeon
157