blob: cad1683d8bb527cc3c5e3fe9b163d581ff42ec53 [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 \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010034 intel_ringbuffer.o \
35 intel_uncore.o
36
Mika Kuoppala9d0a6fa2014-05-14 17:02:16 +030037# autogenerated null render state
38i915-y += intel_renderstate_gen6.o \
39 intel_renderstate_gen7.o \
40 intel_renderstate_gen8.o
41
Daniel Vetter2fae6a82014-03-07 09:17:21 +010042# modesetting core code
43i915-y += intel_bios.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080044 intel_display.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010045 intel_modes.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010046 intel_overlay.o \
47 intel_sideband.o \
48 intel_sprite.o
Daniel Vettere19b9132014-03-18 09:43:56 +010049i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o
Daniel Vetter2fae6a82014-03-07 09:17:21 +010050i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
51
52# modesetting output/encoder code
53i915-y += dvo_ch7017.o \
54 dvo_ch7xxx.o \
55 dvo_ivch.o \
56 dvo_ns2501.o \
57 dvo_sil164.o \
58 dvo_tfp410.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080059 intel_crt.o \
Eugeni Dodonov45244b82012-05-09 15:37:20 -030060 intel_ddi.o \
Keith Packarda4fc5ed2009-04-07 16:16:42 -070061 intel_dp.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010062 intel_dsi_cmd.o \
63 intel_dsi.o \
64 intel_dsi_pll.o \
Shobhit Kumar2ab8b452014-05-23 21:35:27 +053065 intel_dsi_panel_vbt.o \
Jesse Barnes79e53942008-11-07 14:24:08 -080066 intel_dvo.o \
Daniel Vetter2fae6a82014-03-07 09:17:21 +010067 intel_hdmi.o \
68 intel_i2c.o \
69 intel_lvds.o \
70 intel_panel.o \
71 intel_sdvo.o \
72 intel_tv.o
Dave Airliec0e09202008-05-29 10:09:59 +100073
Daniel Vetter2fae6a82014-03-07 09:17:21 +010074# legacy horrors
75i915-y += i915_dma.o \
76 i915_ums.o
Jani Nikulaa57750f2013-12-16 13:10:36 +020077
Dave Airliec0e09202008-05-29 10:09:59 +100078obj-$(CONFIG_DRM_I915) += i915.o
Peter Cliftona7c54272010-05-03 13:24:41 +010079
80CFLAGS_i915_trace_points.o := -I$(src)