mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
054b93e444
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>
33 lines
1.5 KiB
Makefile
33 lines
1.5 KiB
Makefile
#
|
|
# 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 \
|
|
nouveau_display.o nouveau_connector.o nouveau_fbcon.o \
|
|
nouveau_dp.o nouveau_grctx.o \
|
|
nv04_timer.o \
|
|
nv04_mc.o nv40_mc.o nv50_mc.o \
|
|
nv04_fb.o nv10_fb.o nv40_fb.o \
|
|
nv04_fifo.o nv10_fifo.o nv40_fifo.o nv50_fifo.o \
|
|
nv04_graph.o nv10_graph.o nv20_graph.o \
|
|
nv40_graph.o nv50_graph.o \
|
|
nv40_grctx.o \
|
|
nv04_instmem.o nv50_instmem.o \
|
|
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 \
|
|
nv17_gpio.o
|
|
|
|
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
|