Commit | Line | Data |
---|---|---|
c0e09200 DA |
1 | # |
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 | ||
0a793ad3 | 5 | subdir-ccflags-$(CONFIG_DRM_I915_WERROR) := -Werror |
0b1de5d5 CW |
6 | subdir-ccflags-y += \ |
7 | $(call as-instr,movntdqa (%eax)$(comma)%xmm0,-DCONFIG_AS_MOVNTDQA) | |
0a793ad3 | 8 | |
2fae6a86 DV |
9 | # Please keep these build lists sorted! |
10 | ||
11 | # core driver code | |
12 | i915-y := i915_drv.o \ | |
042794b1 | 13 | i915_irq.o \ |
0b1de5d5 | 14 | i915_memcpy.o \ |
c58305af | 15 | i915_mm.o \ |
2fae6a86 | 16 | i915_params.o \ |
42f5551d | 17 | i915_pci.o \ |
673a394b | 18 | i915_suspend.o \ |
47979480 | 19 | i915_syncmap.o \ |
e68a139f | 20 | i915_sw_fence.o \ |
2fae6a86 | 21 | i915_sysfs.o \ |
042794b1 | 22 | intel_csr.o \ |
94b4f3ba | 23 | intel_device_info.o \ |
9c065a7d | 24 | intel_pm.o \ |
042794b1 | 25 | intel_runtime_pm.o |
9c065a7d | 26 | |
2fae6a86 | 27 | i915-$(CONFIG_COMPAT) += i915_ioc32.o |
731035fe | 28 | i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o intel_pipe_crc.o |
2fae6a86 DV |
29 | |
30 | # GEM code | |
31 | i915-y += i915_cmd_parser.o \ | |
493018dc | 32 | i915_gem_batch_pool.o \ |
57822dc6 | 33 | i915_gem_clflush.o \ |
254f965c | 34 | i915_gem_context.o \ |
2fae6a86 | 35 | i915_gem_dmabuf.o \ |
b47eb4a2 | 36 | i915_gem_evict.o \ |
54cf91dc | 37 | i915_gem_execbuffer.o \ |
b42fe9ca | 38 | i915_gem_fence_reg.o \ |
54cf91dc | 39 | i915_gem_gtt.o \ |
920cf419 | 40 | i915_gem_internal.o \ |
2fae6a86 | 41 | i915_gem.o \ |
042794b1 | 42 | i915_gem_render_state.o \ |
05235c53 | 43 | i915_gem_request.o \ |
be6a0376 | 44 | i915_gem_shrinker.o \ |
9797fbfb | 45 | i915_gem_stolen.o \ |
79e53945 | 46 | i915_gem_tiling.o \ |
73cb9701 | 47 | i915_gem_timeline.o \ |
5cc9ed4b | 48 | i915_gem_userptr.o \ |
1c5d22f7 | 49 | i915_trace_points.o \ |
b42fe9ca | 50 | i915_vma.o \ |
688e6c72 | 51 | intel_breadcrumbs.o \ |
88d2ba2e | 52 | intel_engine_cs.o \ |
3ac168a7 | 53 | intel_hangcheck.o \ |
b20385f1 | 54 | intel_lrc.o \ |
3bbaba0c | 55 | intel_mocs.o \ |
2fae6a86 DV |
56 | intel_ringbuffer.o \ |
57 | intel_uncore.o | |
58 | ||
33a732f4 | 59 | # general-purpose microcontroller (GuC) support |
2d803c2d | 60 | i915-y += intel_uc.o \ |
f9cda048 | 61 | intel_guc_log.o \ |
2d803c2d | 62 | intel_guc_loader.o \ |
bd132858 | 63 | intel_huc.o \ |
bac427f8 | 64 | i915_guc_submission.o |
33a732f4 | 65 | |
9d0a6fa6 MK |
66 | # autogenerated null render state |
67 | i915-y += intel_renderstate_gen6.o \ | |
68 | intel_renderstate_gen7.o \ | |
ff7a60f2 AR |
69 | intel_renderstate_gen8.o \ |
70 | intel_renderstate_gen9.o | |
9d0a6fa6 | 71 | |
2fae6a86 | 72 | # modesetting core code |
7c10a2b5 | 73 | i915-y += intel_audio.o \ |
042794b1 DV |
74 | intel_atomic.o \ |
75 | intel_atomic_plane.o \ | |
7c10a2b5 | 76 | intel_bios.o \ |
7ff89ca2 | 77 | intel_cdclk.o \ |
8563b1e8 | 78 | intel_color.o \ |
79e53945 | 79 | intel_display.o \ |
b7fa22d8 | 80 | intel_dpio_phy.o \ |
7abd4b35 | 81 | intel_dpll_mgr.o \ |
7ff0ebcc | 82 | intel_fbc.o \ |
47339cd9 | 83 | intel_fifo_underrun.o \ |
b680c37a | 84 | intel_frontbuffer.o \ |
042794b1 | 85 | intel_hotplug.o \ |
79e53945 | 86 | intel_modes.o \ |
2fae6a86 | 87 | intel_overlay.o \ |
0bc12bcb | 88 | intel_psr.o \ |
59de0813 | 89 | intel_sideband.o \ |
2fae6a86 | 90 | intel_sprite.o |
e19b9137 | 91 | i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o |
0695726e | 92 | i915-$(CONFIG_DRM_FBDEV_EMULATION) += intel_fbdev.o |
2fae6a86 DV |
93 | |
94 | # modesetting output/encoder code | |
95 | i915-y += dvo_ch7017.o \ | |
79e53945 | 96 | dvo_ch7xxx.o \ |
79e53945 | 97 | dvo_ivch.o \ |
7434a255 | 98 | dvo_ns2501.o \ |
2fae6a86 DV |
99 | dvo_sil164.o \ |
100 | dvo_tfp410.o \ | |
101 | intel_crt.o \ | |
102 | intel_ddi.o \ | |
e7156c83 | 103 | intel_dp_aux_backlight.o \ |
94223d04 | 104 | intel_dp_link_training.o \ |
0e32b39c | 105 | intel_dp_mst.o \ |
042794b1 | 106 | intel_dp.o \ |
2fae6a86 | 107 | intel_dsi.o \ |
90198355 | 108 | intel_dsi_dcs_backlight.o \ |
042794b1 | 109 | intel_dsi_pll.o \ |
5431fc03 | 110 | intel_dsi_vbt.o \ |
2fae6a86 DV |
111 | intel_dvo.o \ |
112 | intel_hdmi.o \ | |
113 | intel_i2c.o \ | |
dbe9e61b | 114 | intel_lspcon.o \ |
2fae6a86 DV |
115 | intel_lvds.o \ |
116 | intel_panel.o \ | |
117 | intel_sdvo.o \ | |
118 | intel_tv.o | |
4520f53a | 119 | |
98a2f411 CW |
120 | # Post-mortem debug and GPU hang state capture |
121 | i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o | |
953c7f82 CW |
122 | i915-$(CONFIG_DRM_I915_SELFTEST) += \ |
123 | selftests/i915_random.o \ | |
124 | selftests/i915_selftest.o | |
98a2f411 | 125 | |
cf9d2890 YZ |
126 | # virtual gpu code |
127 | i915-y += i915_vgpu.o | |
128 | ||
eec688e1 | 129 | # perf code |
8a3003dd RB |
130 | i915-y += i915_perf.o \ |
131 | i915_oa_hsw.o | |
eec688e1 | 132 | |
0ad35fed ZW |
133 | ifeq ($(CONFIG_DRM_I915_GVT),y) |
134 | i915-y += intel_gvt.o | |
135 | include $(src)/gvt/Makefile | |
136 | endif | |
137 | ||
eef57324 JA |
138 | # LPE Audio for VLV and CHT |
139 | i915-y += intel_lpe_audio.o | |
140 | ||
c58305af | 141 | obj-$(CONFIG_DRM_I915) += i915.o |
a7c54278 PC |
142 | |
143 | CFLAGS_i915_trace_points.o := -I$(src) |