aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-07 03:17:21 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-07 16:37:00 -0500
commit2fae6a860ca9adb0c881f6dcd633df775c2520e9 (patch)
tree4c6a4c1c5e7efd8b8a78f0a64d7ef97fc3f00003 /drivers/gpu
parent351e3db2b3631556607d0d94fa26df8e2e0d0fd8 (diff)
drm/i915: Go OCD on the Makefile
Chris suggested to split things up a bit into the different parts of the driver and also sort it all correctly, with the hope that we're trying to organize things a bit better eventually. It should also help newcomers to orient themselves a bit better. v2: - Move intel_pm.c to the core - to make things perfect we should split out the modeset related pm features (psr/fbc) into a separate file. Maybe something Rodrigo can do once the PSR patches have settled. - Split the modesetting sections into core and encoders/outputs. intel_ddi.c is a bit funky since it has core hsw+ support and ddi output support. Whatever. v3: Failed to git add ... v4: Really go ocd, i.e. spelling fix in a comment from Jani. Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/Makefile84
1 files changed, 47 insertions, 37 deletions
diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index 3569122b1995..077e81b1065d 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -3,60 +3,70 @@
3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. 3# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
4 4
5ccflags-y := -Iinclude/drm 5ccflags-y := -Iinclude/drm
6i915-y := i915_drv.o i915_dma.o i915_irq.o \ 6
7 i915_gpu_error.o \ 7# Please keep these build lists sorted!
8
9# core driver code
10i915-y := i915_drv.o \
11 i915_params.o \
8 i915_suspend.o \ 12 i915_suspend.o \
9 i915_gem.o \ 13 i915_sysfs.o \
14 intel_pm.o
15i915-$(CONFIG_COMPAT) += i915_ioc32.o
16i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o
17
18# GEM code
19i915-y += i915_cmd_parser.o \
10 i915_gem_context.o \ 20 i915_gem_context.o \
11 i915_gem_debug.o \ 21 i915_gem_debug.o \
22 i915_gem_dmabuf.o \
12 i915_gem_evict.o \ 23 i915_gem_evict.o \
13 i915_gem_execbuffer.o \ 24 i915_gem_execbuffer.o \
14 i915_gem_gtt.o \ 25 i915_gem_gtt.o \
26 i915_gem.o \
15 i915_gem_stolen.o \ 27 i915_gem_stolen.o \
16 i915_gem_tiling.o \ 28 i915_gem_tiling.o \
17 i915_cmd_parser.o \ 29 i915_gpu_error.o \
18 i915_params.o \ 30 i915_irq.o \
19 i915_sysfs.o \
20 i915_trace_points.o \ 31 i915_trace_points.o \
21 i915_ums.o \ 32 intel_ringbuffer.o \
33 intel_uncore.o
34
35# modesetting core code
36i915-y += intel_bios.o \
22 intel_display.o \ 37 intel_display.o \
23 intel_crt.o \
24 intel_lvds.o \
25 intel_dsi.o \
26 intel_dsi_cmd.o \
27 intel_dsi_pll.o \
28 intel_bios.o \
29 intel_ddi.o \
30 intel_dp.o \
31 intel_hdmi.o \
32 intel_sdvo.o \
33 intel_modes.o \ 38 intel_modes.o \
34 intel_panel.o \
35 intel_pm.o \
36 intel_i2c.o \
37 intel_tv.o \
38 intel_dvo.o \
39 intel_ringbuffer.o \
40 intel_overlay.o \
41 intel_sprite.o \
42 intel_opregion.o \ 39 intel_opregion.o \
40 intel_overlay.o \
43 intel_sideband.o \ 41 intel_sideband.o \
44 intel_uncore.o \ 42 intel_sprite.o
43i915-$(CONFIG_ACPI) += intel_acpi.o
44i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o
45
46# modesetting output/encoder code
47i915-y += dvo_ch7017.o \
45 dvo_ch7xxx.o \ 48 dvo_ch7xxx.o \
46 dvo_ch7017.o \
47 dvo_ivch.o \ 49 dvo_ivch.o \
48 dvo_tfp410.o \
49 dvo_sil164.o \
50 dvo_ns2501.o \ 50 dvo_ns2501.o \
51 i915_gem_dmabuf.o 51 dvo_sil164.o \
52 52 dvo_tfp410.o \
53i915-$(CONFIG_COMPAT) += i915_ioc32.o 53 intel_crt.o \
54 54 intel_ddi.o \
55i915-$(CONFIG_ACPI) += intel_acpi.o 55 intel_dp.o \
56 56 intel_dsi_cmd.o \
57i915-$(CONFIG_DRM_I915_FBDEV) += intel_fbdev.o 57 intel_dsi.o \
58 intel_dsi_pll.o \
59 intel_dvo.o \
60 intel_hdmi.o \
61 intel_i2c.o \
62 intel_lvds.o \
63 intel_panel.o \
64 intel_sdvo.o \
65 intel_tv.o
58 66
59i915-$(CONFIG_DEBUG_FS) += i915_debugfs.o 67# legacy horrors
68i915-y += i915_dma.o \
69 i915_ums.o
60 70
61obj-$(CONFIG_DRM_I915) += i915.o 71obj-$(CONFIG_DRM_I915) += i915.o
62 72