summaryrefslogtreecommitdiff
path: root/tests/drmtest.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-11-30 20:02:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-30 20:02:05 +0000
commit60aa803dc76bbdfac72da4de4cdc3018717b0884 (patch)
tree2f2703df285f9180218a01673e96ee82b257fe6b /tests/drmtest.c
parent6f66de982ad6ee6967ec61a7399e600bdd9e5887 (diff)
intel: Only store a buffer in the cache if it is retained.
If the kernel immediately frees the backing store for a buffer when marking it purgeable, then there is not point adding to the cache. Free it immediately, instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/drmtest.c')
0 files changed, 0 insertions, 0 deletions