2009-12-11 17:24:15 +08:00
|
|
|
#
|
|
|
|
# Makefile for the drm device driver. This driver provides support for the
|
|
|
|
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
|
|
|
|
2012-07-06 05:36:43 +08:00
|
|
|
ccflags-y := -Iinclude/drm -DCONFIG_NOUVEAU_DEBUG=7 -DCONFIG_NOUVEAU_DEBUG_DEFAULT=3
|
2012-07-04 21:44:54 +08:00
|
|
|
ccflags-y += -I$(src)/core/include
|
|
|
|
ccflags-y += -I$(src)
|
|
|
|
|
2012-07-06 05:36:43 +08:00
|
|
|
nouveau-y := core/core/client.o
|
|
|
|
nouveau-y += core/core/engine.o
|
|
|
|
nouveau-y += core/core/handle.o
|
|
|
|
nouveau-y += core/core/mm.o
|
|
|
|
nouveau-y += core/core/namedb.o
|
|
|
|
nouveau-y += core/core/object.o
|
|
|
|
nouveau-y += core/core/option.o
|
|
|
|
nouveau-y += core/core/parent.o
|
|
|
|
nouveau-y += core/core/printk.o
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau-y += core/core/ramht.o
|
2012-07-06 05:36:43 +08:00
|
|
|
nouveau-y += core/core/subdev.o
|
2012-07-04 21:44:54 +08:00
|
|
|
|
2012-07-10 08:49:22 +08:00
|
|
|
nouveau-y += core/subdev/bios/base.o
|
|
|
|
nouveau-y += core/subdev/bios/bit.o
|
2012-07-10 10:20:17 +08:00
|
|
|
nouveau-y += core/subdev/bios/dcb.o
|
|
|
|
nouveau-y += core/subdev/bios/gpio.o
|
2012-07-06 05:36:43 +08:00
|
|
|
nouveau-y += core/subdev/device/base.o
|
|
|
|
nouveau-y += core/subdev/device/nv04.o
|
|
|
|
nouveau-y += core/subdev/device/nv10.o
|
|
|
|
nouveau-y += core/subdev/device/nv20.o
|
|
|
|
nouveau-y += core/subdev/device/nv30.o
|
|
|
|
nouveau-y += core/subdev/device/nv40.o
|
|
|
|
nouveau-y += core/subdev/device/nv50.o
|
|
|
|
nouveau-y += core/subdev/device/nvc0.o
|
|
|
|
nouveau-y += core/subdev/device/nve0.o
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau-y += core/subdev/fb/nv04.o
|
|
|
|
nouveau-y += core/subdev/fb/nv10.o
|
|
|
|
nouveau-y += core/subdev/fb/nv20.o
|
|
|
|
nouveau-y += core/subdev/fb/nv30.o
|
|
|
|
nouveau-y += core/subdev/fb/nv40.o
|
|
|
|
nouveau-y += core/subdev/fb/nv50.o
|
|
|
|
nouveau-y += core/subdev/fb/nvc0.o
|
|
|
|
nouveau-y += core/subdev/fb/nv50_vram.o
|
|
|
|
nouveau-y += core/subdev/fb/nvc0_vram.o
|
|
|
|
nouveau-y += core/subdev/gpio/base.o
|
|
|
|
nouveau-y += core/subdev/gpio/nv10.o
|
|
|
|
nouveau-y += core/subdev/gpio/nv50.o
|
2012-07-10 10:20:17 +08:00
|
|
|
nouveau-y += core/subdev/gpio/nvd0.o
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau-y += core/subdev/i2c/base.o
|
|
|
|
nouveau-y += core/subdev/instmem/nv04.o
|
|
|
|
nouveau-y += core/subdev/instmem/nv50.o
|
|
|
|
nouveau-y += core/subdev/instmem/nvc0.o
|
|
|
|
nouveau-y += core/subdev/mc/nv04.o
|
|
|
|
nouveau-y += core/subdev/mc/nv40.o
|
|
|
|
nouveau-y += core/subdev/mc/nv50.o
|
|
|
|
nouveau-y += core/subdev/timer/nv04.o
|
|
|
|
nouveau-y += core/subdev/vm/base.o
|
|
|
|
nouveau-y += core/subdev/vm/nv50.o
|
|
|
|
nouveau-y += core/subdev/vm/nvc0.o
|
|
|
|
|
|
|
|
nouveau-y += core/engine/bsp/nv84.o
|
|
|
|
nouveau-y += core/engine/copy/nva3.o
|
|
|
|
nouveau-y += core/engine/copy/nvc0.o
|
|
|
|
nouveau-y += core/engine/crypt/nv84.o
|
|
|
|
nouveau-y += core/engine/crypt/nv98.o
|
|
|
|
nouveau-y += core/engine/fifo/nv04.o
|
|
|
|
nouveau-y += core/engine/fifo/nv10.o
|
|
|
|
nouveau-y += core/engine/fifo/nv17.o
|
|
|
|
nouveau-y += core/engine/fifo/nv40.o
|
|
|
|
nouveau-y += core/engine/fifo/nv50.o
|
|
|
|
nouveau-y += core/engine/fifo/nv84.o
|
|
|
|
nouveau-y += core/engine/fifo/nvc0.o
|
|
|
|
nouveau-y += core/engine/fifo/nve0.o
|
|
|
|
nouveau-y += core/engine/graph/ctxnv40.o
|
|
|
|
nouveau-y += core/engine/graph/ctxnv50.o
|
|
|
|
nouveau-y += core/engine/graph/ctxnvc0.o
|
|
|
|
nouveau-y += core/engine/graph/ctxnve0.o
|
|
|
|
nouveau-y += core/engine/graph/nv04.o
|
|
|
|
nouveau-y += core/engine/graph/nv10.o
|
|
|
|
nouveau-y += core/engine/graph/nv20.o
|
|
|
|
nouveau-y += core/engine/graph/nv40.o
|
|
|
|
nouveau-y += core/engine/graph/nv50.o
|
|
|
|
nouveau-y += core/engine/graph/nvc0.o
|
|
|
|
nouveau-y += core/engine/graph/nve0.o
|
|
|
|
nouveau-y += core/engine/mpeg/nv31.o
|
|
|
|
nouveau-y += core/engine/mpeg/nv50.o
|
|
|
|
nouveau-y += core/engine/ppp/nv98.o
|
|
|
|
nouveau-y += core/engine/vp/nv84.o
|
|
|
|
|
2012-07-09 12:14:48 +08:00
|
|
|
nouveau-y += nouveau_drm.o nouveau_compat.o \
|
2012-07-06 10:14:00 +08:00
|
|
|
nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
|
2012-05-05 20:19:20 +08:00
|
|
|
nouveau_gpuobj.o nouveau_irq.o nouveau_notifier.o \
|
2010-11-03 08:06:43 +08:00
|
|
|
nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
|
2009-12-11 17:24:15 +08:00
|
|
|
nouveau_bo.o nouveau_fence.o nouveau_gem.o nouveau_ttm.o \
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau_hw.o nouveau_calc.o \
|
drm/nv40: implement ctxprog/state generation
The context programs are *very* simple compared to the ones used by
the binary driver. There's notes in nv40_grctx.c explaining most of
the things we don't implement. If we discover if/why any of it is
required further down the track, we'll handle it then.
The PGRAPH state generated for each chipset should match what NVIDIA
do almost exactly (there's a couple of exceptions). If someone has
a lot of time on their hands, they could figure out the mapping of
object/method to PGRAPH register and demagic the initial state a little,
it's not terribly important however.
At time of commit, confirmed to be working at least well enough for
accelerated X (and where tested, for 3D apps) on NV40, NV43, NV44, NV46,
NV49, NV4A, NV4B and NV4E.
A module option has been added to force the use of external firmware
blobs if it becomes required.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-12-15 20:02:47 +08:00
|
|
|
nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau_hdmi.o nouveau_dp.o \
|
2010-09-27 09:18:14 +08:00
|
|
|
nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
|
2012-07-05 19:36:32 +08:00
|
|
|
nouveau_mxm.o nouveau_agp.o \
|
2012-05-08 08:24:27 +08:00
|
|
|
nouveau_abi16.o \
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau_bios.o \
|
2012-04-30 11:55:29 +08:00
|
|
|
nv04_fence.o nv10_fence.o nv84_fence.o nvc0_fence.o \
|
2012-05-01 00:33:43 +08:00
|
|
|
nv04_software.o nv50_software.o nvc0_software.o \
|
2009-12-11 17:24:15 +08:00
|
|
|
nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
|
2010-11-24 08:52:43 +08:00
|
|
|
nv04_crtc.o nv04_display.o nv04_cursor.o \
|
2011-07-08 12:43:19 +08:00
|
|
|
nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
|
|
|
|
nv50_cursor.o nv50_display.o \
|
2011-07-04 14:25:18 +08:00
|
|
|
nvd0_display.o \
|
2011-07-08 12:43:19 +08:00
|
|
|
nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
|
2010-09-16 14:17:35 +08:00
|
|
|
nv50_calc.o \
|
2011-07-18 13:15:34 +08:00
|
|
|
nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
|
2012-07-04 21:44:54 +08:00
|
|
|
nouveau_prime.o
|
2009-12-11 17:24:15 +08:00
|
|
|
|
|
|
|
nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
|
|
|
|
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
|
|
|
|
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
|
|
|
|
nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o
|