Propagate exec buffer error to L0 API level on Xe HPC

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-10-28 09:25:16 +00:00
committed by Compute-Runtime-Automation
parent a9ba581d97
commit 9816f815f3
26 changed files with 312 additions and 40 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,
};