xref: /linux/drivers/gpu/drm/vc4/Makefile (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1# SPDX-License-Identifier: GPL-2.0
2# Please keep these build lists sorted!
3
4# core driver code
5vc4-y := \
6	vc4_bo.o \
7	vc4_crtc.o \
8	vc4_drv.o \
9	vc4_dpi.o \
10	vc4_dsi.o \
11	vc4_fence.o \
12	vc4_kms.o \
13	vc4_gem.o \
14	vc4_hdmi.o \
15	vc4_hdmi_phy.o \
16	vc4_vec.o \
17	vc4_hvs.o \
18	vc4_irq.o \
19	vc4_perfmon.o \
20	vc4_plane.o \
21	vc4_render_cl.o \
22	vc4_trace_points.o \
23	vc4_txp.o \
24	vc4_v3d.o \
25	vc4_validate.o \
26	vc4_validate_shaders.o
27
28vc4-$(CONFIG_DRM_VC4_KUNIT_TEST) += \
29	tests/vc4_mock.o \
30	tests/vc4_mock_crtc.o \
31	tests/vc4_mock_output.o \
32	tests/vc4_mock_plane.o \
33	tests/vc4_test_pv_muxing.o
34
35vc4-$(CONFIG_DEBUG_FS) += vc4_debugfs.o
36
37obj-$(CONFIG_DRM_VC4)  += vc4.o
38