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