mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Update Context::blitMemoryToAllocation function
Change-Id: I5f81cb023b75e82bd3aff8e393f6b9463c767112 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
@@ -93,7 +93,7 @@ bool HwHelperHw<Family>::isWorkaroundRequired(uint32_t lowestSteppingWithBug, ui
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return (lowestSteppingWithBug >= hwInfo.platform.usRevId && hwInfo.platform.usRevId < steppingWithFix);
|
||||
return (lowestSteppingWithBug <= hwInfo.platform.usRevId && hwInfo.platform.usRevId < steppingWithFix);
|
||||
} else if (hwInfo.platform.eProductFamily == PRODUCT_FAMILY::IGFX_DG1) {
|
||||
for (auto stepping : {&lowestSteppingWithBug, &steppingWithFix}) {
|
||||
switch (*stepping) {
|
||||
@@ -108,7 +108,7 @@ bool HwHelperHw<Family>::isWorkaroundRequired(uint32_t lowestSteppingWithBug, ui
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return (lowestSteppingWithBug >= hwInfo.platform.usRevId && hwInfo.platform.usRevId < steppingWithFix);
|
||||
return (lowestSteppingWithBug <= hwInfo.platform.usRevId && hwInfo.platform.usRevId < steppingWithFix);
|
||||
}
|
||||
|
||||
return Gen12LPHelpers::workaroundRequired(lowestSteppingWithBug, steppingWithFix, hwInfo);
|
||||
|
||||
Reference in New Issue
Block a user