1KMOD = i915 2 3# core driver code 4SRCS = i915_drv.c \ 5 i915_irq.c \ 6 i915_memcpy.c \ 7 i915_mm.c \ 8 i915_params.c \ 9 i915_pci.c \ 10 i915_suspend.c \ 11 i915_syncmap.c \ 12 i915_sw_fence.c \ 13 i915_sysfs.c \ 14 intel_csr.c \ 15 intel_device_info.c \ 16 intel_pm.c \ 17 intel_runtime_pm.c 18 19# CONFIG_DEBUG_FS 20# SRCS += i915_debugfs.c intel_pipe_crc.c 21 22# GEM code 23SRCS += i915_cmd_parser.c \ 24 i915_gem_batch_pool.c \ 25 i915_gem_clflush.c \ 26 i915_gem_context.c \ 27 i915_gem_dmabuf.c \ 28 i915_gem_evict.c \ 29 i915_gem_execbuffer.c \ 30 i915_gem_fence_reg.c \ 31 i915_gem_gtt.c \ 32 i915_gem_internal.c \ 33 i915_gem.c \ 34 i915_gem_object.c \ 35 i915_gem_render_state.c \ 36 i915_gem_request.c \ 37 i915_gem_shrinker.c \ 38 i915_gem_stolen.c \ 39 i915_gem_tiling.c \ 40 i915_gem_timeline.c \ 41 i915_gem_userptr.c \ 42 i915_vma.c \ 43 intel_breadcrumbs.c \ 44 intel_engine_cs.c \ 45 intel_hangcheck.c \ 46 intel_lrc.c \ 47 intel_mocs.c \ 48 intel_ringbuffer.c \ 49 intel_uncore.c 50 51# general-purpose microcontroller (GuC) support 52SRCS += intel_uc.c \ 53 intel_uc_fw.c \ 54 intel_guc.c \ 55 intel_guc_ct.c \ 56 intel_guc_log.c \ 57 intel_guc_fw.c \ 58 intel_huc.c \ 59 i915_guc_submission.c 60 61# autogenerated null render state 62SRCS += intel_renderstate_gen6.c \ 63 intel_renderstate_gen7.c \ 64 intel_renderstate_gen8.c \ 65 intel_renderstate_gen9.c 66 67# modesetting core code 68SRCS += \ 69 intel_audio.c \ 70 intel_atomic.c \ 71 intel_atomic_plane.c \ 72 intel_acpi.c \ 73 intel_bios.c \ 74 intel_cdclk.c \ 75 intel_color.c \ 76 intel_display.c \ 77 intel_dpio_phy.c \ 78 intel_dpll_mgr.c \ 79 intel_fbc.c \ 80 intel_fifo_underrun.c \ 81 intel_frontbuffer.c \ 82 intel_hotplug.c \ 83 intel_fbdev.c \ 84 intel_modes.c \ 85 intel_opregion.c \ 86 intel_overlay.c \ 87 intel_psr.c \ 88 intel_sideband.c \ 89 intel_sprite.c 90 91# modesetting output/encoder code 92SRCS += \ 93 dvo_ch7017.c \ 94 dvo_ch7xxx.c \ 95 dvo_ivch.c \ 96 dvo_ns2501.c \ 97 dvo_sil164.c \ 98 dvo_tfp410.c \ 99 intel_crt.c \ 100 intel_ddi.c \ 101 intel_dp_aux_backlight.c \ 102 intel_dp_link_training.c \ 103 intel_dp_mst.c \ 104 intel_dp.c \ 105 intel_dsi.c \ 106 intel_dsi_dcs_backlight.c \ 107 intel_dsi_pll.c \ 108 intel_dsi_vbt.c \ 109 intel_dvo.c \ 110 intel_hdmi.c \ 111 intel_i2c.c \ 112 intel_lspcon.c \ 113 intel_lvds.c \ 114 intel_panel.c \ 115 intel_sdvo.c \ 116 intel_tv.c 117 118# Post-mortem debug and GPU hang state capture 119#i915-$(CONFIG_DRM_I915_CAPTURE_ERROR) += i915_gpu_error.o 120#i915-$(CONFIG_DRM_I915_SELFTEST) += \ 121 selftests/i915_random.o \ 122 selftests/i915_selftest.o 123 124# virtual gpu code 125SRCS += i915_vgpu.c 126 127# perf code 128SRCS += i915_perf.c \ 129 i915_oa_hsw.c 130 131# CONFIG_DRM_I915_GVT 132#SRCS += intel_gvt.c 133 134# LPE Audio for VLV and CHT 135SRCS += intel_lpe_audio.c 136 137SRCS += \ 138 opt_acpi.h \ 139 opt_ddb.h \ 140 opt_drm.h \ 141 acpi_if.h \ 142 bus_if.h \ 143 device_if.h \ 144 pci_if.h 145 146KCFLAGS+= -I${SYSDIR}/dev/drm/include 147KCFLAGS+= -I${SYSDIR}/dev/drm/include/uapi 148KCFLAGS+= -I${SYSDIR}/contrib/dev/acpica/source/include 149KCFLAGS+= -include ${SYSDIR}/dev/drm/kconfig.h 150KCFLAGS+= -DKBUILD_MODNAME=\"$(KMOD)\" 151 152.include <bsd.kmod.mk> 153