Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 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 | |
| 5 | ccflags-y := -Iinclude/drm |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 6 | |
| 7 | # Please keep these build lists sorted! |
| 8 | |
| 9 | # core driver code |
| 10 | i915-y := i915_drv.o \ |
| 11 | i915_params.o \ |
Eric Anholt | 673a394 | 2008-07-30 12:06:12 -0700 | [diff] [blame] | 12 | i915_suspend.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 13 | i915_sysfs.o \ |
Daniel Vetter | 9c065a7 | 2014-09-30 10:56:38 +0200 | [diff] [blame] | 14 | intel_pm.o \ |
| 15 | intel_runtime_pm.o |
| 16 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 17 | i915-$(CONFIG_COMPAT) += i915_ioc32.o |
| 18 | i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o |
| 19 | |
| 20 | # GEM code |
| 21 | i915-y += i915_cmd_parser.o \ |
Ben Widawsky | 254f965 | 2012-06-04 14:42:42 -0700 | [diff] [blame] | 22 | i915_gem_context.o \ |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 23 | i915_gem_render_state.o \ |
Eric Anholt | 673a394 | 2008-07-30 12:06:12 -0700 | [diff] [blame] | 24 | i915_gem_debug.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 25 | i915_gem_dmabuf.o \ |
Chris Wilson | b47eb4a | 2010-08-07 11:01:23 +0100 | [diff] [blame] | 26 | i915_gem_evict.o \ |
Chris Wilson | 54cf91d | 2010-11-25 18:00:26 +0000 | [diff] [blame] | 27 | i915_gem_execbuffer.o \ |
| 28 | i915_gem_gtt.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 29 | i915_gem.o \ |
Chris Wilson | 9797fbf | 2012-04-24 15:47:39 +0100 | [diff] [blame] | 30 | i915_gem_stolen.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 31 | i915_gem_tiling.o \ |
Chris Wilson | 5cc9ed4 | 2014-05-16 14:22:37 +0100 | [diff] [blame] | 32 | i915_gem_userptr.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 33 | i915_gpu_error.o \ |
| 34 | i915_irq.o \ |
Chris Wilson | 1c5d22f | 2009-08-25 11:15:50 +0100 | [diff] [blame] | 35 | i915_trace_points.o \ |
Oscar Mateo | b20385f | 2014-07-24 17:04:10 +0100 | [diff] [blame] | 36 | intel_lrc.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 37 | intel_ringbuffer.o \ |
| 38 | intel_uncore.o |
| 39 | |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 40 | # autogenerated null render state |
| 41 | i915-y += intel_renderstate_gen6.o \ |
| 42 | intel_renderstate_gen7.o \ |
Armin Reese | ff7a60f | 2014-10-23 08:34:28 -0700 | [diff] [blame^] | 43 | intel_renderstate_gen8.o \ |
| 44 | intel_renderstate_gen9.o |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 45 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 46 | # modesetting core code |
| 47 | i915-y += intel_bios.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 48 | intel_display.o \ |
Daniel Vetter | 47339cd | 2014-09-30 10:56:46 +0200 | [diff] [blame] | 49 | intel_fifo_underrun.o \ |
Daniel Vetter | b680c37 | 2014-09-19 18:27:27 +0200 | [diff] [blame] | 50 | intel_frontbuffer.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 51 | intel_modes.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 52 | intel_overlay.o \ |
| 53 | intel_sideband.o \ |
| 54 | intel_sprite.o |
Daniel Vetter | e19b913 | 2014-03-18 09:43:56 +0100 | [diff] [blame] | 55 | i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 56 | i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o |
| 57 | |
| 58 | # modesetting output/encoder code |
| 59 | i915-y += dvo_ch7017.o \ |
| 60 | dvo_ch7xxx.o \ |
| 61 | dvo_ivch.o \ |
| 62 | dvo_ns2501.o \ |
| 63 | dvo_sil164.o \ |
| 64 | dvo_tfp410.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 65 | intel_crt.o \ |
Eugeni Dodonov | 45244b8 | 2012-05-09 15:37:20 -0300 | [diff] [blame] | 66 | intel_ddi.o \ |
Keith Packard | a4fc5ed | 2009-04-07 16:16:42 -0700 | [diff] [blame] | 67 | intel_dp.o \ |
Dave Airlie | 0e32b39 | 2014-05-02 14:02:48 +1000 | [diff] [blame] | 68 | intel_dp_mst.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 69 | intel_dsi_cmd.o \ |
| 70 | intel_dsi.o \ |
| 71 | intel_dsi_pll.o \ |
Shobhit Kumar | 2ab8b45 | 2014-05-23 21:35:27 +0530 | [diff] [blame] | 72 | intel_dsi_panel_vbt.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 73 | intel_dvo.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 74 | intel_hdmi.o \ |
| 75 | intel_i2c.o \ |
| 76 | intel_lvds.o \ |
| 77 | intel_panel.o \ |
| 78 | intel_sdvo.o \ |
| 79 | intel_tv.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 80 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 81 | # legacy horrors |
| 82 | i915-y += i915_dma.o \ |
| 83 | i915_ums.o |
Jani Nikula | a57750f | 2013-12-16 13:10:36 +0200 | [diff] [blame] | 84 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 85 | obj-$(CONFIG_DRM_I915) += i915.o |
Peter Clifton | a7c5427 | 2010-05-03 13:24:41 +0100 | [diff] [blame] | 86 | |
| 87 | CFLAGS_i915_trace_points.o := -I$(src) |