Re: [PATCH v3 04/37] drm/i915/region: support continuous allocations

2019-08-13 Thread Daniel Vetter
On Fri, Aug 09, 2019 at 11:26:10PM +0100, Matthew Auld wrote: > Some objects may need to be allocated as a continuous block, thinking > ahead the various kernel io_mapping interfaces seem to expect it. Not really, we can vmalloc for iomappings too. -Daniel > > Signed-off-by: Matthew Auld > Cc:

Re: [PATCH v3 04/37] drm/i915/region: support continuous allocations

2019-08-10 Thread Chris Wilson
Quoting Matthew Auld (2019-08-09 23:26:10) > Some objects may need to be allocated as a continuous block, thinking > ahead the various kernel io_mapping interfaces seem to expect it. But we could always use scattergather over top... > @@ -98,10 +101,12 @@ i915_gem_object_get_pages_buddy(struct

[PATCH v3 04/37] drm/i915/region: support continuous allocations

2019-08-09 Thread Matthew Auld
Some objects may need to be allocated as a continuous block, thinking ahead the various kernel io_mapping interfaces seem to expect it. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- .../gpu/drm/i915/gem/i915_gem_object_types.h | 4 +