linux/drivers/gpu/drm/nouveau
Francisco Jerez 965cf68e87 drm/nouveau: Never evict VRAM buffers to system.
VRAM->system is a synchronous operation: it involves scheduling a
VRAM->TT DMA transfer and stalling the CPU until it's finished so that
we can unbind the new memory from the translation tables. VRAM->TT can
always be performed asynchronously, even if TT is already full and we
have to move something out of it.

Additionally, allowing VRAM->system behaves badly under heavy memory
pressure because once we run out of TT, stuff starts to be moved back
and forth between VRAM and system, and the TT contents are hardly
renewed.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-03-15 09:46:52 +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 nouveau: fix state detection with switchable graphics 2010-02-11 09:52:02 +10:00
nouveau_backlight.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nouveau_bios.c drm/nv50: fix connector table parsing for some cards 2010-03-10 16:11:11 +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: Never evict VRAM buffers to system. 2010-03-15 09:46:52 +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: report unknown connector state if lid closed 2010-02-25 15:09:44 +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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nouveau_debugfs.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_display.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29: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 drm/nouveau: print a message very early during suspend 2010-03-10 16:07:27 +10:00
nouveau_drv.h drm/nouveau: add option to allow override of dcb connector table types 2010-03-10 16:07:07 +10:00
nouveau_encoder.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nouveau_fb.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nouveau_fbcon.c drm/nouveau: Fix fbcon on mixed pre-NV50 + NV50 multicard. 2010-02-09 12:50:14 +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/nouveau: fix missing spin_unlock in failure path 2010-02-25 15:09:13 +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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nouveau_i2c.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nouveau_i2c.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: fix non-vram notifier blocks 2010-02-09 12:47:52 +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 drm/nv50: Improve PGRAPH interrupt handling. 2010-03-10 16:07:02 +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 drm/nv04-nv40: Fix up the programmed horizontal sync pulse delay. 2010-03-10 16:07:21 +10:00
nv04_cursor.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv04_timer.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv10_graph.c drm/nouveau: Pre-G80 tiling support. 2010-01-11 08:47:56 +10:00
nv17_gpio.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv17_tv_modes.c drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv17_tv.c drm/nouveau: merge nvbios and nouveau_bios_info 2010-02-25 15:09:21 +10:00
nv17_tv.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv50_crtc.c drm/nouveau: move dereferences after null checks 2010-02-11 09:52:00 +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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv50_evo.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
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 drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00
nv50_sor.c drm/nv50: disregard dac outputs in nv50_sor_dpms() 2010-02-10 08:19:33 +10:00
nvreg.h drm/nouveau: Add DRM driver for NVIDIA GPUs 2009-12-11 21:29:34 +10:00