Re: [Intel-gfx] [PATCH v3 07/37] drm/i915: support creating LMEM objects

2019-08-10 Thread Chris Wilson
Quoting Matthew Auld (2019-08-09 23:26:13) > @@ -1369,6 +1371,8 @@ struct drm_i915_private { > */ > resource_size_t stolen_usable_size; /* Total size minus reserved > ranges */ > > + struct intel_memory_region *regions[INTEL_MEMORY_UKNOWN]; If there was ever an

[PATCH v3 07/37] drm/i915: support creating LMEM objects

2019-08-09 Thread Matthew Auld
We currently define LMEM, or local memory, as just another memory region, like system memory or stolen, which we can expose to userspace and can be mapped to the CPU via some BAR. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- drivers/gpu/drm/i915/Makefile