aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-ipa-pass.h
diff options
context:
space:
mode:
authorDani Liberman <[email protected]>2021-10-12 13:30:27 +0300
committerOded Gabbay <[email protected]>2021-10-18 12:05:48 +0300
commitb2faac3887df87a6e4bc3356280ea35dc7459c0b (patch)
tree26feb29bd95d743c3ce874057fb2ed4809b91931 /scripts/gcc-plugins/gcc-generate-ipa-pass.h
parentfae132632c55fdab81a81e0fd3d578d38ce43f78 (diff)
habanalabs: refactor fence handling in hl_cs_poll_fences
To avoid checking if fence exists multipled times, changed fence handling to depend only on the fence status field: Busy, which means CS still did not completed : Add its QID so multi CS wait on its completion. Finished, which means CS completed and fence exists: Raise its completion bit if it finished mcs handling and update if necessary the earliest timestamp. Gone, which means CS already completed and fence deleted: Update multi CS data to ignore timestamp and raise its completion bit. Signed-off-by: Dani Liberman <[email protected]> Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions