[Intel-gfx] [PATCH 04/16] drm/i915/vm_bind: Add support to create persistent vma

Matthew Auld matthew.auld at intel.com
Thu Sep 29 17:04:38 UTC 2022


On 28/09/2022 07:19, Niranjana Vishwanathapura wrote:
> Add i915_vma_instance_persistent() to create persistent vmas.
> Persistent vmas will use i915_gtt_view to support partial binding.
> 
> vma_lookup is tied to segment of the object instead of section
> of VA space. Hence, it do not support aliasing. ie., multiple
> mappings (at different VA) point to the same gtt_view of object.
> Skip vma_lookup for persistent vmas to support aliasing.
> 
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
> Signed-off-by: Andi Shyti <andi.shyti at linux.intel.com>

Acked-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list