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 \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 34 | intel_ringbuffer.o \ |
| 35 | intel_uncore.o |
| 36 | |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 37 | # autogenerated null render state |
| 38 | i915-y += intel_renderstate_gen6.o \ |
| 39 | intel_renderstate_gen7.o \ |
| 40 | intel_renderstate_gen8.o |
| 41 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 42 | # modesetting core code |
| 43 | i915-y += intel_bios.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 44 | intel_display.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 45 | intel_modes.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 46 | intel_overlay.o \ |
| 47 | intel_sideband.o \ |
| 48 | intel_sprite.o |
Daniel Vetter | e19b913 | 2014-03-18 09:43:56 +0100 | [diff] [blame] | 49 | i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 50 | i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o |
| 51 | |
| 52 | # modesetting output/encoder code |
| 53 | i915-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 Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 59 | intel_crt.o \ |
Eugeni Dodonov | 45244b8 | 2012-05-09 15:37:20 -0300 | [diff] [blame] | 60 | intel_ddi.o \ |
Keith Packard | a4fc5ed | 2009-04-07 16:16:42 -0700 | [diff] [blame] | 61 | intel_dp.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 62 | intel_dsi_cmd.o \ |
| 63 | intel_dsi.o \ |
| 64 | intel_dsi_pll.o \ |
Shobhit Kumar | 2ab8b45 | 2014-05-23 21:35:27 +0530 | [diff] [blame^] | 65 | intel_dsi_panel_vbt.o \ |
Jesse Barnes | 79e5394 | 2008-11-07 14:24:08 -0800 | [diff] [blame] | 66 | intel_dvo.o \ |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 67 | intel_hdmi.o \ |
| 68 | intel_i2c.o \ |
| 69 | intel_lvds.o \ |
| 70 | intel_panel.o \ |
| 71 | intel_sdvo.o \ |
| 72 | intel_tv.o |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 73 | |
Daniel Vetter | 2fae6a8 | 2014-03-07 09:17:21 +0100 | [diff] [blame] | 74 | # legacy horrors |
| 75 | i915-y += i915_dma.o \ |
| 76 | i915_ums.o |
Jani Nikula | a57750f | 2013-12-16 13:10:36 +0200 | [diff] [blame] | 77 | |
Dave Airlie | c0e0920 | 2008-05-29 10:09:59 +1000 | [diff] [blame] | 78 | obj-$(CONFIG_DRM_I915) += i915.o |
Peter Clifton | a7c5427 | 2010-05-03 13:24:41 +0100 | [diff] [blame] | 79 | |
| 80 | CFLAGS_i915_trace_points.o := -I$(src) |