Propagate exec buffer error to L0 API level

This change makes that drm file is opened in nonblocking mode for prelim
kernels. In such case when calling exec buffer ioctl and get
EAGAIN (aka EWOULDBLOCK) we may return error to API level

Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-08-25 15:49:58 +00:00
committed by Compute-Runtime-Automation
parent 5c48e027b9
commit 9a95f3c62d
24 changed files with 244 additions and 18 deletions

View File

@@ -14,6 +14,7 @@ enum class SubmissionStatus : uint32_t {
SUCCESS = 0,
FAILED,
OUT_OF_MEMORY,
OUT_OF_HOST_MEMORY,
UNSUPPORTED,
DEVICE_UNINITIALIZED,
};