Makefile 2.1 KB
Newer Older
1 2 3 4
#
# Makefile for the drm device driver.  This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

D
Daniel Vetter 已提交
5 6 7 8
# Please keep these build lists sorted!

# core driver code
i915-y := i915_drv.o \
D
Daniel Vetter 已提交
9
	  i915_irq.o \
D
Daniel Vetter 已提交
10
	  i915_params.o \
11
          i915_suspend.o \
D
Daniel Vetter 已提交
12
	  i915_sysfs.o \
D
Daniel Vetter 已提交
13
	  intel_csr.o \
14
	  intel_pm.o \
D
Daniel Vetter 已提交
15
	  intel_runtime_pm.o
16

D
Daniel Vetter 已提交
17 18 19 20 21
i915-$(CONFIG_COMPAT)   += i915_ioc32.o
i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o

# GEM code
i915-y += i915_cmd_parser.o \
22
	  i915_gem_batch_pool.o \
23
	  i915_gem_context.o \
24
	  i915_gem_debug.o \
D
Daniel Vetter 已提交
25
	  i915_gem_dmabuf.o \
26
	  i915_gem_evict.o \
27
	  i915_gem_execbuffer.o \
28
	  i915_gem_fence.o \
29
	  i915_gem_gtt.o \
D
Daniel Vetter 已提交
30
	  i915_gem.o \
D
Daniel Vetter 已提交
31
	  i915_gem_render_state.o \
32
	  i915_gem_shrinker.o \
33
	  i915_gem_stolen.o \
J
Jesse Barnes 已提交
34
	  i915_gem_tiling.o \
35
	  i915_gem_userptr.o \
D
Daniel Vetter 已提交
36
	  i915_gpu_error.o \
C
Chris Wilson 已提交
37
	  i915_trace_points.o \
38
	  intel_lrc.o \
39
	  intel_mocs.o \
D
Daniel Vetter 已提交
40 41 42
	  intel_ringbuffer.o \
	  intel_uncore.o

43 44 45
# general-purpose microcontroller (GuC) support
i915-y += intel_guc_loader.o

46 47 48
# autogenerated null render state
i915-y += intel_renderstate_gen6.o \
	  intel_renderstate_gen7.o \
49 50
	  intel_renderstate_gen8.o \
	  intel_renderstate_gen9.o
51

D
Daniel Vetter 已提交
52
# modesetting core code
53
i915-y += intel_audio.o \
D
Daniel Vetter 已提交
54 55
	  intel_atomic.o \
	  intel_atomic_plane.o \
56
	  intel_bios.o \
J
Jesse Barnes 已提交
57
	  intel_display.o \
58
	  intel_fbc.o \
59
	  intel_fifo_underrun.o \
60
	  intel_frontbuffer.o \
D
Daniel Vetter 已提交
61
	  intel_hotplug.o \
J
Jesse Barnes 已提交
62
	  intel_modes.o \
D
Daniel Vetter 已提交
63
	  intel_overlay.o \
R
Rodrigo Vivi 已提交
64
	  intel_psr.o \
65
	  intel_sideband.o \
D
Daniel Vetter 已提交
66
	  intel_sprite.o
67
i915-$(CONFIG_ACPI)		+= intel_acpi.o intel_opregion.o
D
Daniel Vetter 已提交
68 69 70 71
i915-$(CONFIG_DRM_I915_FBDEV)	+= intel_fbdev.o

# modesetting output/encoder code
i915-y += dvo_ch7017.o \
J
Jesse Barnes 已提交
72 73
	  dvo_ch7xxx.o \
	  dvo_ivch.o \
74
	  dvo_ns2501.o \
D
Daniel Vetter 已提交
75 76 77 78
	  dvo_sil164.o \
	  dvo_tfp410.o \
	  intel_crt.o \
	  intel_ddi.o \
79
	  intel_dp_mst.o \
D
Daniel Vetter 已提交
80
	  intel_dp.o \
D
Daniel Vetter 已提交
81
	  intel_dsi.o \
82
	  intel_dsi_panel_vbt.o \
D
Daniel Vetter 已提交
83
	  intel_dsi_pll.o \
D
Daniel Vetter 已提交
84 85 86 87 88 89 90
	  intel_dvo.o \
	  intel_hdmi.o \
	  intel_i2c.o \
	  intel_lvds.o \
	  intel_panel.o \
	  intel_sdvo.o \
	  intel_tv.o
91

92 93 94
# virtual gpu code
i915-y += i915_vgpu.o

D
Daniel Vetter 已提交
95
# legacy horrors
96
i915-y += i915_dma.o
97

98
obj-$(CONFIG_DRM_I915)  += i915.o
P
Peter Clifton 已提交
99 100

CFLAGS_i915_trace_points.o := -I$(src)