[Mesa-dev] [PATCH 0/9] anv: softpin

Chris Wilson chris at chris-wilson.co.uk
Fri May 4 06:24:21 UTC 2018


Quoting Scott D Phillips (2018-05-02 17:01:00)
> This series teaches anv how to pick its own virtual graphics addresses
> instead of using the relocation facility provided by the kernel.
> 
> Jason Ekstrand (1):
>   util: Add a virtual memory allocator
> 
> Scott D Phillips (8):
>   util/set: add a set_clear function
>   anv: remove unused field anv_queue::pool
>   anv: move canonical_address calculation into a separate function
>   anv: Add vma_heap allocators in anv_device
>   anv: soft pin state pools
>   anv: use a separate pool for binding tables when soft pinning
>   anv: elide relocations to pinned target bos
>   anv: soft pin the remaining bos

Something that I see missing from the allocator is consideration of
hugepage alignment requirements, 64k pages need 2MiB alignment, 1GiB
need 1GiB alignment.
-Chris


More information about the mesa-dev mailing list