blob: cc359e0e66789731b127aef430dfce5be6deec02 [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 \
Daniel Vetter41a36b72015-07-24 13:55:11 +020028 i915_gem_fence.o \
Chris Wilson54cf91d2010-11-25 18:00:26 +000029 i915_gem_gtt.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010030 i915_gem.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020031 i915_gem_render_state.o \
Daniel Vetterbe6a0372015-03-18 10:46:04 +010032 i915_gem_shrinker.o \
Chris Wilson9797fbf2012-04-24 15:47:39 +010033 i915_gem_stolen.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080034 i915_gem_tiling.o \
Chris Wilson5cc9ed42014-05-16 14:22:37 +010035 i915_gem_userptr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010036 i915_gpu_error.o \
Chris Wilson1c5d22f2009-08-25 11:15:50 +010037 i915_trace_points.o \
Oscar Mateob20385f2014-07-24 17:04:10 +010038 intel_lrc.o \
Peter Antoine3bbaba02015-07-10 20:13:11 +030039 intel_mocs.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010040 intel_ringbuffer.o \
41 intel_uncore.o
42
Alex Dai33a732f2015-08-12 15:43:36 +010043# general-purpose microcontroller (GuC) support
44i915-y += intel_guc_loader.o
45
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030046# autogenerated null render state
47i915-y += intel_renderstate_gen6.o \
48 intel_renderstate_gen7.o \
Armin Reeseff7a60f2014-10-23 08:34:28 -070049 intel_renderstate_gen8.o \
50 intel_renderstate_gen9.o
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030051
Daniel Vetter2fae6a82014-03-07 09:17:21 +010052# modesetting core code
Jani Nikula7c10a2b2014-10-27 16:26:43 +020053i915-y += intel_audio.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020054 intel_atomic.o \
55 intel_atomic_plane.o \
Jani Nikula7c10a2b2014-10-27 16:26:43 +020056 intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080057 intel_display.o \
Rodrigo Vivi7ff0ebc2014-12-08 14:09:10 -020058 intel_fbc.o \
Daniel Vetter47339cd2014-09-30 10:56:46 +020059 intel_fifo_underrun.o \
Daniel Vetterb680c372014-09-19 18:27:27 +020060 intel_frontbuffer.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020061 intel_hotplug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010062 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010063 intel_overlay.o \
Rodrigo Vivi0bc12bc2014-11-14 08:52:28 -080064 intel_psr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010065 intel_sideband.o \
66 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010067i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010068i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
69
70# modesetting output/encoder code
71i915-y += dvo_ch7017.o \
72 dvo_ch7xxx.o \
73 dvo_ivch.o \
74 dvo_ns2501.o \
75 dvo_sil164.o \
76 dvo_tfp410.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080077 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030078 intel_ddi.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100079 intel_dp_mst.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020080 intel_dp.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010081 intel_dsi.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053082 intel_dsi_panel_vbt.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020083 intel_dsi_pll.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080084 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010085 intel_hdmi.o \
86 intel_i2c.o \
87 intel_lvds.o \
88 intel_panel.o \
89 intel_sdvo.o \
90 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100091
Yu Zhangcf9d2892015-02-10 19:05:47 +080092# virtual gpu code
93i915-y += i915_vgpu.o
94
Daniel Vetter2fae6a82014-03-07 09:17:21 +010095# legacy horrors
Daniel Vetter8634bd42015-02-23 12:03:30 +010096i915-y += i915_dma.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020097
Dave Airliec0e09202008-05-29 10:09:59 +100098obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +010099
100CFLAGS_i915_trace_points.o := -I$(src)