mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
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:
committed by
Compute-Runtime-Automation
parent
e3be9eaea7
commit
60dfdda1a3
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user