Makefile 1.85 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
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 \
13
	  i915_sysfs.o \
14 15 16
	  intel_pm.o \
	  intel_runtime_pm.o

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_context.o \
23
	  i915_gem_render_state.o \
24
	  i915_gem_debug.o \
25
	  i915_gem_dmabuf.o \
26
	  i915_gem_evict.o \
27 28
	  i915_gem_execbuffer.o \
	  i915_gem_gtt.o \
29
	  i915_gem.o \
30
	  i915_gem_stolen.o \
31
	  i915_gem_tiling.o \
32
	  i915_gem_userptr.o \
33 34
	  i915_gpu_error.o \
	  i915_irq.o \
Chris Wilson's avatar
Chris Wilson committed
35
	  i915_trace_points.o \
36
	  intel_lrc.o \
37 38 39
	  intel_ringbuffer.o \
	  intel_uncore.o

40 41 42
# autogenerated null render state
i915-y += intel_renderstate_gen6.o \
	  intel_renderstate_gen7.o \
43 44
	  intel_renderstate_gen8.o \
	  intel_renderstate_gen9.o
45

46
# modesetting core code
47 48
i915-y += intel_audio.o \
	  intel_bios.o \
49
	  intel_display.o \
50
	  intel_fifo_underrun.o \
51
	  intel_frontbuffer.o \
52
	  intel_modes.o \
53
	  intel_overlay.o \
54
	  intel_sideband.o \
55
	  intel_sprite.o
56
i915-$(CONFIG_ACPI)		+= intel_acpi.o intel_opregion.o
57 58 59 60
i915-$(CONFIG_DRM_I915_FBDEV)	+= intel_fbdev.o

# modesetting output/encoder code
i915-y += dvo_ch7017.o \
61 62
	  dvo_ch7xxx.o \
	  dvo_ivch.o \
63
	  dvo_ns2501.o \
64 65 66 67 68
	  dvo_sil164.o \
	  dvo_tfp410.o \
	  intel_crt.o \
	  intel_ddi.o \
	  intel_dp.o \
69
	  intel_dp_mst.o \
70 71 72
	  intel_dsi_cmd.o \
	  intel_dsi.o \
	  intel_dsi_pll.o \
73
	  intel_dsi_panel_vbt.o \
74 75 76 77 78 79 80
	  intel_dvo.o \
	  intel_hdmi.o \
	  intel_i2c.o \
	  intel_lvds.o \
	  intel_panel.o \
	  intel_sdvo.o \
	  intel_tv.o
81

82 83 84
# legacy horrors
i915-y += i915_dma.o \
	  i915_ums.o
85

86
obj-$(CONFIG_DRM_I915)  += i915.o
87 88

CFLAGS_i915_trace_points.o := -I$(src)