18c2ecf20Sopenharmony_ciNOUVEAU_PATH ?= $(srctree) 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci# SPDX-License-Identifier: MIT 48c2ecf20Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/include 58c2ecf20Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/include/nvkm 68c2ecf20Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src)/nvkm 78c2ecf20Sopenharmony_ciccflags-y += -I $(NOUVEAU_PATH)/$(src) 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci# NVKM - HW resource manager 108c2ecf20Sopenharmony_ci#- code also used by various userspace tools/tests 118c2ecf20Sopenharmony_ciinclude $(src)/nvif/Kbuild 128c2ecf20Sopenharmony_cinouveau-y := $(nvif-y) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci# NVIF - NVKM interface library (NVKM user interface also defined here) 158c2ecf20Sopenharmony_ci#- code also used by various userspace tools/tests 168c2ecf20Sopenharmony_ciinclude $(src)/nvkm/Kbuild 178c2ecf20Sopenharmony_cinouveau-y += $(nvkm-y) 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci# DRM - general 208c2ecf20Sopenharmony_ciifdef CONFIG_X86 218c2ecf20Sopenharmony_cinouveau-$(CONFIG_ACPI) += nouveau_acpi.o 228c2ecf20Sopenharmony_ciendif 238c2ecf20Sopenharmony_cinouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o 248c2ecf20Sopenharmony_cinouveau-y += nouveau_drm.o 258c2ecf20Sopenharmony_cinouveau-y += nouveau_hwmon.o 268c2ecf20Sopenharmony_cinouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o 278c2ecf20Sopenharmony_cinouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o 288c2ecf20Sopenharmony_cinouveau-y += nouveau_nvif.o 298c2ecf20Sopenharmony_cinouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o 308c2ecf20Sopenharmony_cinouveau-y += nouveau_usif.o # userspace <-> nvif 318c2ecf20Sopenharmony_cinouveau-y += nouveau_vga.o 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci# DRM - memory management 348c2ecf20Sopenharmony_cinouveau-y += nouveau_bo.o 358c2ecf20Sopenharmony_cinouveau-y += nouveau_bo0039.o 368c2ecf20Sopenharmony_cinouveau-y += nouveau_bo5039.o 378c2ecf20Sopenharmony_cinouveau-y += nouveau_bo74c1.o 388c2ecf20Sopenharmony_cinouveau-y += nouveau_bo85b5.o 398c2ecf20Sopenharmony_cinouveau-y += nouveau_bo9039.o 408c2ecf20Sopenharmony_cinouveau-y += nouveau_bo90b5.o 418c2ecf20Sopenharmony_cinouveau-y += nouveau_boa0b5.o 428c2ecf20Sopenharmony_cinouveau-y += nouveau_gem.o 438c2ecf20Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_svm.o 448c2ecf20Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_dmem.o 458c2ecf20Sopenharmony_cinouveau-y += nouveau_mem.o 468c2ecf20Sopenharmony_cinouveau-y += nouveau_prime.o 478c2ecf20Sopenharmony_cinouveau-y += nouveau_sgdma.o 488c2ecf20Sopenharmony_cinouveau-y += nouveau_ttm.o 498c2ecf20Sopenharmony_cinouveau-y += nouveau_vmm.o 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci# DRM - modesetting 528c2ecf20Sopenharmony_cinouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o 538c2ecf20Sopenharmony_cinouveau-y += nouveau_bios.o 548c2ecf20Sopenharmony_cinouveau-y += nouveau_connector.o 558c2ecf20Sopenharmony_cinouveau-y += nouveau_display.o 568c2ecf20Sopenharmony_cinouveau-y += nouveau_dp.o 578c2ecf20Sopenharmony_cinouveau-y += nouveau_fbcon.o 588c2ecf20Sopenharmony_cinouveau-y += nv04_fbcon.o 598c2ecf20Sopenharmony_cinouveau-y += nv50_fbcon.o 608c2ecf20Sopenharmony_cinouveau-y += nvc0_fbcon.o 618c2ecf20Sopenharmony_ciinclude $(src)/dispnv04/Kbuild 628c2ecf20Sopenharmony_ciinclude $(src)/dispnv50/Kbuild 638c2ecf20Sopenharmony_ci 648c2ecf20Sopenharmony_ci# DRM - command submission 658c2ecf20Sopenharmony_cinouveau-y += nouveau_abi16.o 668c2ecf20Sopenharmony_cinouveau-y += nouveau_chan.o 678c2ecf20Sopenharmony_cinouveau-y += nouveau_dma.o 688c2ecf20Sopenharmony_cinouveau-y += nouveau_fence.o 698c2ecf20Sopenharmony_cinouveau-y += nv04_fence.o 708c2ecf20Sopenharmony_cinouveau-y += nv10_fence.o 718c2ecf20Sopenharmony_cinouveau-y += nv17_fence.o 728c2ecf20Sopenharmony_cinouveau-y += nv50_fence.o 738c2ecf20Sopenharmony_cinouveau-y += nv84_fence.o 748c2ecf20Sopenharmony_cinouveau-y += nvc0_fence.o 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ciobj-$(CONFIG_DRM_NOUVEAU) += nouveau.o 77