1# 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. 4 5subdir-ccflags-$(CONFIG_DRM_I915_WERROR) := -Werror 6 7# Please keep these build lists sorted! 8 9# core driver code 10i915-y := i915_drv.o \ 11 i915_irq.o \ 12 i915_params.o \ 13 i915_pci.o \ 14 i915_suspend.o \ 15 i915_sysfs.o \ 16 intel_csr.o \ 17 intel_pm.o \ 18 intel_runtime_pm.o 19 20i915-$(CONFIG_COMPAT) += i915_ioc32.o 21i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o 22 23# GEM code 24i915-y += i915_cmd_parser.o \ 25 i915_gem_batch_pool.o \ 26 i915_gem_context.o \ 27 i915_gem_debug.o \ 28 i915_gem_dmabuf.o \ 29 i915_gem_evict.o \ 30 i915_gem_execbuffer.o \ 31 i915_gem_fence.o \ 32 i915_gem_gtt.o \ 33 i915_gem.o \ 34 i915_gem_render_state.o \ 35 i915_gem_shrinker.o \ 36 i915_gem_stolen.o \ 37 i915_gem_tiling.o \ 38 i915_gem_userptr.o \ 39 i915_gpu_error.o \ 40 i915_trace_points.o \ 41 intel_lrc.o \ 42 intel_mocs.o \ 43 intel_ringbuffer.o \ 44 intel_uncore.o 45 46# general-purpose microcontroller (GuC) support 47i915-y += intel_guc_loader.o \ 48 i915_guc_submission.o 49 50# autogenerated null render state 51i915-y += intel_renderstate_gen6.o \ 52 intel_renderstate_gen7.o \ 53 intel_renderstate_gen8.o \ 54 intel_renderstate_gen9.o 55 56# modesetting core code 57i915-y += intel_audio.o \ 58 intel_atomic.o \ 59 intel_atomic_plane.o \ 60 intel_bios.o \ 61 intel_color.o \ 62 intel_display.o \ 63 intel_dpio_phy.o \ 64 intel_dpll_mgr.o \ 65 intel_fbc.o \ 66 intel_fifo_underrun.o \ 67 intel_frontbuffer.o \ 68 intel_hotplug.o \ 69 intel_modes.o \ 70 intel_overlay.o \ 71 intel_psr.o \ 72 intel_sideband.o \ 73 intel_sprite.o 74i915-$(CONFIG_ACPI) += intel_acpi.o intel_opregion.o 75i915-$(CONFIG_DRM_FBDEV_EMULATION) += intel_fbdev.o 76 77# modesetting output/encoder code 78i915-y += dvo_ch7017.o \ 79 dvo_ch7xxx.o \ 80 dvo_ivch.o \ 81 dvo_ns2501.o \ 82 dvo_sil164.o \ 83 dvo_tfp410.o \ 84 intel_crt.o \ 85 intel_ddi.o \ 86 intel_dp_aux_backlight.o \ 87 intel_dp_link_training.o \ 88 intel_dp_mst.o \ 89 intel_dp.o \ 90 intel_dsi.o \ 91 intel_dsi_dcs_backlight.o \ 92 intel_dsi_panel_vbt.o \ 93 intel_dsi_pll.o \ 94 intel_dvo.o \ 95 intel_hdmi.o \ 96 intel_i2c.o \ 97 intel_lvds.o \ 98 intel_panel.o \ 99 intel_sdvo.o \ 100 intel_tv.o 101 102# virtual gpu code 103i915-y += i915_vgpu.o 104 105ifeq ($(CONFIG_DRM_I915_GVT),y) 106i915-y += intel_gvt.o 107include $(src)/gvt/Makefile 108endif 109 110obj-$(CONFIG_DRM_I915) += i915.o 111 112CFLAGS_i915_trace_points.o := -I$(src) 113