linux/drivers/gpu/drm/nouveau
Jerome Glisse f32f02fd81 drm/nouveau/kms: add support for new TTM fault callback V5
This add the support for the new fault callback, does change anything
from driver point of view, thought it should allow nouveau to add
support for unmappable VRAM.

Improvement: store the aperture base in a variable so that we don't
call a function to get it on each fault.

Patch hasn't been tested on any hw.

V2 don't derefence bo->mem.mm_node as it's not NULL only for
   VRAM or GTT
V3 update after io_mem_reserve/io_mem_free callback balancing
V4 callback has to ioremap
V5 ioremap is done by ttm

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-20 14:12:34 +10:00
..
Kconfig drm/i2c/ch7006: Drop build time dependency to nouveau. 2010-01-11 09:06:30 +10:00
Makefile drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +10:00
nouveau_acpi.c vga_switcheroo: initial implementation (v15) 2010-03-01 16:20:37 +10:00
nouveau_backlight.c backlight: Allow properties to be passed at registration 2010-03-16 19:47:54 +00:00
nouveau_bios.c Merge branch 'v2.6.34-rc2' into drm-linus 2010-03-31 14:55:14 +10:00
nouveau_bios.h drm/nv50: fix connector table parsing for some cards 2010-03-10 16:11:11 +10:00
nouveau_bo.c drm/nouveau/kms: add support for new TTM fault callback V5 2010-04-20 14:12:34 +10:00
nouveau_calc.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_channel.c drm/nouveau: new gem pushbuf interface, bump to 0.0.16 2010-02-25 15:08:44 +10:00
nouveau_connector.c drm/nouveau: add module option to disable TV detection 2010-03-15 09:47:00 +10:00
nouveau_connector.h drm/nouveau: use dcb connector table for creating drm connectors 2010-02-25 15:09:32 +10:00
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_display.c Use drm_gem_object_[handle_]unreference_unlocked where possible 2010-02-11 14:22:34 +10:00
nouveau_dma.c drm/nv50: add a memory barrier to pushbuf submission 2010-03-10 16:07:35 +10:00
nouveau_dma.h drm/nouveau: new gem pushbuf interface, bump to 0.0.16 2010-02-25 15:08:44 +10:00
nouveau_dp.c drm/nouveau: make dp auxch xfer len check for reads only 2010-02-09 12:50:43 +10:00
nouveau_drv.c Merge remote branch 'nouveau/for-airlied' into drm-linus 2010-03-15 11:07:33 +10:00
nouveau_drv.h Merge branch 'v2.6.34-rc2' into drm-linus 2010-03-31 14:55:14 +10:00
nouveau_encoder.h
nouveau_fb.h
nouveau_fbcon.c Merge branch 'gpu-switcher' of /ssd/git//linux-2.6 into drm-next-stage 2010-03-01 16:22:38 +10:00
nouveau_fbcon.h drm/nouveau: Fix fbcon on mixed pre-NV50 + NV50 multicard. 2010-02-09 12:50:14 +10:00
nouveau_fence.c drm/nouveau: Use the software object for fencing. 2010-01-11 09:06:38 +10:00
nouveau_gem.c drm/ttm: split no_wait argument in 2 GPU or reserve wait 2010-04-08 10:21:19 +10:00
nouveau_grctx.c drivers/gpu/drm/nouveau/nouveau_grctx.c: correct NULL test 2010-02-09 12:49:55 +10:00
nouveau_grctx.h drm/nv40: implement ctxprog/state generation 2009-12-16 17:05:39 +10:00
nouveau_hw.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_hw.h
nouveau_i2c.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_i2c.h
nouveau_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
nouveau_irq.c drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +10:00
nouveau_mem.c drm/nv50: fix vram ptes on IGPs to point at stolen system memory 2010-02-23 13:50:24 +10:00
nouveau_notifier.c Use drm_gem_object_[handle_]unreference_unlocked where possible 2010-02-11 14:22:34 +10:00
nouveau_object.c drm/nouveau: move dereferences after null checks 2010-02-11 09:52:00 +10:00
nouveau_reg.h drm/nouveau: Add getparam to get available PGRAPH units. 2010-02-09 12:48:08 +10:00
nouveau_sgdma.c drm/nouveau: move dereferences after null checks 2010-02-11 09:52:00 +10:00
nouveau_state.c Merge remote branch 'nouveau/for-airlied' into drm-linus 2010-03-15 11:07:33 +10:00
nouveau_ttm.c drm/nouveau: have ttm's fault handler called directly 2010-01-11 09:06:42 +10:00
nv04_crtc.c Merge remote branch 'nouveau/for-airlied' into drm-linus 2010-03-15 11:07:33 +10:00
nv04_cursor.c
nv04_dac.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv04_dfp.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv04_display.c drm/nouveau: use dcb connector table for creating drm connectors 2010-02-25 15:09:32 +10:00
nv04_fb.c
nv04_fbcon.c drm/nouveau: Fix fbcon corruption with font width not divisible by 8 2010-03-10 16:06:44 +10:00
nv04_fifo.c drm/nouveau: protect channel create/destroy and irq handler with a spinlock 2010-02-25 15:07:53 +10:00
nv04_graph.c drm/nv04: Fix set_operation software method. 2010-01-11 09:06:53 +10:00
nv04_instmem.c drm/nouveau: fix thinko in nv04_instmem.c 2010-01-18 09:55:54 +10:00
nv04_mc.c
nv04_timer.c
nv04_tv.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv10_fb.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv10_fifo.c
nv10_graph.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv17_gpio.c
nv17_tv_modes.c
nv17_tv.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv17_tv.h
nv20_graph.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv40_fb.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv40_fifo.c drm/nouveau: protect channel create/destroy and irq handler with a spinlock 2010-02-25 15:07:53 +10:00
nv40_graph.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv40_grctx.c drm/nv40: implement ctxprog/state generation 2009-12-16 17:05:39 +10:00
nv40_mc.c
nv50_crtc.c Use drm_gem_object_[handle_]unreference_unlocked where possible 2010-02-11 14:22:34 +10:00
nv50_cursor.c drm/nouveau: use drm debug levels 2009-12-16 17:04:48 +10:00
nv50_dac.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv50_display.c drm/nv50: fix connector table parsing for some cards 2010-03-10 16:11:11 +10:00
nv50_display.h
nv50_evo.h
nv50_fb.c drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +10:00
nv50_fbcon.c drm/nouveau: Fix fbcon corruption with font width not divisible by 8 2010-03-10 16:06:44 +10:00
nv50_fifo.c drm/nv50: switch to indirect push buffer controls 2010-02-25 15:08:29 +10:00
nv50_graph.c drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +10:00
nv50_grctx.c drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +10:00
nv50_instmem.c drm/nouveau: use ALIGN instead of open coding it 2010-02-25 15:09:46 +10:00
nv50_mc.c
nv50_sor.c drm/nv50: disregard dac outputs in nv50_sor_dpms() 2010-02-10 08:19:33 +10:00
nvreg.h