summaryrefslogtreecommitdiff
path: root/kernel/bounds.c
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2020-06-24 14:49:43 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-24 20:31:36 +0300
commit79b1894c419468607ce547855e8636d42b456149 (patch)
treeaaeff3bde56e4f1ad531f4c0ab9abd732ce914b9 /kernel/bounds.c
parent3abc99bb7dcbc0704972dae6c6ba92fbb1fbf191 (diff)
habanalabs: use queue pi/ci in order to determine queue occupancy
Instead of using the free slots amount on the compute CQ to determine whether we can submit work to queues, use the queues pi/ci. This is needed in future ASICs where we don't have CQ per queue. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions