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 \
|
|
|
|
nouveau_sgdma.o nouveau_dma.o \
|
|
|
|
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-09-01 13:24:28 +08:00
|
|
|
nouveau_dp.o nouveau_ramht.o \
|
2010-09-16 13:39:49 +08:00
|
|
|
nouveau_pm.o nouveau_volt.o nouveau_perf.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-02-25 08:54:02 +08:00
|
|
|
nv40_grctx.o nv50_grctx.o \
|
2010-08-03 08:00:56 +08:00
|
|
|
nv04_instmem.o nv50_instmem.o nvc0_instmem.o \
|
2009-12-11 17:24:15 +08:00
|
|
|
nv50_crtc.o nv50_dac.o nv50_sor.o \
|
|
|
|
nv50_cursor.o nv50_display.o nv50_fbcon.o \
|
|
|
|
nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
|
|
|
|
nv04_crtc.o nv04_display.o nv04_cursor.o nv04_fbcon.o \
|
2010-07-26 07:28:25 +08:00
|
|
|
nv10_gpio.o nv50_gpio.o \
|
2010-04-28 12:07:06 +08:00
|
|
|
nv50_calc.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
|