Skip to content
Commit 7fc40bca authored by Pawel Piskorski's avatar Pawel Piskorski Committed by Oded Gabbay
Browse files

habanalabs: flush only at the end of the map/unmap



Optimize hl_mmu_map and hl_mmu_unmap by not calling flush(ctx)
within per-page loop.

Signed-off-by: default avatarPawel Piskorski <ppiskorski@habana.ai>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent bbde5709
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment