11.3Sriastrad# SPDX-License-Identifier: MIT
21.3Sriastradccflags-y += -I $(srctree)/$(src)/include
31.3Sriastradccflags-y += -I $(srctree)/$(src)/include/nvkm
41.3Sriastradccflags-y += -I $(srctree)/$(src)/nvkm
51.3Sriastradccflags-y += -I $(srctree)/$(src)
61.1Sriastrad
71.1Sriastrad# NVKM - HW resource manager
81.1Sriastrad#- code also used by various userspace tools/tests
91.1Sriastradinclude $(src)/nvif/Kbuild
101.1Sriastradnouveau-y := $(nvif-y)
111.1Sriastrad
121.1Sriastrad# NVIF - NVKM interface library (NVKM user interface also defined here)
131.1Sriastrad#- code also used by various userspace tools/tests
141.1Sriastradinclude $(src)/nvkm/Kbuild
151.1Sriastradnouveau-y += $(nvkm-y)
161.1Sriastrad
171.1Sriastrad# DRM - general
181.1Sriastradifdef CONFIG_X86
191.1Sriastradnouveau-$(CONFIG_ACPI) += nouveau_acpi.o
201.1Sriastradendif
211.1Sriastradnouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o
221.1Sriastradnouveau-y += nouveau_drm.o
231.1Sriastradnouveau-y += nouveau_hwmon.o
241.1Sriastradnouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
251.3Sriastradnouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o
261.1Sriastradnouveau-y += nouveau_nvif.o
271.1Sriastradnouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o
281.1Sriastradnouveau-y += nouveau_usif.o # userspace <-> nvif
291.1Sriastradnouveau-y += nouveau_vga.o
301.1Sriastrad
311.1Sriastrad# DRM - memory management
321.1Sriastradnouveau-y += nouveau_bo.o
331.1Sriastradnouveau-y += nouveau_gem.o
341.3Sriastradnouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_svm.o
351.3Sriastradnouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_dmem.o
361.3Sriastradnouveau-y += nouveau_mem.o
371.1Sriastradnouveau-y += nouveau_prime.o
381.1Sriastradnouveau-y += nouveau_sgdma.o
391.1Sriastradnouveau-y += nouveau_ttm.o
401.3Sriastradnouveau-y += nouveau_vmm.o
411.1Sriastrad
421.1Sriastrad# DRM - modesetting
431.1Sriastradnouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
441.3Sriastradnouveau-y += nouveau_bios.o
451.1Sriastradnouveau-y += nouveau_connector.o
461.1Sriastradnouveau-y += nouveau_display.o
471.1Sriastradnouveau-y += nouveau_dp.o
481.1Sriastradnouveau-y += nouveau_fbcon.o
491.1Sriastradnouveau-y += nv04_fbcon.o
501.1Sriastradnouveau-y += nv50_fbcon.o
511.1Sriastradnouveau-y += nvc0_fbcon.o
521.3Sriastradinclude $(src)/dispnv04/Kbuild
531.3Sriastradinclude $(src)/dispnv50/Kbuild
541.1Sriastrad
551.1Sriastrad# DRM - command submission
561.1Sriastradnouveau-y += nouveau_abi16.o
571.1Sriastradnouveau-y += nouveau_chan.o
581.1Sriastradnouveau-y += nouveau_dma.o
591.1Sriastradnouveau-y += nouveau_fence.o
601.1Sriastradnouveau-y += nv04_fence.o
611.1Sriastradnouveau-y += nv10_fence.o
621.1Sriastradnouveau-y += nv17_fence.o
631.1Sriastradnouveau-y += nv50_fence.o
641.1Sriastradnouveau-y += nv84_fence.o
651.1Sriastradnouveau-y += nvc0_fence.o
661.1Sriastrad
671.1Sriastradobj-$(CONFIG_DRM_NOUVEAU) += nouveau.o
68