diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2023-08-20 15:33:43 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:22 +0300 |
| commit | d16945f60274d5826a1c7c6581dc5878247a5951 (patch) | |
| tree | 3562de276f05219e4489306c06b357f65a83e472 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | 878ebc14db049ae85225756b187fec81df8108b3 (diff) | |
accel/habanalabs: add missing offset handling for dma-buf
On devices with virtual device memory (Gaudi2 onwards), user can provide
an offset within an allocated device memory from which he wants to
export a dma-buf object.
The offset value is verified by driver, but it is not taken into
consideration when the importer driver maps the dma-buf and the SG table
it prepared.
Add the missing offset handling.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
