diff options
author | Ofir Bitton <obitton@habana.ai> | 2020-10-22 15:13:10 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:36 +0200 |
commit | 5c05487f15509320572c13fce8f490fb914cf7d4 (patch) | |
tree | 522f42f1ed69d2ccdc348c336defeca9208beb22 /drivers/iio | |
parent | 5e5867e51d6eb0a086ead83796efbae4234eab1a (diff) |
habanalabs: mmu map wrapper for sizes larger than a page
We introduce a new wrapper which allows us to mmu map any size
to any host va_range available. In addition we remove duplicated
code from various places in driver and using this new wrapper
instead.
This wrapper supports mapping only contiguous physical
memory blocks and will be used for mappings that are done to the
driver ASID.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions