diff options
author | Ofir Bitton <obitton@habana.ai> | 2022-03-03 09:43:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 20:57:34 +0200 |
commit | fdec56c1a416c6947b1db22617da15cb89f46c6c (patch) | |
tree | bd07e17cb4cc28832742b290f07044b523735c14 /include/soc/tegra | |
parent | 4c3b9f6e3bd0480474666f9e016ff57ea0c5ecaa (diff) |
habanalabs: expose compute ctx status through info ioctl
In order for the user to know if he can try and open device, we
expose the compute ctx state. The user can now know if the context
is used by another process or whether the device is still ongoing
through cleanup or reset and will be available soon.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/soc/tegra')
0 files changed, 0 insertions, 0 deletions