fix: Override SYNCOBJ IOCTL value in i915 prelim helper

The IOCTL value of DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE in
prelim header was found to be different than in base
drm header.

Related-To: NEO-14676

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
This commit is contained in:
Raiyan Latif 2025-05-19 15:23:20 +00:00 committed by Compute-Runtime-Automation
parent 72608a691a
commit 60eecb4ad4
1 changed files with 2 additions and 0 deletions

View File

@ -913,6 +913,8 @@ unsigned int IoctlHelperPrelim20::getIoctlRequestValue(DrmIoctl ioctlRequest) co
return PRELIM_DRM_IOCTL_I915_GEM_CACHE_RESERVE;
case DrmIoctl::getResetStatsPrelim:
return PRELIM_DRM_IOCTL_I915_GET_RESET_STATS;
case DrmIoctl::syncObjFdToHandle:
return DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE;
default:
return IoctlHelperI915::getIoctlRequestValue(ioctlRequest);
}