diff options
author | Tomer Tayar <ttayar@habana.ai> | 2023-08-04 17:42:13 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:21 +0300 |
commit | efbca048c64bb00562c3e980dfc6ca47fff4fa0e (patch) | |
tree | 2c8998b3d9edd98560059506bb94e27718a9b7e7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dfdbc55a9c8c5ab00ae2d5963ac1199fdc9da2d3 (diff) | |
download | linux-efbca048c64bb00562c3e980dfc6ca47fff4fa0e.tar.xz |
accel/habanalabs: use exported size from dma_buf and not from phys_pg_pack
The 'exported_size' member in 'struct hl_vm_phys_pg_pack' is used to
keep the exported dma-buf size, to be later used when the buffer is
mapped.
However it is possible that the same phys_pg_pack will be exported more
than once, and independently of when the mapping takes place.
Remove this member from the phys_pg_pack structure, and simply use the
size in the dma-buf object as the exported size when mapping.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions