fix: don't fail initialization for small bar config in i915 path

https://github.com/intel/compute-runtime/issues/831
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-05-29 09:51:18 +00:00
committed by Compute-Runtime-Automation
parent e3be9eaea7
commit 60dfdda1a3
7 changed files with 52 additions and 3 deletions

View File

@@ -514,7 +514,9 @@ int Drm::setupHardwareInfo(const DeviceDescriptor *device, bool setupFeatureTabl
printDebugString(debugManager.flags.PrintDebugMessages.get(), stderr, "%s", "WARNING: Failed to query memory info\n");
} else if (getMemoryInfo()->isSmallBarDetected()) {
IoFunctions::fprintf(stderr, "WARNING: Small BAR detected for device %s\n", getPciPath().c_str());
return -1;
if (!ioctlHelper->isSmallBarConfigAllowed()) {
return -1;
}
}
if (!queryEngineInfo()) {