drm/shared-core
Chris Wilson 0fb215ae31 intel: Mark cached bo as purgeable
Set the DONTNEED flag on cached buffers so that the kernel is free to
discard those when under memory pressure.

[anholt: This takes firefox-talos-gfx time from ~62 seconds to ~65 seconds
on my GM965, but it seems like a hit worth taking for the improved
functionality from saving memory]

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-10-02 12:54:13 -07:00
..
Makefile.am libdrm: add mode setting files 2008-12-17 10:11:37 -08:00
drm.h Kill last remnant of replacefb ioctl 2009-08-25 12:05:48 +02:00
drm_internal.h Add new shared header file drm_internal.h. 2007-11-14 14:28:34 -05:00
drm_mode.h [FreeBSD] Fix build on FreeBSD after modesetting import. 2008-12-23 13:56:23 -05:00
drm_pciids.txt Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
drm_sarea.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
i915_dma.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
i915_drm.h intel: Mark cached bo as purgeable 2009-10-02 12:54:13 -07:00
i915_drv.h Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
i915_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
i915_mem.c Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
i915_reg.h i915: Backport jbarnes gm45 vblank counter patch. 2009-02-25 14:20:52 -06:00
i915_suspend.c i915: official name for GM45 chipset 2008-07-03 00:49:51 +08:00
imagine_drv.h Add skeletal imagine driver (but don't build it yet). 2005-03-29 01:47:38 +00:00
mach64_dma.c [FreeBSD] Ensure that drm_pci_alloc is never called while locks are held. 2008-09-06 18:37:06 -04:00
mach64_drm.h drm: detypedef drm.h and fixup all problems 2007-07-16 11:22:15 +10:00
mach64_drv.h Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
mach64_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
mach64_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
mga_dma.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
mga_drm.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
mga_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
mga_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
mga_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
mga_ucode.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mga_warp.c Remove DRM_ERR OS macro. 2007-07-20 12:53:52 -07:00
nouveau_dma.c nouveau: plug drm fifo ioremap leak (#14941) 2009-03-25 02:50:34 +00:00
nouveau_dma.h Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
nouveau_drm.h nouveau: support for copy-less pushbuf ioctl 2009-08-18 15:55:42 +10:00
nouveau_drv.h nouveau: 0.0.14 + extend bo interface to support subrange mapping 2009-06-05 14:07:23 +10:00
nouveau_fifo.c drm/nv50: let the card handle the initial context switch 2009-02-10 09:11:27 +10:00
nouveau_irq.c nv50: ack nsource to prevent continuous protection fault irqs 2009-01-12 10:33:48 +10:00
nouveau_mem.c nouveau: nForce 1/2 IGP memory sanity check from DDX 2009-03-30 20:48:08 +01:00
nouveau_notifier.c nouveau: allocate drm-use vram buffers from end of vram. 2008-06-25 09:55:14 +02:00
nouveau_object.c nv04-nv40: correct RAMHT size 2009-01-27 08:36:08 +10:00
nouveau_reg.h nouveau: backlight support for ppc laptops 2009-05-22 15:43:26 +01:00
nouveau_state.c nouveau: fix ppc for swab changes in Linux 2.6.29 2009-05-07 01:00:41 +01:00
nouveau_swmthd.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nouveau_swmthd.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv04_fb.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv04_fifo.c nouveau: fix nv04 fifo context save to save reg contents, not reg offset 2008-07-29 02:32:13 +01:00
nv04_graph.c nv05: enable ctx/op methods, and ignore patch valid failures. 2008-01-11 12:51:08 +11:00
nv04_instmem.c drm/nouveau: make portion of vram as reserved for PRAMIN on all chipsets 2009-03-06 09:16:54 +10:00
nv04_mc.c nouveau: move AGP reset to mem_init_agp 2008-03-11 16:45:35 +00:00
nv04_timer.c nouveau: nv20 bios does not initialise PTIMER 2008-03-25 18:32:26 +00:00
nv10_fb.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv10_fifo.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv10_graph.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv20_graph.c nouveau: fifo and graphics engine suspend and resume for nv04-nv4x 2008-08-19 02:01:14 +01:00
nv40_fb.c nouveau: NV40 can/should now be able to run after the blob. 2008-02-02 12:46:47 +01:00
nv40_fifo.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv40_graph.c nv40: fail completely if we don't have a ctxprog for the chipset 2009-02-15 22:06:18 +10:00
nv40_mc.c nouveau: use PFB_CSTATUS naming from ddx (reg introduced with nv10) 2009-03-25 02:50:34 +00:00
nv50_fifo.c drm/nv50: correct ramfc pointer in channel header 2009-02-10 09:11:35 +10:00
nv50_graph.c nv50: magic fix for "3d busted without the binary driver first" issue 2009-06-02 17:06:34 +10:00
nv50_grctx.h nv50: context info for chipset 0xa0 2009-02-15 21:52:19 +10:00
nv50_instmem.c drm/nv50: fix nv9x chipsets 2009-02-11 11:22:41 +10:00
nv50_mc.c nouveau: enable/disable engine-specific interrupts in _init()/_takedown() 2007-08-08 10:49:05 +10:00
r128_cce.c drm/pcigart: fix the pci gart to use the drm_pci wrapper. 2008-03-17 07:05:46 +10:00
r128_drm.h drm: remove XFREE86_VERSION macros 2007-08-28 15:17:36 +10:00
r128_drv.h Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
r128_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
r128_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
r300_cmdbuf.c Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
r300_reg.h Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
r600_microcode.h radeon: split microcode out into a separate header file. 2008-05-28 11:12:57 +10:00
radeon_cp.c FreeBSD: Don't set the PZERO flag to mtx_sleep. 2009-03-16 00:17:54 -05:00
radeon_drm.h radeon: pull in z pipe changes from kernel 2009-08-24 18:15:03 -04:00
radeon_drv.h Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
radeon_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
radeon_mem.c Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
radeon_microcode.h radeon: split microcode out into a separate header file. 2008-05-28 11:12:57 +10:00
radeon_state.c Revert "Merge branch 'modesetting-gem'" 2008-12-10 15:50:22 -08:00
savage_bci.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
savage_drm.h drm: detypedef drm.h and fixup all problems 2007-07-16 11:22:15 +10:00
savage_drv.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
savage_state.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
sis_drm.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
sis_drv.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
sis_ds.c complete fix for attribution 2006-01-02 03:30:57 +00:00
sis_ds.h some fixes from linux kernel 2006-01-02 03:44:23 +00:00
sis_mm.c Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-07-20 18:16:42 -07:00
tdfx_drv.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
via_3d_reg.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_dma.c Avoid unnecessary waits for command regulator pause. 2008-03-16 20:07:14 +01:00
via_drm.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_drv.c drm: Strip old ttm. 2009-06-22 23:37:06 +02:00
via_drv.h drm: Strip old ttm. 2009-06-22 23:37:06 +02:00
via_ds.c Port the VIA DRM to FreeBSD. Original patch by Jake, with some cleanup by 2005-08-15 18:07:12 +00:00
via_ds.h VIA: Fix sparse warnings (Alexey Dobriyan) 2005-07-15 21:22:51 +00:00
via_irq.c Move vblank_init to driver load time. 2009-02-27 18:16:17 -06:00
via_map.c drm: Strip old ttm. 2009-06-22 23:37:06 +02:00
via_mm.c Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-07-20 18:16:42 -07:00
via_mm.h VIA: 2005-05-23 20:56:54 +00:00
via_verifier.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_verifier.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_video.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
xgi_drm.h xgixp: Remove dependency on TTM fences 2008-06-10 22:18:14 -07:00