[igt-dev] [PATCH i-g-t v5 08/12] tests/i915/vm_bind: Add basic VM_BIND test support

Matthew Auld matthew.auld at intel.com
Mon Oct 31 15:28:59 UTC 2022


On 25/10/2022 07:59, Niranjana Vishwanathapura wrote:
> Add basic tests for VM_BIND functionality. Bind the buffer objects in
> device page table with VM_BIND calls and have GPU copy the data from a
> source buffer object to destination buffer object.
> Test for different buffer sizes, buffer object placement and with
> multiple contexts.
> 
> v2: Add basic test to fast-feedback.testlist
> v3: Run all tests for different memory types,
>      pass VA instead of an array for batch_address
> v4: Iterate for memory region types instead of hardcoding,
>      use i915_vm_bind library functions
> v5: Validate synchronous vm_bind, require blt engine,
>      use mr->gtt_alignment instead of HAS_64K_PAGES,
>      change info to debug messages, remove igt_collection usage,
>      fix dg2 alignment issue
> 
> Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>

With the comment from Petri addressed,
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the igt-dev mailing list