2009-12-11 02:24:15 -07: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-02 18:06:43 -06:00
|
|
|
nouveau_sgdma.o nouveau_dma.o nouveau_util.o \
|
2009-12-11 02:24:15 -07: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 05:02:47 -07:00
|
|
|
nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
|
2011-10-04 19:05:07 -06:00
|
|
|
nouveau_hdmi.o nouveau_dp.o nouveau_ramht.o \
|
2010-09-26 19:18:14 -06:00
|
|
|
nouveau_pm.o nouveau_volt.o nouveau_perf.o nouveau_temp.o \
|
2011-11-20 23:41:48 -07:00
|
|
|
nouveau_mm.o nouveau_vm.o nouveau_mxm.o nouveau_gpio.o \
|
2009-12-11 02:24:15 -07:00
|
|
|
nv04_timer.o \
|
|
|
|
nv04_mc.o nv40_mc.o nv50_mc.o \
|
2011-12-12 05:51:33 -07:00
|
|
|
nv04_fb.o nv10_fb.o nv20_fb.o nv30_fb.o nv40_fb.o \
|
|
|
|
nv50_fb.o nvc0_fb.o \
|
2010-08-02 18:00:56 -06:00
|
|
|
nv04_fifo.o nv10_fifo.o nv40_fifo.o nv50_fifo.o nvc0_fifo.o \
|
2009-12-11 02:24:15 -07:00
|
|
|
nv04_graph.o nv10_graph.o nv20_graph.o \
|
2010-08-02 18:00:56 -06:00
|
|
|
nv40_graph.o nv50_graph.o nvc0_graph.o \
|
2010-11-23 17:49:02 -07:00
|
|
|
nv40_grctx.o nv50_grctx.o nvc0_grctx.o \
|
2011-08-10 22:58:06 -06:00
|
|
|
nv84_crypt.o nv98_crypt.o \
|
2011-04-01 00:10:08 -06:00
|
|
|
nva3_copy.o nvc0_copy.o \
|
2011-06-23 00:21:21 -06:00
|
|
|
nv31_mpeg.o nv50_mpeg.o \
|
2011-08-10 22:58:06 -06:00
|
|
|
nv84_bsp.o \
|
|
|
|
nv84_vp.o \
|
|
|
|
nv98_ppp.o \
|
2010-08-02 18:00:56 -06:00
|
|
|
nv04_instmem.o nv50_instmem.o nvc0_instmem.o \
|
2009-12-11 02:24:15 -07:00
|
|
|
nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o \
|
2010-11-23 17:52:43 -07:00
|
|
|
nv04_crtc.o nv04_display.o nv04_cursor.o \
|
2011-07-07 22:43:19 -06:00
|
|
|
nv50_evo.o nv50_crtc.o nv50_dac.o nv50_sor.o \
|
|
|
|
nv50_cursor.o nv50_display.o \
|
2011-07-04 00:25:18 -06:00
|
|
|
nvd0_display.o \
|
2011-07-07 22:43:19 -06:00
|
|
|
nv04_fbcon.o nv50_fbcon.o nvc0_fbcon.o \
|
2010-07-25 17:28:25 -06:00
|
|
|
nv10_gpio.o nv50_gpio.o \
|
2010-09-16 00:17:35 -06:00
|
|
|
nv50_calc.o \
|
2011-07-17 23:15:34 -06:00
|
|
|
nv04_pm.o nv40_pm.o nv50_pm.o nva3_pm.o nvc0_pm.o \
|
2010-11-14 18:48:33 -07:00
|
|
|
nv50_vram.o nvc0_vram.o \
|
|
|
|
nv50_vm.o nvc0_vm.o
|
2009-12-11 02:24:15 -07: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
|