diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-30 20:02:05 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-30 20:02:05 +0000 |
commit | 60aa803dc76bbdfac72da4de4cdc3018717b0884 (patch) | |
tree | 2f2703df285f9180218a01673e96ee82b257fe6b /radeon/radeon_bo_gem.c | |
parent | 6f66de982ad6ee6967ec61a7399e600bdd9e5887 (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 'radeon/radeon_bo_gem.c')
0 files changed, 0 insertions, 0 deletions