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 intel_pipe_crc.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_uc.o \
64 # autogenerated null render state
65 i915-y
+= intel_renderstate_gen6.o \
66 intel_renderstate_gen7.o \
67 intel_renderstate_gen8.o \
68 intel_renderstate_gen9.o
70 # modesetting core code
71 i915-y
+= intel_audio.o \
73 intel_atomic_plane.o \
80 intel_fifo_underrun.o \
88 i915-
$(CONFIG_ACPI
) += intel_acpi.o intel_opregion.o
89 i915-
$(CONFIG_DRM_FBDEV_EMULATION
) += intel_fbdev.o
91 # modesetting output/encoder code
92 i915-y
+= dvo_ch7017.o \
100 intel_dp_aux_backlight.o \
101 intel_dp_link_training.o \
105 intel_dsi_dcs_backlight.o \
106 intel_dsi_panel_vbt.o \
117 # Post-mortem debug and GPU hang state capture
118 i915-
$(CONFIG_DRM_I915_CAPTURE_ERROR
) += i915_gpu_error.o
121 i915-y
+= i915_vgpu.o
124 i915-y
+= i915_perf.o \
127 ifeq ($(CONFIG_DRM_I915_GVT
),y
)
128 i915-y
+= intel_gvt.o
129 include $(src
)/gvt
/Makefile
132 obj-
$(CONFIG_DRM_I915
) += i915.o
134 CFLAGS_i915_trace_points.o
:= -I
$(src
)