commit | 8e9445a678cab4478aa90a5f8898ba093371e30f | [log] [tgz] |
---|---|---|
author | Ofir Bitton <obitton@habana.ai> | Wed Feb 10 14:29:33 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Fri Apr 09 14:09:22 2021 +0300 |
tree | d1943caa084ca23ba68164f90d65c26f1f1b9d79 | |
parent | b6821b3c65c80f11f92f1abb27be2ad9683acefc [diff] |
habanalabs: add reset support when user closes FD In order to support command submissions that are done directly from user space, the driver must perform soft reset once user closes its FD. In case the soft reset fails or device is not idle, a hard reset should be performed. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>