Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the drm device driver. This driver provides support for the |
| 4 | # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. |
| 5 | |
Chris Wilson | 39bf4de | 2017-10-24 19:15:47 +0100 | [diff] [blame] | 6 | # Add a set of useful warning flags and enable -Werror for CI to prevent |
| 7 | # trivial mistakes from creeping in. We have to do this piecemeal as we reject |
| 8 | # any patch that isn't warning clean, so turning on -Wall -Wextra (or W=1) we |
| 9 | # need to filter out dubious warnings. Still it is our interest |
| 10 | # to keep running locally with W=1 C=1 until we are completely clean. |
| 11 | # |
| 12 | # Note the danger in using -Wall -Wextra is that when CI updates gcc we |
| 13 | # will most likely get a sudden build breakage... Hopefully we will fix |
| 14 | # new warnings before CI updates! |
Kees Cook | 0bb95f8 | 2018-06-25 15:59:34 -0700 | [diff] [blame] | 15 | subdir-ccflags-y := -Wall -Wextra |
Chris Wilson | 4ab09d0 | 2017-10-30 17:29:27 +0000 | [diff] [blame] | 16 | subdir-ccflags-y += $(call cc-disable-warning, unused-parameter) |
| 17 | subdir-ccflags-y += $(call cc-disable-warning, type-limits) |
| 18 | subdir-ccflags-y += $(call cc-disable-warning, missing-field-initializers) |
| 19 | subdir-ccflags-y += $(call cc-disable-warning, implicit-fallthrough) |
Chris Wilson | 6a05d29 | 2018-02-08 16:16:39 +0000 | [diff] [blame] | 20 | subdir-ccflags-y += $(call cc-disable-warning, unused-but-set-variable) |
Matthias Kaehlcke | 46e2068 | 2018-05-01 11:24:40 -0700 | [diff] [blame] | 21 | # clang warnings |
| 22 | subdir-ccflags-y += $(call cc-disable-warning, sign-compare) |
| 23 | subdir-ccflags-y += $(call cc-disable-warning, sometimes-uninitialized) |
| 24 | subdir-ccflags-y += $(call cc-disable-warning, initializer-overrides) |
Nathan Chancellor | c562746 | 2019-01-26 00:11:23 -0700 | [diff] [blame] | 25 | subdir-ccflags-y += $(call cc-disable-warning, uninitialized) |
Chris Wilson | 39bf4de | 2017-10-24 19:15:47 +0100 | [diff] [blame] | 26 | subdir-ccflags-$(CONFIG_DRM_I915_WERROR) += -Werror |
| 27 | |
| 28 | # Fine grained warnings disable |
Chris Wilson | 4ab09d0 | 2017-10-30 17:29:27 +0000 | [diff] [blame] | 29 | CFLAGS_i915_pci.o = $(call cc-disable-warning, override-init) |
| 30 | CFLAGS_intel_fbdev.o = $(call cc-disable-warning, override-init) |
Chris Wilson | 39bf4de | 2017-10-24 19:15:47 +0100 | [diff] [blame] | 31 | |
Chris Wilson | 0b1de5d | 2016-08-12 12:39:59 +0100 | [diff] [blame] | 32 | subdir-ccflags-y += \ |
| 33 | $(call as-instr,movntdqa (%eax)$(comma)%xmm0,-DCONFIG_AS_MOVNTDQA) |
Chris Wilson | 0a793ad | 2016-04-13 17:35:00 +0100 | [diff] [blame] | 34 | |
Jani Nikula | c2400ec | 2019-04-03 16:52:36 +0300 | [diff] [blame] | 35 | # Extra header tests |
| 36 | include $(src)/Makefile.header-test |
| 37 | |
Chris Wilson | 112ed2d | 2019-04-24 18:48:39 +0100 | [diff] [blame] | 38 | subdir-ccflags-y += -I$(src) |
| 39 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 40 | # Please keep these build lists sorted! |
| 41 | |
| 42 | # core driver code |
Jani Nikula | c2400ec | 2019-04-03 16:52:36 +0300 | [diff] [blame] | 43 | i915-y += i915_drv.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 44 | i915_irq.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 45 | i915_params.o \ |
Chris Wilson | 42f5551 | 2016-06-24 14:00:26 +0100 | [diff] [blame] | 46 | i915_pci.o \ |
Pedro Tammela | 7996022 | 2018-12-05 09:06:08 -0200 | [diff] [blame] | 47 | i915_suspend.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 48 | i915_sysfs.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 49 | intel_csr.o \ |
Chris Wilson | 94b4f3b | 2016-07-05 10:40:20 +0100 | [diff] [blame] | 50 | intel_device_info.o \ |
Daniel Vetter | 9c065a7 | 2014-09-30 10:56:38 +0200 | [diff] [blame] | 51 | intel_pm.o \ |
Oscar Mateo | 7d3c425 | 2018-04-10 09:12:46 -0700 | [diff] [blame] | 52 | intel_runtime_pm.o \ |
Chris Wilson | d91e657 | 2019-04-24 21:07:13 +0100 | [diff] [blame] | 53 | intel_wakeref.o \ |
Chris Wilson | 112ed2d | 2019-04-24 18:48:39 +0100 | [diff] [blame] | 54 | intel_uncore.o |
| 55 | |
| 56 | # core library code |
| 57 | i915-y += \ |
| 58 | i915_memcpy.o \ |
| 59 | i915_mm.o \ |
| 60 | i915_sw_fence.o \ |
| 61 | i915_syncmap.o \ |
| 62 | i915_user_extensions.o |
Daniel Vetter | 9c065a7 | 2014-09-30 10:56:38 +0200 | [diff] [blame] | 63 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 64 | i915-$(CONFIG_COMPAT) += i915_ioc32.o |
Tomeu Vizoso | 731035f | 2016-12-12 13:29:48 +0100 | [diff] [blame] | 65 | i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o intel_pipe_crc.o |
Tvrtko Ursulin | b46a33e | 2017-11-21 18:18:45 +0000 | [diff] [blame] | 66 | i915-$(CONFIG_PERF_EVENTS) += i915_pmu.o |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 67 | |
Chris Wilson | 112ed2d | 2019-04-24 18:48:39 +0100 | [diff] [blame] | 68 | # "Graphics Technology" (aka we talk to the gpu) |
| 69 | obj-y += gt/ |
| 70 | gt-y += \ |
| 71 | gt/intel_breadcrumbs.o \ |
| 72 | gt/intel_context.o \ |
| 73 | gt/intel_engine_cs.o \ |
Chris Wilson | 79ffac85 | 2019-04-24 21:07:17 +0100 | [diff] [blame] | 74 | gt/intel_engine_pm.o \ |
| 75 | gt/intel_gt_pm.o \ |
Chris Wilson | 112ed2d | 2019-04-24 18:48:39 +0100 | [diff] [blame] | 76 | gt/intel_hangcheck.o \ |
| 77 | gt/intel_lrc.o \ |
| 78 | gt/intel_reset.o \ |
| 79 | gt/intel_ringbuffer.o \ |
| 80 | gt/intel_mocs.o \ |
| 81 | gt/intel_sseu.o \ |
| 82 | gt/intel_workarounds.o |
| 83 | gt-$(CONFIG_DRM_I915_SELFTEST) += \ |
| 84 | gt/mock_engine.o |
| 85 | i915-y += $(gt-y) |
| 86 | |
| 87 | # GEM (Graphics Execution Management) code |
Chris Wilson | 5e5d2e2 | 2019-05-28 10:29:42 +0100 | [diff] [blame] | 88 | obj-y += gem/ |
Chris Wilson | 9893214 | 2019-05-28 10:29:44 +0100 | [diff] [blame] | 89 | gem-y += \ |
Chris Wilson | 8475355 | 2019-05-28 10:29:45 +0100 | [diff] [blame] | 90 | gem/i915_gem_object.o \ |
Chris Wilson | b414fcd | 2019-05-28 10:29:47 +0100 | [diff] [blame^] | 91 | gem/i915_gem_mman.o \ |
Chris Wilson | f033428 | 2019-05-28 10:29:46 +0100 | [diff] [blame] | 92 | gem/i915_gem_pages.o \ |
| 93 | gem/i915_gem_phys.o \ |
Chris Wilson | 8475355 | 2019-05-28 10:29:45 +0100 | [diff] [blame] | 94 | gem/i915_gem_shmem.o |
Chris Wilson | 64d6c50 | 2019-02-05 13:00:02 +0000 | [diff] [blame] | 95 | i915-y += \ |
Chris Wilson | 9893214 | 2019-05-28 10:29:44 +0100 | [diff] [blame] | 96 | $(gem-y) \ |
Chris Wilson | 64d6c50 | 2019-02-05 13:00:02 +0000 | [diff] [blame] | 97 | i915_active.o \ |
| 98 | i915_cmd_parser.o \ |
Brad Volkin | 493018d | 2014-12-11 12:13:08 -0800 | [diff] [blame] | 99 | i915_gem_batch_pool.o \ |
Chris Wilson | 57822dc | 2017-02-22 11:40:48 +0000 | [diff] [blame] | 100 | i915_gem_clflush.o \ |
Ben Widawsky | 254f965 | 2012-06-04 14:42:42 -0700 | [diff] [blame] | 101 | i915_gem_context.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 102 | i915_gem_dmabuf.o \ |
Chris Wilson | b47eb4a | 2010-08-07 11:01:23 +0100 | [diff] [blame] | 103 | i915_gem_evict.o \ |
Chris Wilson | 54cf91d | 2010-11-25 18:00:26 +0000 | [diff] [blame] | 104 | i915_gem_execbuffer.o \ |
Joonas Lahtinen | b42fe9c | 2016-11-11 12:43:54 +0200 | [diff] [blame] | 105 | i915_gem_fence_reg.o \ |
Chris Wilson | 54cf91d | 2010-11-25 18:00:26 +0000 | [diff] [blame] | 106 | i915_gem_gtt.o \ |
Chris Wilson | 920cf41 | 2016-10-28 13:58:30 +0100 | [diff] [blame] | 107 | i915_gem_internal.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 108 | i915_gem.o \ |
Chris Wilson | 23c3c3d | 2019-04-24 21:07:14 +0100 | [diff] [blame] | 109 | i915_gem_pm.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 110 | i915_gem_render_state.o \ |
Daniel Vetter | be6a037 | 2015-03-18 10:46:04 +0100 | [diff] [blame] | 111 | i915_gem_shrinker.o \ |
Chris Wilson | 9797fbf | 2012-04-24 15:47:39 +0100 | [diff] [blame] | 112 | i915_gem_stolen.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 113 | i915_gem_tiling.o \ |
Chris Wilson | 5cc9ed4 | 2014-05-16 14:22:37 +0100 | [diff] [blame] | 114 | i915_gem_userptr.o \ |
Matthew Auld | 465c403 | 2017-10-06 23:18:14 +0100 | [diff] [blame] | 115 | i915_gemfs.o \ |
Chris Wilson | 32eb6bc | 2019-02-28 10:20:33 +0000 | [diff] [blame] | 116 | i915_globals.o \ |
Lionel Landwerlin | a446ae2 | 2018-03-06 12:28:56 +0000 | [diff] [blame] | 117 | i915_query.o \ |
Chris Wilson | e61e0f5 | 2018-02-21 09:56:36 +0000 | [diff] [blame] | 118 | i915_request.o \ |
Chris Wilson | e2f3496 | 2018-10-01 15:47:54 +0100 | [diff] [blame] | 119 | i915_scheduler.o \ |
Chris Wilson | a89d1f9 | 2018-05-02 17:38:39 +0100 | [diff] [blame] | 120 | i915_timeline.o \ |
Chris Wilson | 1c5d22f | 2009-08-25 11:15:50 +0100 | [diff] [blame] | 121 | i915_trace_points.o \ |
Joonas Lahtinen | b42fe9c | 2016-11-11 12:43:54 +0200 | [diff] [blame] | 122 | i915_vma.o \ |
Jackie Li | 6b0478f | 2018-03-13 17:32:50 -0700 | [diff] [blame] | 123 | intel_wopcm.o |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 124 | |
Alex Dai | 33a732f | 2015-08-12 15:43:36 +0100 | [diff] [blame] | 125 | # general-purpose microcontroller (GuC) support |
Arkadiusz Hiler | 2d803c2 | 2016-11-25 18:59:35 +0100 | [diff] [blame] | 126 | i915-y += intel_uc.o \ |
Michal Wajdeczko | a16b431 | 2017-10-04 15:33:25 +0000 | [diff] [blame] | 127 | intel_uc_fw.o \ |
Michal Wajdeczko | 9bf384c | 2017-10-04 18:13:41 +0000 | [diff] [blame] | 128 | intel_guc.o \ |
Sujaritha Sundaresan | c24f0c1 | 2018-01-02 13:20:24 -0800 | [diff] [blame] | 129 | intel_guc_ads.o \ |
Michal Wajdeczko | f8a58d6 | 2017-05-26 11:13:25 +0000 | [diff] [blame] | 130 | intel_guc_ct.o \ |
Michal Wajdeczko | e8668bb | 2017-10-16 14:47:14 +0000 | [diff] [blame] | 131 | intel_guc_fw.o \ |
Sagar Arun Kamble | a269574 | 2017-11-16 19:02:41 +0530 | [diff] [blame] | 132 | intel_guc_log.o \ |
| 133 | intel_guc_submission.o \ |
Sagar Arun Kamble | 57312ea | 2018-03-01 22:15:45 +0530 | [diff] [blame] | 134 | intel_huc.o \ |
| 135 | intel_huc_fw.o |
Alex Dai | 33a732f | 2015-08-12 15:43:36 +0100 | [diff] [blame] | 136 | |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 137 | # autogenerated null render state |
| 138 | i915-y += intel_renderstate_gen6.o \ |
| 139 | intel_renderstate_gen7.o \ |
Armin Reese | ff7a60f | 2014-10-23 08:34:28 -0700 | [diff] [blame] | 140 | intel_renderstate_gen8.o \ |
| 141 | intel_renderstate_gen9.o |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 142 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 143 | # modesetting core code |
Jani Nikula | 7c10a2b | 2014-10-27 16:26:43 +0200 | [diff] [blame] | 144 | i915-y += intel_audio.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 145 | intel_atomic.o \ |
| 146 | intel_atomic_plane.o \ |
Jani Nikula | 7c10a2b | 2014-10-27 16:26:43 +0200 | [diff] [blame] | 147 | intel_bios.o \ |
Ville Syrjälä | c457d9c | 2019-05-24 18:36:14 +0300 | [diff] [blame] | 148 | intel_bw.o \ |
Ville Syrjälä | 7ff89ca | 2017-02-07 20:33:05 +0200 | [diff] [blame] | 149 | intel_cdclk.o \ |
Lionel Landwerlin | 8563b1e | 2016-03-16 10:57:14 +0000 | [diff] [blame] | 150 | intel_color.o \ |
Imre Deak | c45198b | 2018-11-06 18:06:18 +0200 | [diff] [blame] | 151 | intel_combo_phy.o \ |
Jani Nikula | 360fa66 | 2018-10-10 10:52:04 +0300 | [diff] [blame] | 152 | intel_connector.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 153 | intel_display.o \ |
Ander Conselvan de Oliveira | b7fa22d | 2016-04-27 15:44:17 +0300 | [diff] [blame] | 154 | intel_dpio_phy.o \ |
Ander Conselvan de Oliveira | 7abd4b3 | 2016-03-08 17:46:15 +0200 | [diff] [blame] | 155 | intel_dpll_mgr.o \ |
Rodrigo Vivi | 7ff0ebc | 2014-12-08 14:09:10 -0200 | [diff] [blame] | 156 | intel_fbc.o \ |
Daniel Vetter | 47339cd | 2014-09-30 10:56:46 +0200 | [diff] [blame] | 157 | intel_fifo_underrun.o \ |
Daniel Vetter | b680c37 | 2014-09-19 18:27:27 +0200 | [diff] [blame] | 158 | intel_frontbuffer.o \ |
Sean Paul | ee5e5e7 | 2018-01-08 14:55:39 -0500 | [diff] [blame] | 159 | intel_hdcp.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 160 | intel_hotplug.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 161 | intel_overlay.o \ |
Rodrigo Vivi | 0bc12bc | 2014-11-14 08:52:28 -0800 | [diff] [blame] | 162 | intel_psr.o \ |
Jani Nikula | 593a21a | 2018-10-16 17:42:27 +0300 | [diff] [blame] | 163 | intel_quirks.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 164 | intel_sideband.o \ |
| 165 | intel_sprite.o |
Daniel Vetter | e19b913 | 2014-03-18 09:43:56 +0100 | [diff] [blame] | 166 | i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o |
Daniel Vetter | 0695726 | 2015-08-10 13:34:08 +0200 | [diff] [blame] | 167 | i915-$(CONFIG_DRM_FBDEV_EMULATION) += intel_fbdev.o |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 168 | |
| 169 | # modesetting output/encoder code |
| 170 | i915-y += dvo_ch7017.o \ |
| 171 | dvo_ch7xxx.o \ |
| 172 | dvo_ivch.o \ |
| 173 | dvo_ns2501.o \ |
| 174 | dvo_sil164.o \ |
| 175 | dvo_tfp410.o \ |
Madhav Chauhan | fcfe0bd | 2018-07-05 19:19:33 +0530 | [diff] [blame] | 176 | icl_dsi.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 177 | intel_crt.o \ |
Eugeni Dodonov | 45244b8 | 2012-05-09 15:37:20 -0300 | [diff] [blame] | 178 | intel_ddi.o \ |
Yetunde Adebisi | e7156c8 | 2016-04-05 15:10:52 +0100 | [diff] [blame] | 179 | intel_dp_aux_backlight.o \ |
Ander Conselvan de Oliveira | 94223d0 | 2015-10-23 13:01:48 +0300 | [diff] [blame] | 180 | intel_dp_link_training.o \ |
Dave Airlie | 0e32b39 | 2014-05-02 14:02:48 +1000 | [diff] [blame] | 181 | intel_dp_mst.o \ |
Daniel Vetter | 042794b | 2015-07-24 13:55:10 +0200 | [diff] [blame] | 182 | intel_dp.o \ |
Jani Nikula | 2bf3f59 | 2018-10-15 17:27:50 +0300 | [diff] [blame] | 183 | intel_dsi.o \ |
Jani Nikula | 9019835 | 2016-04-26 16:14:25 +0300 | [diff] [blame] | 184 | intel_dsi_dcs_backlight.o \ |
Jani Nikula | 5431fc0 | 2017-03-06 16:31:29 +0200 | [diff] [blame] | 185 | intel_dsi_vbt.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 186 | intel_dvo.o \ |
Jani Nikula | 3ce2ea6 | 2019-05-02 18:02:47 +0300 | [diff] [blame] | 187 | intel_gmbus.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 188 | intel_hdmi.o \ |
Shashank Sharma | dbe9e61 | 2016-10-14 19:56:49 +0530 | [diff] [blame] | 189 | intel_lspcon.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 190 | intel_lvds.o \ |
| 191 | intel_panel.o \ |
| 192 | intel_sdvo.o \ |
Jani Nikula | ca3589c | 2018-07-05 16:25:07 +0300 | [diff] [blame] | 193 | intel_tv.o \ |
| 194 | vlv_dsi.o \ |
Gaurav K Singh | 168243c | 2018-11-29 11:38:27 -0800 | [diff] [blame] | 195 | vlv_dsi_pll.o \ |
| 196 | intel_vdsc.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 197 | |
Chris Wilson | 98a2f41 | 2016-10-12 10:05:18 +0100 | [diff] [blame] | 198 | # Post-mortem debug and GPU hang state capture |
| 199 | i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o |
Chris Wilson | 953c7f8 | 2017-02-13 17:15:12 +0000 | [diff] [blame] | 200 | i915-$(CONFIG_DRM_I915_SELFTEST) += \ |
| 201 | selftests/i915_random.o \ |
Chris Wilson | 98dc045 | 2018-05-05 10:10:13 +0100 | [diff] [blame] | 202 | selftests/i915_selftest.o \ |
Tvrtko Ursulin | 8d2f6e2 | 2018-11-30 08:02:53 +0000 | [diff] [blame] | 203 | selftests/igt_flush_test.o \ |
Chris Wilson | 46472b3 | 2019-04-26 17:33:36 +0100 | [diff] [blame] | 204 | selftests/igt_gem_utils.o \ |
Chris Wilson | e4a8c81 | 2019-01-21 22:20:47 +0000 | [diff] [blame] | 205 | selftests/igt_live_test.o \ |
Tvrtko Ursulin | 28d6ccc | 2018-12-03 12:50:11 +0000 | [diff] [blame] | 206 | selftests/igt_reset.o \ |
Tvrtko Ursulin | 8d2f6e2 | 2018-11-30 08:02:53 +0000 | [diff] [blame] | 207 | selftests/igt_spinner.o |
Chris Wilson | 98a2f41 | 2016-10-12 10:05:18 +0100 | [diff] [blame] | 208 | |
Yu Zhang | cf9d289 | 2015-02-10 19:05:47 +0800 | [diff] [blame] | 209 | # virtual gpu code |
| 210 | i915-y += i915_vgpu.o |
| 211 | |
Robert Bragg | eec688e | 2016-11-07 19:49:47 +0000 | [diff] [blame] | 212 | # perf code |
Robert Bragg | 8a3003d | 2016-11-07 19:49:51 +0000 | [diff] [blame] | 213 | i915-y += i915_perf.o \ |
Robert Bragg | 5182f64 | 2017-06-13 12:23:02 +0100 | [diff] [blame] | 214 | i915_oa_hsw.o \ |
| 215 | i915_oa_bdw.o \ |
| 216 | i915_oa_chv.o \ |
| 217 | i915_oa_sklgt2.o \ |
| 218 | i915_oa_sklgt3.o \ |
| 219 | i915_oa_sklgt4.o \ |
Lionel Landwerlin | 6c5c1d8 | 2017-06-13 12:23:08 +0100 | [diff] [blame] | 220 | i915_oa_bxt.o \ |
| 221 | i915_oa_kblgt2.o \ |
Lionel Landwerlin | 28c7ef9 | 2017-06-13 12:23:09 +0100 | [diff] [blame] | 222 | i915_oa_kblgt3.o \ |
Lionel Landwerlin | 22ea4f3 | 2017-09-18 12:21:24 +0100 | [diff] [blame] | 223 | i915_oa_glk.o \ |
Lionel Landwerlin | 4407eaa | 2017-11-10 19:08:40 +0000 | [diff] [blame] | 224 | i915_oa_cflgt2.o \ |
Lionel Landwerlin | 95690a0 | 2017-11-10 19:08:43 +0000 | [diff] [blame] | 225 | i915_oa_cflgt3.o \ |
Lionel Landwerlin | 1de401c | 2018-03-26 14:39:48 +0100 | [diff] [blame] | 226 | i915_oa_cnl.o \ |
| 227 | i915_oa_icl.o |
Robert Bragg | eec688e | 2016-11-07 19:49:47 +0000 | [diff] [blame] | 228 | |
Zhi Wang | 0ad35fe | 2016-06-16 08:07:00 -0400 | [diff] [blame] | 229 | ifeq ($(CONFIG_DRM_I915_GVT),y) |
| 230 | i915-y += intel_gvt.o |
| 231 | include $(src)/gvt/Makefile |
| 232 | endif |
| 233 | |
Jerome Anand | eef5732 | 2017-01-25 04:27:49 +0530 | [diff] [blame] | 234 | # LPE Audio for VLV and CHT |
| 235 | i915-y += intel_lpe_audio.o |
| 236 | |
Chris Wilson | c58305a | 2016-08-19 16:54:28 +0100 | [diff] [blame] | 237 | obj-$(CONFIG_DRM_I915) += i915.o |
Zhenyu Wang | 9bdb073 | 2018-12-07 16:16:53 +0800 | [diff] [blame] | 238 | obj-$(CONFIG_DRM_I915_GVT_KVMGT) += gvt/kvmgt.o |