summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-02-10 14:29:33 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-04-09 14:09:22 +0300
commit8e9445a678cab4478aa90a5f8898ba093371e30f (patch)
treed1943caa084ca23ba68164f90d65c26f1f1b9d79 /lib/mpi/mpi-sub-ui.c
parentb6821b3c65c80f11f92f1abb27be2ad9683acefc (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>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions