]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/Kbuild
Merge branch 'kvm-insert-lfence' into kvm-master
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / Kbuild
1 ccflags-y += -I$(src)/include
2 ccflags-y += -I$(src)/include/nvkm
3 ccflags-y += -I$(src)/nvkm
4 ccflags-y += -I$(src)
5
6 # NVKM - HW resource manager
7 #- code also used by various userspace tools/tests
8 include $(src)/nvif/Kbuild
9 nouveau-y := $(nvif-y)
10
11 # NVIF - NVKM interface library (NVKM user interface also defined here)
12 #- code also used by various userspace tools/tests
13 include $(src)/nvkm/Kbuild
14 nouveau-y += $(nvkm-y)
15
16 # DRM - general
17 ifdef CONFIG_X86
18 nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
19 endif
20 nouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o
21 nouveau-y += nouveau_drm.o
22 nouveau-y += nouveau_hwmon.o
23 nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
24 nouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o
25 nouveau-y += nouveau_nvif.o
26 nouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o
27 nouveau-y += nouveau_usif.o # userspace <-> nvif
28 nouveau-y += nouveau_vga.o
29
30 # DRM - memory management
31 nouveau-y += nouveau_bo.o
32 nouveau-y += nouveau_gem.o
33 nouveau-y += nouveau_mem.o
34 nouveau-y += nouveau_prime.o
35 nouveau-y += nouveau_sgdma.o
36 nouveau-y += nouveau_ttm.o
37 nouveau-y += nouveau_vmm.o
38
39 # DRM - modesetting
40 nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
41 nouveau-y += nouveau_connector.o
42 nouveau-y += nouveau_display.o
43 nouveau-y += nv50_display.o
44 nouveau-y += nouveau_dp.o
45 nouveau-y += nouveau_fbcon.o
46 nouveau-y += nv04_fbcon.o
47 nouveau-y += nv50_fbcon.o
48 nouveau-y += nvc0_fbcon.o
49
50 # DRM - command submission
51 nouveau-y += nouveau_abi16.o
52 nouveau-y += nouveau_chan.o
53 nouveau-y += nouveau_dma.o
54 nouveau-y += nouveau_fence.o
55 nouveau-y += nv04_fence.o
56 nouveau-y += nv10_fence.o
57 nouveau-y += nv17_fence.o
58 nouveau-y += nv50_fence.o
59 nouveau-y += nv84_fence.o
60 nouveau-y += nvc0_fence.o
61
62 # DRM - prehistoric modesetting (NV04-G7x)
63 nouveau-y += nouveau_bios.o
64 include $(src)/dispnv04/Kbuild
65
66 obj-$(CONFIG_DRM_NOUVEAU) += nouveau.o