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.
5 subdir-ccflags-
$(CONFIG_DRM_I915_WERROR
) := -Werror
7 $(call as-instr
,movntdqa
(%eax
)$(comma
)%xmm0
,-DCONFIG_AS_MOVNTDQA
)
9 # Please keep these build lists sorted!
12 i915-y
:= i915_drv.o \
26 i915-
$(CONFIG_COMPAT
) += i915_ioc32.o
27 i915-
$(CONFIG_DEBUG_FS
) += i915_debugfs.o
30 i915-y
+= i915_cmd_parser.o \
31 i915_gem_batch_pool.o \
35 i915_gem_execbuffer.o \
36 i915_gem_fence_reg.o \
40 i915_gem_render_state.o \
57 # general-purpose microcontroller (GuC) support
58 i915-y
+= intel_guc_loader.o \
61 # autogenerated null render state
62 i915-y
+= intel_renderstate_gen6.o \
63 intel_renderstate_gen7.o \
64 intel_renderstate_gen8.o \
65 intel_renderstate_gen9.o
67 # modesetting core code
68 i915-y
+= intel_audio.o \
70 intel_atomic_plane.o \
77 intel_fifo_underrun.o \
85 i915-
$(CONFIG_ACPI
) += intel_acpi.o intel_opregion.o
86 i915-
$(CONFIG_DRM_FBDEV_EMULATION
) += intel_fbdev.o
88 # modesetting output/encoder code
89 i915-y
+= dvo_ch7017.o \
97 intel_dp_aux_backlight.o \
98 intel_dp_link_training.o \
102 intel_dsi_dcs_backlight.o \
103 intel_dsi_panel_vbt.o \
114 # Post-mortem debug and GPU hang state capture
115 i915-
$(CONFIG_DRM_I915_CAPTURE_ERROR
) += i915_gpu_error.o
118 i915-y
+= i915_vgpu.o
120 ifeq ($(CONFIG_DRM_I915_GVT
),y
)
121 i915-y
+= intel_gvt.o
122 include $(src
)/gvt
/Makefile
125 obj-
$(CONFIG_DRM_I915
) += i915.o
127 CFLAGS_i915_trace_points.o
:= -I
$(src
)