habanalabs: clear sobs and monitors in context switch

On context switch we need to ensure that each user is not be affected by
other user, so we need to clear sync objects and monitors in context
switch instead of in restore_phase_topology function.

Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
Dalit Ben Zoor 2019-05-30 08:46:02 +00:00 • committed by Oded Gabbay
commit 9c46f7b10f