commit | aa957088b4e846146b230e431dd9dad59e907f9a | [log] [tgz] |
---|---|---|
author | Dalit Ben Zoor <dbenzoor@habana.ai> | Sun Mar 24 10:15:44 2019 +0200 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Sun Mar 24 10:15:44 2019 +0200 |
tree | 26f0a463b800b7945a86eb0230cef65c8129e722 | |
parent | 9354c29ed52762e9645d6dc2631045228ed10fbd [diff] |
habanalabs: add device status option to INFO IOCTL This patch adds a new opcode to INFO IOCTL that returns the device status. This will allow users to query the device status in order to avoid sending command submissions while device is in reset. Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>