xref: /openbmc/linux/drivers/gpu/drm/i915/Makefile (revision b34e08d5)
1#
2# Makefile for the drm device driver.  This driver provides support for the
3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
4
5ccflags-y := -Iinclude/drm
6
7# Please keep these build lists sorted!
8
9# core driver code
10i915-y := i915_drv.o \
11	  i915_params.o \
12          i915_suspend.o \
13	  i915_sysfs.o \
14	  intel_pm.o
15i915-$(CONFIG_COMPAT)   += i915_ioc32.o
16i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o
17
18# GEM code
19i915-y += i915_cmd_parser.o \
20	  i915_gem_context.o \
21	  i915_gem_debug.o \
22	  i915_gem_dmabuf.o \
23	  i915_gem_evict.o \
24	  i915_gem_execbuffer.o \
25	  i915_gem_gtt.o \
26	  i915_gem.o \
27	  i915_gem_stolen.o \
28	  i915_gem_tiling.o \
29	  i915_gpu_error.o \
30	  i915_irq.o \
31	  i915_trace_points.o \
32	  intel_ringbuffer.o \
33	  intel_uncore.o
34
35# modesetting core code
36i915-y += intel_bios.o \
37	  intel_display.o \
38	  intel_modes.o \
39	  intel_overlay.o \
40	  intel_sideband.o \
41	  intel_sprite.o
42i915-$(CONFIG_ACPI)		+= intel_acpi.o intel_opregion.o
43i915-$(CONFIG_DRM_I915_FBDEV)	+= intel_fbdev.o
44
45# modesetting output/encoder code
46i915-y += dvo_ch7017.o \
47	  dvo_ch7xxx.o \
48	  dvo_ivch.o \
49	  dvo_ns2501.o \
50	  dvo_sil164.o \
51	  dvo_tfp410.o \
52	  intel_crt.o \
53	  intel_ddi.o \
54	  intel_dp.o \
55	  intel_dsi_cmd.o \
56	  intel_dsi.o \
57	  intel_dsi_pll.o \
58	  intel_dvo.o \
59	  intel_hdmi.o \
60	  intel_i2c.o \
61	  intel_lvds.o \
62	  intel_panel.o \
63	  intel_sdvo.o \
64	  intel_tv.o
65
66# legacy horrors
67i915-y += i915_dma.o \
68	  i915_ums.o
69
70obj-$(CONFIG_DRM_I915)  += i915.o
71
72CFLAGS_i915_trace_points.o := -I$(src)
73