blob: e52e0125164450ad7f1e2dea841000b7a24c94bb [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 \
9 i915_params.o \
Eric Anholt673a3942008-07-30 12:06:12 -070010 i915_suspend.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010011 i915_sysfs.o \
Daniel Vetter9c065a72014-09-30 10:56:38 +020012 intel_pm.o \
Daniel Vettereb805622015-05-04 14:58:44 +020013 intel_runtime_pm.o \
14 intel_csr.o
Daniel Vetter9c065a72014-09-30 10:56:38 +020015
Daniel Vetter2fae6a82014-03-07 09:17:21 +010016i915-$(CONFIG_COMPAT) += i915_ioc32.o
17i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o
18
19# GEM code
20i915-y += i915_cmd_parser.o \
Brad Volkin493018d2014-12-11 12:13:08 -080021 i915_gem_batch_pool.o \
Ben Widawsky254f9652012-06-04 14:42:42 -070022 i915_gem_context.o \
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030023 i915_gem_render_state.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 Vetterbe6a0372015-03-18 10:46:04 +010030 i915_gem_shrinker.o \
Chris Wilson9797fbf2012-04-24 15:47:39 +010031 i915_gem_stolen.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080032 i915_gem_tiling.o \
Chris Wilson5cc9ed42014-05-16 14:22:37 +010033 i915_gem_userptr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010034 i915_gpu_error.o \
35 i915_irq.o \
Chris Wilson1c5d22f2009-08-25 11:15:50 +010036 i915_trace_points.o \
Jani Nikula77913b32015-06-18 13:06:16 +030037 intel_hotplug.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
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030043# autogenerated null render state
44i915-y += intel_renderstate_gen6.o \
45 intel_renderstate_gen7.o \
Armin Reeseff7a60f2014-10-23 08:34:28 -070046 intel_renderstate_gen8.o \
47 intel_renderstate_gen9.o
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030048
Daniel Vetter2fae6a82014-03-07 09:17:21 +010049# modesetting core code
Jani Nikula7c10a2b2014-10-27 16:26:43 +020050i915-y += intel_audio.o \
51 intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080052 intel_display.o \
Rodrigo Vivi7ff0ebc2014-12-08 14:09:10 -020053 intel_fbc.o \
Daniel Vetter47339cd2014-09-30 10:56:46 +020054 intel_fifo_underrun.o \
Daniel Vetterb680c372014-09-19 18:27:27 +020055 intel_frontbuffer.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010056 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010057 intel_overlay.o \
Rodrigo Vivi0bc12bc2014-11-14 08:52:28 -080058 intel_psr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010059 intel_sideband.o \
60 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010061i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010062i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
63
64# modesetting output/encoder code
65i915-y += dvo_ch7017.o \
66 dvo_ch7xxx.o \
67 dvo_ivch.o \
68 dvo_ns2501.o \
69 dvo_sil164.o \
70 dvo_tfp410.o \
Matt Roper5ee67f12015-01-21 16:35:44 -080071 intel_atomic.o \
Matt Roperea2c67b2014-12-23 10:41:52 -080072 intel_atomic_plane.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080073 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030074 intel_ddi.o \
Keith Packarda4fc5ed2009-04-07 16:16:42 -070075 intel_dp.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100076 intel_dp_mst.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010077 intel_dsi.o \
78 intel_dsi_pll.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053079 intel_dsi_panel_vbt.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)