eeaf06ac1a
This uses HMM to mirror a process' CPU page tables into a channel's page tables, and keep them synchronised so that both the CPU and GPU are able to access the same memory at the same virtual address. While this code also supports Volta/Turing, it's only enabled for Pascal GPUs currently due to channel recovery being unreliable right now on the later GPUs. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
66 lines
1.8 KiB
Makefile
66 lines
1.8 KiB
Makefile
ccflags-y += -I$(src)/include
|
|
ccflags-y += -I$(src)/include/nvkm
|
|
ccflags-y += -I$(src)/nvkm
|
|
ccflags-y += -I$(src)
|
|
|
|
# NVKM - HW resource manager
|
|
#- code also used by various userspace tools/tests
|
|
include $(src)/nvif/Kbuild
|
|
nouveau-y := $(nvif-y)
|
|
|
|
# NVIF - NVKM interface library (NVKM user interface also defined here)
|
|
#- code also used by various userspace tools/tests
|
|
include $(src)/nvkm/Kbuild
|
|
nouveau-y += $(nvkm-y)
|
|
|
|
# DRM - general
|
|
ifdef CONFIG_X86
|
|
nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
|
|
endif
|
|
nouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o
|
|
nouveau-y += nouveau_drm.o
|
|
nouveau-y += nouveau_hwmon.o
|
|
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
|
|
nouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o
|
|
nouveau-y += nouveau_nvif.o
|
|
nouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o
|
|
nouveau-y += nouveau_usif.o # userspace <-> nvif
|
|
nouveau-y += nouveau_vga.o
|
|
|
|
# DRM - memory management
|
|
nouveau-y += nouveau_bo.o
|
|
nouveau-y += nouveau_gem.o
|
|
nouveau-$(CONFIG_DRM_NOUVEAU_SVM) += nouveau_svm.o
|
|
nouveau-y += nouveau_mem.o
|
|
nouveau-y += nouveau_prime.o
|
|
nouveau-y += nouveau_sgdma.o
|
|
nouveau-y += nouveau_ttm.o
|
|
nouveau-y += nouveau_vmm.o
|
|
|
|
# DRM - modesetting
|
|
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
|
|
nouveau-y += nouveau_bios.o
|
|
nouveau-y += nouveau_connector.o
|
|
nouveau-y += nouveau_display.o
|
|
nouveau-y += nouveau_dp.o
|
|
nouveau-y += nouveau_fbcon.o
|
|
nouveau-y += nv04_fbcon.o
|
|
nouveau-y += nv50_fbcon.o
|
|
nouveau-y += nvc0_fbcon.o
|
|
include $(src)/dispnv04/Kbuild
|
|
include $(src)/dispnv50/Kbuild
|
|
|
|
# DRM - command submission
|
|
nouveau-y += nouveau_abi16.o
|
|
nouveau-y += nouveau_chan.o
|
|
nouveau-y += nouveau_dma.o
|
|
nouveau-y += nouveau_fence.o
|
|
nouveau-y += nv04_fence.o
|
|
nouveau-y += nv10_fence.o
|
|
nouveau-y += nv17_fence.o
|
|
nouveau-y += nv50_fence.o
|
|
nouveau-y += nv84_fence.o
|
|
nouveau-y += nvc0_fence.o
|
|
|
|
obj-$(CONFIG_DRM_NOUVEAU) += nouveau.o
|