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

ccflags-y := -Iinclude/drm
D
Daniel Vetter 已提交
6 7 8 9 10 11

# Please keep these build lists sorted!

# core driver code
i915-y := i915_drv.o \
	  i915_params.o \
12
          i915_suspend.o \
D
Daniel Vetter 已提交
13 14 15 16 17 18 19
	  i915_sysfs.o \
	  intel_pm.o
i915-$(CONFIG_COMPAT)   += i915_ioc32.o
i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o

# GEM code
i915-y += i915_cmd_parser.o \
20
	  i915_gem_context.o \
21
	  i915_gem_debug.o \
D
Daniel Vetter 已提交
22
	  i915_gem_dmabuf.o \
23
	  i915_gem_evict.o \
24 25
	  i915_gem_execbuffer.o \
	  i915_gem_gtt.o \
D
Daniel Vetter 已提交
26
	  i915_gem.o \
27
	  i915_gem_stolen.o \
J
Jesse Barnes 已提交
28
	  i915_gem_tiling.o \
D
Daniel Vetter 已提交
29 30
	  i915_gpu_error.o \
	  i915_irq.o \
C
Chris Wilson 已提交
31
	  i915_trace_points.o \
D
Daniel Vetter 已提交
32 33 34 35 36
	  intel_ringbuffer.o \
	  intel_uncore.o

# modesetting core code
i915-y += intel_bios.o \
J
Jesse Barnes 已提交
37 38
	  intel_display.o \
	  intel_modes.o \
39
	  intel_opregion.o \
D
Daniel Vetter 已提交
40
	  intel_overlay.o \
41
	  intel_sideband.o \
D
Daniel Vetter 已提交
42 43 44 45 46 47
	  intel_sprite.o
i915-$(CONFIG_ACPI)		+= intel_acpi.o
i915-$(CONFIG_DRM_I915_FBDEV)	+= intel_fbdev.o

# modesetting output/encoder code
i915-y += dvo_ch7017.o \
J
Jesse Barnes 已提交
48 49
	  dvo_ch7xxx.o \
	  dvo_ivch.o \
50
	  dvo_ns2501.o \
D
Daniel Vetter 已提交
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
	  dvo_sil164.o \
	  dvo_tfp410.o \
	  intel_crt.o \
	  intel_ddi.o \
	  intel_dp.o \
	  intel_dsi_cmd.o \
	  intel_dsi.o \
	  intel_dsi_pll.o \
	  intel_dvo.o \
	  intel_hdmi.o \
	  intel_i2c.o \
	  intel_lvds.o \
	  intel_panel.o \
	  intel_sdvo.o \
	  intel_tv.o
66

D
Daniel Vetter 已提交
67 68 69
# legacy horrors
i915-y += i915_dma.o \
	  i915_ums.o
70

71
obj-$(CONFIG_DRM_I915)  += i915.o
P
Peter Clifton 已提交
72 73

CFLAGS_i915_trace_points.o := -I$(src)