blob: c1dd485aeb6c255230c83e7fea876fb79fed3308 [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 \
14 intel_pm.o
15i915-$(CONFIG_COMPAT) += i915_ioc32.o
16i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o
17
18# GEM code
19i915-y += i915_cmd_parser.o \
Ben Widawsky254f9652012-06-04 14:42:42 -070020 i915_gem_context.o \
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030021 i915_gem_render_state.o \
Eric Anholt673a3942008-07-30 12:06:12 -070022 i915_gem_debug.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010023 i915_gem_dmabuf.o \
Chris Wilsonb47eb4a2010-08-07 11:01:23 +010024 i915_gem_evict.o \
Chris Wilson54cf91d2010-11-25 18:00:26 +000025 i915_gem_execbuffer.o \
26 i915_gem_gtt.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010027 i915_gem.o \
Chris Wilson9797fbf2012-04-24 15:47:39 +010028 i915_gem_stolen.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080029 i915_gem_tiling.o \
Chris Wilson5cc9ed42014-05-16 14:22:37 +010030 i915_gem_userptr.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010031 i915_gpu_error.o \
32 i915_irq.o \
Chris Wilson1c5d22f2009-08-25 11:15:50 +010033 i915_trace_points.o \
Oscar Mateob20385f2014-07-24 17:04:10 +010034 intel_lrc.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010035 intel_ringbuffer.o \
36 intel_uncore.o
37
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030038# autogenerated null render state
39i915-y += intel_renderstate_gen6.o \
40 intel_renderstate_gen7.o \
41 intel_renderstate_gen8.o
42
Daniel Vetter2fae6a82014-03-07 09:17:21 +010043# modesetting core code
44i915-y += intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080045 intel_display.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010046 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010047 intel_overlay.o \
48 intel_sideband.o \
49 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010050i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010051i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
52
53# modesetting output/encoder code
54i915-y += dvo_ch7017.o \
55 dvo_ch7xxx.o \
56 dvo_ivch.o \
57 dvo_ns2501.o \
58 dvo_sil164.o \
59 dvo_tfp410.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080060 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030061 intel_ddi.o \
Keith Packarda4fc5ed2009-04-07 16:16:42 -070062 intel_dp.o \
Dave Airlie0e32b392014-05-02 14:02:48 +100063 intel_dp_mst.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010064 intel_dsi_cmd.o \
65 intel_dsi.o \
66 intel_dsi_pll.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053067 intel_dsi_panel_vbt.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080068 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010069 intel_hdmi.o \
70 intel_i2c.o \
71 intel_lvds.o \
72 intel_panel.o \
73 intel_sdvo.o \
74 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100075
Daniel Vetter2fae6a82014-03-07 09:17:21 +010076# legacy horrors
77i915-y += i915_dma.o \
78 i915_ums.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020079
Dave Airliec0e09202008-05-29 10:09:59 +100080obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +010081
82CFLAGS_i915_trace_points.o := -I$(src)