diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-09-14 16:50:29 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-17 14:43:31 -0700 |
commit | 3ef94daae7530b4ebcd2e5f48f1028cd2d2470ba (patch) | |
tree | 130f7e46f4d34b3016775c9e1980d971c475dc55 /samples | |
parent | 31169714fc928aed4e945b959dca2bedd259b9c9 (diff) |
drm/i915: Add ioctl to set 'purgeability' of objects
Similar to the madvise() concept, the application may wish to mark some
data as volatile. That is in the event of memory pressure the kernel is
free to discard such buffers safe in the knowledge that the application
can recreate them on demand, and is simply using these as a cache.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions