blob: 0851de07bd13b59f13ff88e9d05fb7a72fe85604 [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
Alex Daibac427f2015-08-12 15:43:39 +010044i915-y += intel_guc_loader.o \
45 i915_guc_submission.o
Alex Dai33a732f2015-08-12 15:43:36 +010046
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030047# autogenerated null render state
48i915-y += intel_renderstate_gen6.o \
49 intel_renderstate_gen7.o \
Armin Reeseff7a60f2014-10-23 08:34:28 -070050 intel_renderstate_gen8.o \
51 intel_renderstate_gen9.o
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030052
Daniel Vetter2fae6a82014-03-07 09:17:21 +010053# modesetting core code
Jani Nikula7c10a2b2014-10-27 16:26:43 +020054i915-y += intel_audio.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020055 intel_atomic.o \
56 intel_atomic_plane.o \
Jani Nikula7c10a2b2014-10-27 16:26:43 +020057 intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080058 intel_display.o \
Rodrigo Vivi7ff0ebc2014-12-08 14:09:10 -020059 intel_fbc.o \
Daniel Vetter47339cd2014-09-30 10:56:46 +020060 intel_fifo_underrun.o \
Daniel Vetterb680c372014-09-19 18:27:27 +020061 intel_frontbuffer.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020062 intel_hotplug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010063 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010064 intel_overlay.o \
Rodrigo Vivi0bc12bc2014-11-14 08:52:28 -080065 intel_psr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010066 intel_sideband.o \
67 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010068i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter06957262015-08-10 13:34:08 +020069i915-$(CONFIG_DRM_FBDEV_EMULATION) += intel_fbdev.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010070
71# modesetting output/encoder code
72i915-y += dvo_ch7017.o \
73 dvo_ch7xxx.o \
74 dvo_ivch.o \
75 dvo_ns2501.o \
76 dvo_sil164.o \
77 dvo_tfp410.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080078 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030079 intel_ddi.o \
Ander Conselvan de Oliveira94223d02015-10-23 13:01:48 +030080 intel_dp_link_training.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100081 intel_dp_mst.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020082 intel_dp.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010083 intel_dsi.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053084 intel_dsi_panel_vbt.o \
Daniel Vetter042794b2015-07-24 13:55:10 +020085 intel_dsi_pll.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080086 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010087 intel_hdmi.o \
88 intel_i2c.o \
89 intel_lvds.o \
90 intel_panel.o \
91 intel_sdvo.o \
92 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100093
Yu Zhangcf9d2892015-02-10 19:05:47 +080094# virtual gpu code
95i915-y += i915_vgpu.o
96
Daniel Vetter2fae6a82014-03-07 09:17:21 +010097# legacy horrors
Daniel Vetter8634bd42015-02-23 12:03:30 +010098i915-y += i915_dma.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020099
Dave Airliec0e09202008-05-29 10:09:59 +1000100obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +0100101
102CFLAGS_i915_trace_points.o := -I$(src)