commit | 3ef94daae7530b4ebcd2e5f48f1028cd2d2470ba | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Sep 14 16:50:29 2009 +0100 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 17 14:43:31 2009 -0700 |
tree | 130f7e46f4d34b3016775c9e1980d971c475dc55 | |
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>