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.
|
|
|
|
|
|
|
|
ccflags-y := -Iinclude/drm
|
|
|
|
nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
|
|
|
|
nouveau_object.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 \
|
|
|
|
nouveau_hw.o nouveau_calc.o nouveau_bios.o nouveau_i2c.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 \
|
2010-08-27 08:00:25 +08:00
|
|
|
nouveau_dp.o nouveau_ramht.o \
|
2010-09-27 09:18:14 +08:00
|
|
|
nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
|
2010-08-27 08:00:25 +08:00
|
|
|
nouveau_mm.o nouveau_vm.o \
|
2009-12-11 17:24:15 +08:00
|
|
|
nv04_timer.o \
|
|
|
|
nv04_mc.o nv40_mc.o nv50_mc.o \
|
2010-08-03 08:00:56 +08:00
|
|
|
nv04_fb.o nv10_fb.o nv30_fb.o nv40_fb.o nv50_fb.o nvc0_fb.o \
|
|
|
|
nv04_fifo.o nv10_fifo.o nv40_fifo.o nv50_fifo.o nvc0_fifo.o \
|
2009-12-11 17:24:15 +08:00
|
|
|
nv04_graph.o nv10_graph.o nv20_graph.o \
|
2010-08-03 08:00:56 +08:00
|
|
|
nv40_graph.o nv50_graph.o nvc0_graph.o \
|
2010-11-24 08:49:02 +08:00
|
|
|
nv40_grctx.o nv50_grctx.o nvc0_grctx.o \
|
2010-10-19 18:06:01 +08:00
|
|
|
nv84_crypt.o \
|
2011-04-01 14:10:08 +08:00
|
|
|
nva3_copy.o nvc0_copy.o \
|
2011-06-23 14:21:21 +08:00
|
|
|
nv31_mpeg.o nv50_mpeg.o \
|
2010-08-03 08:00:56 +08:00
|
|
|
nv04_instmem.o nv50_instmem.o nvc0_instmem.o \
|
2010-10-19 11:05:51 +08:00
|
|
|
nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
|
2010-11-24 08:52:43 +08:00
|
|
|
nv50_cursor.o nv50_display.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 \
|
|
|
|
nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
|
2010-07-26 07:28:25 +08:00
|
|
|
nv10_gpio.o nv50_gpio.o \
|
2010-09-16 14:17:35 +08:00
|
|
|
nv50_calc.o \
|
2011-06-18 23:44:36 +08:00
|
|
|
nv04_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
|
2010-11-15 09:48:33 +08:00
|
|
|
nv50_vram.o nvc0_vram.o \
|
|
|
|
nv50_vm.o nvc0_vm.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
|