summaryrefslogtreecommitdiff
path: root/libdrm/xf86drmSL.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-10-02 04:31:34 +0100
committerEric Anholt <eric@anholt.net>2009-10-02 12:54:13 -0700
commit0fb215ae3199b5be0c9a9474e5941f8d8998c11a (patch)
tree72adbdad266bc0cec958f460100c898fd885a885 /libdrm/xf86drmSL.c
parent12d9b7cc8550c1999e5c39a38b1b14e654f49065 (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 'libdrm/xf86drmSL.c')
0 files changed, 0 insertions, 0 deletions