mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
fix: Use Ioctl syscall due to ioctl helper infinite wait given ebusy
Related-to: NEO-11800 Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9f7d144e63
commit
5ddbab4c7c
@@ -590,7 +590,7 @@ bool IoctlHelperPrelim20::perfOpenEuStallStream(uint32_t euStallFdParameter, std
|
||||
I915_PERF_FLAG_FD_NONBLOCK;
|
||||
param.num_properties = sizeof(properties) / 16;
|
||||
param.properties_ptr = reinterpret_cast<uintptr_t>(properties.data());
|
||||
*stream = ioctl(DrmIoctl::perfOpen, ¶m);
|
||||
*stream = ioctl(this->drm.getFileDescriptor(), DrmIoctl::perfOpen, ¶m);
|
||||
if (*stream < 0) {
|
||||
PRINT_DEBUG_STRING(NEO::debugManager.flags.PrintDebugMessages.get() && (*stream < 0), stderr,
|
||||
"%s failed errno = %d | ret = %d \n", "DRM_IOCTL_I915_PERF_OPEN", errno, *stream);
|
||||
|
||||
Reference in New Issue
Block a user