Re: [Intel-gfx] [PATCH v3 05/37] drm/i915/region: support volatile objects

2019-08-10 Thread Chris Wilson
Quoting Matthew Auld (2019-08-09 23:26:11) > Volatile objects are marked as DONTNEED while pinned, therefore once > unpinned the backing store can be discarded. Do we also have the concept of non-volatile backing store, e.g. shmemfs (non-volatile) vs stolen (volatile)? -Chris

Re: [Intel-gfx] [PATCH v3 05/37] drm/i915/region: support volatile objects

2019-08-10 Thread Chris Wilson
Quoting Matthew Auld (2019-08-09 23:26:11) > Volatile objects are marked as DONTNEED while pinned, therefore once > unpinned the backing store can be discarded. > Signed-off-by: Matthew Auld > Signed-off-by: CQ Tang > Cc: Joonas Lahtinen > Cc: Abdiel Janulgue I think that's quite a nice

[PATCH v3 05/37] drm/i915/region: support volatile objects

2019-08-09 Thread Matthew Auld
Volatile objects are marked as DONTNEED while pinned, therefore once unpinned the backing store can be discarded. Signed-off-by: Matthew Auld Signed-off-by: CQ Tang Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- drivers/gpu/drm/i915/gem/i915_gem_internal.c | 17 +++---