mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Get drm specific string from ioctl helper when available
Related-To: NEO-6999 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
01af53b63c
commit
02e4ddbdfa
@@ -217,4 +217,15 @@ int IoctlHelperUpstream::getDrmParamValue(DrmParam drmParam) const {
|
||||
return getDrmParamValueBase(drmParam);
|
||||
}
|
||||
}
|
||||
std::string IoctlHelperUpstream::getDrmParamString(DrmParam param) const {
|
||||
return getDrmParamStringBase(param);
|
||||
}
|
||||
std::string IoctlHelperUpstream::getIoctlString(DrmIoctl ioctlRequest) const {
|
||||
switch (ioctlRequest) {
|
||||
case DrmIoctl::GemCreateExt:
|
||||
return "DRM_IOCTL_I915_GEM_CREATE_EXT";
|
||||
default:
|
||||
return getIoctlStringBase(ioctlRequest);
|
||||
}
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user