diff options
author | 2023-08-20 15:33:43 +0300 | |
---|---|---|
committer | 2023-10-09 12:37:22 +0300 | |
commit | d16945f60274d5826a1c7c6581dc5878247a5951 (patch) | |
tree | 3562de276f05219e4489306c06b357f65a83e472 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | accel/habanalabs: set hl_dmabuf_priv.device_address only when needed (diff) | |
download | linux-rng-d16945f60274d5826a1c7c6581dc5878247a5951.tar.xz linux-rng-d16945f60274d5826a1c7c6581dc5878247a5951.zip |
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 '')
0 files changed, 0 insertions, 0 deletions