diff options
author | Ofir Bitton <obitton@habana.ai> | 2022-02-28 15:08:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-22 20:57:34 +0200 |
commit | 4c3b9f6e3bd0480474666f9e016ff57ea0c5ecaa (patch) | |
tree | deb41501e3bac1d60d44810b0f1fcc3487c1d553 /include/uapi/misc/habanalabs.h | |
parent | habanalabs: add user API to get valid DRAM page sizes (diff) | |
download | linux-4c3b9f6e3bd0480474666f9e016ff57ea0c5ecaa.tar.xz linux-4c3b9f6e3bd0480474666f9e016ff57ea0c5ecaa.zip |
habanalabs: add new return code to device fd open
In order to be more informative during device open, we are adding a
new return code -EAGAIN that indicates device is still going through
resource reclaiming and hence it cannot be used yet.
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/uapi/misc/habanalabs.h')
0 files changed, 0 insertions, 0 deletions