habanalabs: support reserving aligned va block

Add support for reserving va block with alignment different than
page size. This is a pre-requisite for allocations needed in future
ASICs

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
Ofir Bitton 2020-11-04 15:18:55 +02:00 • committed by Oded Gabbay
commit 412c41fcd5
3 changed files with 10 additions and 5 deletions