summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/command_submission.c
diff options
context:
space:
mode:
authorDalit Ben Zoor <dbenzoor@habana.ai>2019-03-24 09:15:44 +0100
committerOded Gabbay <oded.gabbay@gmail.com>2019-03-24 09:15:44 +0100
commitaa957088b4e846146b230e431dd9dad59e907f9a (patch)
tree26f0a463b800b7945a86eb0230cef65c8129e722 /drivers/misc/habanalabs/command_submission.c
parenthabanalabs: allow user to modify TPC clock relaxation value (diff)
downloadlinux-aa957088b4e846146b230e431dd9dad59e907f9a.tar.xz
linux-aa957088b4e846146b230e431dd9dad59e907f9a.zip
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>
Diffstat (limited to 'drivers/misc/habanalabs/command_submission.c')
0 files changed, 0 insertions, 0 deletions