162306a36Sopenharmony_ciNOUVEAU_PATH ?= $(srctree) 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci# SPDX-License-Identifier: MIT 462306a36Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/include 562306a36Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/include/nvkm 662306a36Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/nvkm 762306a36Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src) 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci# NVKM - HW resource manager 1062306a36Sopenharmony_ci#- code also used by various userspace tools/tests 1162306a36Sopenharmony_ciinclude $(src)/nvif/Kbuild 1262306a36Sopenharmony_cinouveau-y := $(nvif-y) 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci# NVIF - NVKM interface library (NVKM user interface also defined here) 1562306a36Sopenharmony_ci#- code also used by various userspace tools/tests 1662306a36Sopenharmony_ciinclude $(src)/nvkm/Kbuild 1762306a36Sopenharmony_cinouveau-y += $(nvkm-y) 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci# DRM - general 2062306a36Sopenharmony_ciifdef CONFIG_X86 2162306a36Sopenharmony_cinouveau-$(CONFIG_ACPI) += nouveau_acpi.o 2262306a36Sopenharmony_ciendif 2362306a36Sopenharmony_cinouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o 2462306a36Sopenharmony_cinouveau-y += nouveau_drm.o 2562306a36Sopenharmony_cinouveau-y += nouveau_hwmon.o 2662306a36Sopenharmony_cinouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o 2762306a36Sopenharmony_cinouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o 2862306a36Sopenharmony_cinouveau-y += nouveau_nvif.o 2962306a36Sopenharmony_cinouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o 3062306a36Sopenharmony_cinouveau-y += nouveau_usif.o # userspace <-> nvif 3162306a36Sopenharmony_cinouveau-y += nouveau_vga.o 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci# DRM - memory management 3462306a36Sopenharmony_cinouveau-y += nouveau_bo.o 3562306a36Sopenharmony_cinouveau-y += nouveau_bo0039.o 3662306a36Sopenharmony_cinouveau-y += nouveau_bo5039.o 3762306a36Sopenharmony_cinouveau-y += nouveau_bo74c1.o 3862306a36Sopenharmony_cinouveau-y += nouveau_bo85b5.o 3962306a36Sopenharmony_cinouveau-y += nouveau_bo9039.o 4062306a36Sopenharmony_cinouveau-y += nouveau_bo90b5.o 4162306a36Sopenharmony_cinouveau-y += nouveau_boa0b5.o 4262306a36Sopenharmony_cinouveau-y += nouveau_gem.o 4362306a36Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_svm.o 4462306a36Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_dmem.o 4562306a36Sopenharmony_cinouveau-y += nouveau_mem.o 4662306a36Sopenharmony_cinouveau-y += nouveau_prime.o 4762306a36Sopenharmony_cinouveau-y += nouveau_sgdma.o 4862306a36Sopenharmony_cinouveau-y += nouveau_ttm.o 4962306a36Sopenharmony_cinouveau-y += nouveau_vmm.o 5062306a36Sopenharmony_cinouveau-y += nouveau_exec.o 5162306a36Sopenharmony_cinouveau-y += nouveau_sched.o 5262306a36Sopenharmony_cinouveau-y += nouveau_uvmm.o 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci# DRM - modesetting 5562306a36Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o 5662306a36Sopenharmony_cinouveau-y += nouveau_bios.o 5762306a36Sopenharmony_cinouveau-y += nouveau_connector.o 5862306a36Sopenharmony_cinouveau-y += nouveau_display.o 5962306a36Sopenharmony_cinouveau-y += nouveau_dp.o 6062306a36Sopenharmony_ciinclude $(src)/dispnv04/Kbuild 6162306a36Sopenharmony_ciinclude $(src)/dispnv50/Kbuild 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ci# DRM - command submission 6462306a36Sopenharmony_cinouveau-y += nouveau_abi16.o 6562306a36Sopenharmony_cinouveau-y += nouveau_chan.o 6662306a36Sopenharmony_cinouveau-y += nouveau_dma.o 6762306a36Sopenharmony_cinouveau-y += nouveau_fence.o 6862306a36Sopenharmony_cinouveau-y += nv04_fence.o 6962306a36Sopenharmony_cinouveau-y += nv10_fence.o 7062306a36Sopenharmony_cinouveau-y += nv17_fence.o 7162306a36Sopenharmony_cinouveau-y += nv50_fence.o 7262306a36Sopenharmony_cinouveau-y += nv84_fence.o 7362306a36Sopenharmony_cinouveau-y += nvc0_fence.o 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ciobj-$(CONFIG_DRM_NOUVEAU) += nouveau.o 76