Re: [Intel-gfx] [PATCH] drm/i915: Use i915_gem_object_pin_map_unlocked function for lmem allocation

2022-01-18 Thread Lisovskiy, Stanislav
On Tue, Jan 18, 2022 at 01:45:10PM +, Matthew Auld wrote: > On Fri, 14 Jan 2022 at 08:25, Stanislav Lisovskiy > wrote: > > > > Using i915_gem_object_pin_map_unlocked instead of > > i915_gem_object_lmem_io_map, would eliminate the need > > of using I915_BO_ALLOC_CONTIGUOUS, when calling > >

Re: [Intel-gfx] [PATCH] drm/i915: Use i915_gem_object_pin_map_unlocked function for lmem allocation

2022-01-18 Thread Matthew Auld
On Fri, 14 Jan 2022 at 08:25, Stanislav Lisovskiy wrote: > > Using i915_gem_object_pin_map_unlocked instead of > i915_gem_object_lmem_io_map, would eliminate the need > of using I915_BO_ALLOC_CONTIGUOUS, when calling > i915_vma_pin_iomap, because it supports non-contiguous > allocation as well. >

[Intel-gfx] [PATCH] drm/i915: Use i915_gem_object_pin_map_unlocked function for lmem allocation

2022-01-14 Thread Stanislav Lisovskiy
Using i915_gem_object_pin_map_unlocked instead of i915_gem_object_lmem_io_map, would eliminate the need of using I915_BO_ALLOC_CONTIGUOUS, when calling i915_vma_pin_iomap, because it supports non-contiguous allocation as well. Signed-off-by: Stanislav Lisovskiy ---