diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-02 04:31:34 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-02 12:54:13 -0700 |
commit | 0fb215ae3199b5be0c9a9474e5941f8d8998c11a (patch) | |
tree | 72adbdad266bc0cec958f460100c898fd885a885 /bsd-core/r128_irq.c | |
parent | 12d9b7cc8550c1999e5c39a38b1b14e654f49065 (diff) |
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>
Diffstat (limited to 'bsd-core/r128_irq.c')
0 files changed, 0 insertions, 0 deletions