aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorTomer Tayar <[email protected]>2023-08-04 17:42:13 +0300
committerOded Gabbay <[email protected]>2023-10-09 12:37:21 +0300
commitefbca048c64bb00562c3e980dfc6ca47fff4fa0e (patch)
tree2c8998b3d9edd98560059506bb94e27718a9b7e7 /tools/perf/scripts/python/gecko.py
parentdfdbc55a9c8c5ab00ae2d5963ac1199fdc9da2d3 (diff)
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 <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions