blob: bf91482e14a33f4cc80a70e101a137c788f17b1a [file] [log] [blame]
Dave Airliec0e09202008-05-29 10:09:59 +10001#
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
Daniel Vetter2fae6a82014-03-07 09:17:21 +01005# Please keep these build lists sorted!
6
7# core driver code
8i915-y := i915_drv.o \
Daniel Vetter042794b2015-07-24 13:55:10 +02009 i915_irq.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010010 i915_params.o \
Eric Anholt673a3942008-07-30 12:06:12 -070011 i915_suspend.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010012 i915_sysfs.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020013 intel_csr.o \
Daniel Vetter9c065a72014-09-30 10:56:38 +020014 intel_pm.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020015 intel_runtime_pm.o
Daniel Vetter9c065a72014-09-30 10:56:38 +020016
Daniel Vetter2fae6a82014-03-07 09:17:21 +010017i915-$(CONFIG_COMPAT) += i915_ioc32.o
18i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o
19
20# GEM code
21i915-y += i915_cmd_parser.o \
Brad Volkin493018d2014-12-11 12:13:08 -080022 i915_gem_batch_pool.o \
Ben Widawsky254f9652012-06-04 14:42:42 -070023 i915_gem_context.o \
Eric Anholt673a3942008-07-30 12:06:12 -070024 i915_gem_debug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010025 i915_gem_dmabuf.o \
Chris Wilsonb47eb4a2010-08-07 11:01:23 +010026 i915_gem_evict.o \
Chris Wilson54cf91d2010-11-25 18:00:26 +000027 i915_gem_execbuffer.o \
28 i915_gem_gtt.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010029 i915_gem.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020030 i915_gem_render_state.o \
Daniel Vetterbe6a0372015-03-18 10:46:04 +010031 i915_gem_shrinker.o \
Chris Wilson9797fbf2012-04-24 15:47:39 +010032 i915_gem_stolen.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080033 i915_gem_tiling.o \
Chris Wilson5cc9ed42014-05-16 14:22:37 +010034 i915_gem_userptr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010035 i915_gpu_error.o \
Chris Wilson1c5d22f2009-08-25 11:15:50 +010036 i915_trace_points.o \
Oscar Mateob20385f2014-07-24 17:04:10 +010037 intel_lrc.o \
Peter Antoine3bbaba02015-07-10 20:13:11 +030038 intel_mocs.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010039 intel_ringbuffer.o \
40 intel_uncore.o
41
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030042# autogenerated null render state
43i915-y += intel_renderstate_gen6.o \
44 intel_renderstate_gen7.o \
Armin Reeseff7a60f2014-10-23 08:34:28 -070045 intel_renderstate_gen8.o \
46 intel_renderstate_gen9.o
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030047
Daniel Vetter2fae6a82014-03-07 09:17:21 +010048# modesetting core code
Jani Nikula7c10a2b2014-10-27 16:26:43 +020049i915-y += intel_audio.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020050 intel_atomic.o \
51 intel_atomic_plane.o \
Jani Nikula7c10a2b2014-10-27 16:26:43 +020052 intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080053 intel_display.o \
Rodrigo Vivi7ff0ebc2014-12-08 14:09:10 -020054 intel_fbc.o \
Daniel Vetter47339cd2014-09-30 10:56:46 +020055 intel_fifo_underrun.o \
Daniel Vetterb680c372014-09-19 18:27:27 +020056 intel_frontbuffer.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020057 intel_hotplug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010058 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010059 intel_overlay.o \
Rodrigo Vivi0bc12bc2014-11-14 08:52:28 -080060 intel_psr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010061 intel_sideband.o \
62 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010063i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010064i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
65
66# modesetting output/encoder code
67i915-y += dvo_ch7017.o \
68 dvo_ch7xxx.o \
69 dvo_ivch.o \
70 dvo_ns2501.o \
71 dvo_sil164.o \
72 dvo_tfp410.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080073 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030074 intel_ddi.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100075 intel_dp_mst.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020076 intel_dp.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010077 intel_dsi.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053078 intel_dsi_panel_vbt.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020079 intel_dsi_pll.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080080 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010081 intel_hdmi.o \
82 intel_i2c.o \
83 intel_lvds.o \
84 intel_panel.o \
85 intel_sdvo.o \
86 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100087
Yu Zhangcf9d2892015-02-10 19:05:47 +080088# virtual gpu code
89i915-y += i915_vgpu.o
90
Daniel Vetter2fae6a82014-03-07 09:17:21 +010091# legacy horrors
Daniel Vetter8634bd42015-02-23 12:03:30 +010092i915-y += i915_dma.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020093
Dave Airliec0e09202008-05-29 10:09:59 +100094obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +010095
96CFLAGS_i915_trace_points.o := -I$(src)