drm/i915: Split out the PCI driver interface to i915_pci.c
[deliverable/linux.git] / drivers / gpu / drm / i915 / Makefile
index 7e2944406b8f2c4dc7d4359aabf44630e3e2eaa1..a3d2b789c9ec8493e95772b7e4794e8495b80711 100644 (file)
@@ -10,6 +10,7 @@ subdir-ccflags-$(CONFIG_DRM_I915_WERROR) := -Werror
 i915-y := i915_drv.o \
          i915_irq.o \
          i915_params.o \
+         i915_pci.o \
           i915_suspend.o \
          i915_sysfs.o \
          intel_csr.o \
@@ -101,8 +102,10 @@ i915-y += dvo_ch7017.o \
 # virtual gpu code
 i915-y += i915_vgpu.o
 
-# legacy horrors
-i915-y += i915_dma.o
+ifeq ($(CONFIG_DRM_I915_GVT),y)
+i915-y += intel_gvt.o
+include $(src)/gvt/Makefile
+endif
 
 obj-$(CONFIG_DRM_I915)  += i915.o
 
This page took 0.02426 seconds and 5 git commands to generate.