blob: a69002e2257d06fee72c131ca854d2975636c307 [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
5ccflags-y := -Iinclude/drm
Daniel Vetter2fae6a82014-03-07 09:17:21 +01006
7# Please keep these build lists sorted!
8
9# core driver code
10i915-y := i915_drv.o \
11 i915_params.o \
Eric Anholt673a3942008-07-30 12:06:12 -070012 i915_suspend.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010013 i915_sysfs.o \
Daniel Vetter9c065a72014-09-30 10:56:38 +020014 intel_pm.o \
15 intel_runtime_pm.o
16
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 \
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030024 i915_gem_render_state.o \
Eric Anholt673a3942008-07-30 12:06:12 -070025 i915_gem_debug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010026 i915_gem_dmabuf.o \
Chris Wilsonb47eb4a2010-08-07 11:01:23 +010027 i915_gem_evict.o \
Chris Wilson54cf91d2010-11-25 18:00:26 +000028 i915_gem_execbuffer.o \
29 i915_gem_gtt.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010030 i915_gem.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 \
36 i915_irq.o \
Chris Wilson1c5d22f2009-08-25 11:15:50 +010037 i915_trace_points.o \
Oscar Mateob20385f2014-07-24 17:04:10 +010038 intel_lrc.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 \
50 intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080051 intel_display.o \
Rodrigo Vivi7ff0ebc2014-12-08 14:09:10 -020052 intel_fbc.o \
Daniel Vetter47339cd2014-09-30 10:56:46 +020053 intel_fifo_underrun.o \
Daniel Vetterb680c372014-09-19 18:27:27 +020054 intel_frontbuffer.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010055 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010056 intel_overlay.o \
Rodrigo Vivi0bc12bc2014-11-14 08:52:28 -080057 intel_psr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010058 intel_sideband.o \
59 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010060i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010061i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
62
63# modesetting output/encoder code
64i915-y += dvo_ch7017.o \
65 dvo_ch7xxx.o \
66 dvo_ivch.o \
67 dvo_ns2501.o \
68 dvo_sil164.o \
69 dvo_tfp410.o \
Matt Roper5ee67f12015-01-21 16:35:44 -080070 intel_atomic.o \
Matt Roperea2c67b2014-12-23 10:41:52 -080071 intel_atomic_plane.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080072 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030073 intel_ddi.o \
Keith Packarda4fc5ed2009-04-07 16:16:42 -070074 intel_dp.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100075 intel_dp_mst.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010076 intel_dsi.o \
77 intel_dsi_pll.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053078 intel_dsi_panel_vbt.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080079 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010080 intel_hdmi.o \
81 intel_i2c.o \
82 intel_lvds.o \
83 intel_panel.o \
84 intel_sdvo.o \
85 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100086
Yu Zhangcf9d2892015-02-10 19:05:47 +080087# virtual gpu code
88i915-y += i915_vgpu.o
89
Daniel Vetter2fae6a82014-03-07 09:17:21 +010090# legacy horrors
Daniel Vetter8634bd42015-02-23 12:03:30 +010091i915-y += i915_dma.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020092
Dave Airliec0e09202008-05-29 10:09:59 +100093obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +010094
95CFLAGS_i915_trace_points.o := -I$(src)