diff options
author | Tomer Tayar <ttayar@habana.ai> | 2023-08-20 14:17:06 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:22 +0300 |
commit | 878ebc14db049ae85225756b187fec81df8108b3 (patch) | |
tree | 0b43afc58ae260494126b9342cd287bdfe74a547 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb644f61970ad44147c9466b0cb99a028de02138 (diff) |
accel/habanalabs: set hl_dmabuf_priv.device_address only when needed
The device_address member of 'struct hl_dmabuf_priv' is used only when
virtual device memory is not supported and dma-buf is exported from
address.
Set the value of this field only when it is relevant, and add "phys" to
its name so it would be clearer that it can't be a device virtual
address.
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions