diff options
author | farah kassabri <fkassabri@habana.ai> | 2021-09-12 14:30:35 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-09-14 15:00:04 +0300 |
commit | 42254c2a4991b98ca3f86040a1a7b7b32a0c8c4a (patch) | |
tree | 1daffe4f49956c2dc62249d98fc95f1bf59f7461 /kernel/debug | |
parent | 3d3200ae167ba048a29e0c815987a3fdc90fc8d2 (diff) |
habanalabs: fix wait offset handling
Add handling for case where the user doesn't set wait offset,
and keeps it as 0. In such a case the driver will decrement one
from this zero value which will cause the code to wait for
wrong number of signals.
The solution is to treat this case as in legacy wait cs,
and wait for the next signal.
Signed-off-by: farah kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions