1*c39f472eSBen Skeggsccflags-y := -Iinclude/drm 2*c39f472eSBen Skeggsccflags-y += -I$(src)/include 3*c39f472eSBen Skeggsccflags-y += -I$(src)/include/nvkm 4*c39f472eSBen Skeggsccflags-y += -I$(src)/nvkm 5*c39f472eSBen Skeggsccflags-y += -I$(src) 6*c39f472eSBen Skeggs 7*c39f472eSBen Skeggs# NVKM - HW resource manager 8*c39f472eSBen Skeggs#- code also used by various userspace tools/tests 9*c39f472eSBen Skeggsinclude $(src)/nvif/Kbuild 10*c39f472eSBen Skeggsnouveau-y := $(nvif-y) 11*c39f472eSBen Skeggs 12*c39f472eSBen Skeggs# NVIF - NVKM interface library (NVKM user interface also defined here) 13*c39f472eSBen Skeggs#- code also used by various userspace tools/tests 14*c39f472eSBen Skeggsinclude $(src)/nvkm/Kbuild 15*c39f472eSBen Skeggsnouveau-y += $(nvkm-y) 16*c39f472eSBen Skeggs 17*c39f472eSBen Skeggs# DRM - general 18*c39f472eSBen Skeggsifdef CONFIG_X86 19*c39f472eSBen Skeggsnouveau-$(CONFIG_ACPI) += nouveau_acpi.o 20*c39f472eSBen Skeggsendif 21*c39f472eSBen Skeggsnouveau-y += nouveau_agp.o 22*c39f472eSBen Skeggsnouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o 23*c39f472eSBen Skeggsnouveau-y += nouveau_drm.o 24*c39f472eSBen Skeggsnouveau-y += nouveau_hwmon.o 25*c39f472eSBen Skeggsnouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o 26*c39f472eSBen Skeggsnouveau-y += nouveau_nvif.o 27*c39f472eSBen Skeggsnouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o 28*c39f472eSBen Skeggsnouveau-y += nouveau_sysfs.o 29*c39f472eSBen Skeggsnouveau-y += nouveau_usif.o # userspace <-> nvif 30*c39f472eSBen Skeggsnouveau-y += nouveau_vga.o 31*c39f472eSBen Skeggs 32*c39f472eSBen Skeggs# DRM - memory management 33*c39f472eSBen Skeggsnouveau-y += nouveau_bo.o 34*c39f472eSBen Skeggsnouveau-y += nouveau_gem.o 35*c39f472eSBen Skeggsnouveau-y += nouveau_prime.o 36*c39f472eSBen Skeggsnouveau-y += nouveau_sgdma.o 37*c39f472eSBen Skeggsnouveau-y += nouveau_ttm.o 38*c39f472eSBen Skeggs 39*c39f472eSBen Skeggs# DRM - modesetting 40*c39f472eSBen Skeggsnouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o 41*c39f472eSBen Skeggsnouveau-y += nouveau_connector.o 42*c39f472eSBen Skeggsnouveau-y += nouveau_display.o 43*c39f472eSBen Skeggsnouveau-y += nv50_display.o 44*c39f472eSBen Skeggsnouveau-y += nouveau_dp.o 45*c39f472eSBen Skeggsnouveau-y += nouveau_fbcon.o 46*c39f472eSBen Skeggsnouveau-y += nv04_fbcon.o 47*c39f472eSBen Skeggsnouveau-y += nv50_fbcon.o 48*c39f472eSBen Skeggsnouveau-y += nvc0_fbcon.o 49*c39f472eSBen Skeggs 50*c39f472eSBen Skeggs# DRM - command submission 51*c39f472eSBen Skeggsnouveau-y += nouveau_abi16.o 52*c39f472eSBen Skeggsnouveau-y += nouveau_chan.o 53*c39f472eSBen Skeggsnouveau-y += nouveau_dma.o 54*c39f472eSBen Skeggsnouveau-y += nouveau_fence.o 55*c39f472eSBen Skeggsnouveau-y += nv04_fence.o 56*c39f472eSBen Skeggsnouveau-y += nv10_fence.o 57*c39f472eSBen Skeggsnouveau-y += nv17_fence.o 58*c39f472eSBen Skeggsnouveau-y += nv50_fence.o 59*c39f472eSBen Skeggsnouveau-y += nv84_fence.o 60*c39f472eSBen Skeggsnouveau-y += nvc0_fence.o 61*c39f472eSBen Skeggs 62*c39f472eSBen Skeggs# DRM - prehistoric modesetting (NV04-G7x) 63*c39f472eSBen Skeggsnouveau-y += nouveau_bios.o 64*c39f472eSBen Skeggsinclude $(src)/dispnv04/Kbuild 65*c39f472eSBen Skeggs 66*c39f472eSBen Skeggsobj-$(CONFIG_DRM_NOUVEAU) += nouveau.o 67