mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Revert "fix: add fallback in setting hw ip version for MTL"
This reverts commit 869f1f3a48.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2f32fe845f
commit
3c722537dc
@@ -11,49 +11,4 @@ constexpr auto gfxProduct = IGFX_METEORLAKE;
|
||||
|
||||
#include "shared/source/xe_hpg_core/xe_lpg/compiler_product_helper_xe_lpg.inl"
|
||||
|
||||
namespace NEO {
|
||||
template <>
|
||||
uint32_t CompilerProductHelperHw<gfxProduct>::getProductConfigFromHwInfo(const HardwareInfo &hwInfo) const {
|
||||
if (hwInfo.ipVersion.value) {
|
||||
return hwInfo.ipVersion.value;
|
||||
}
|
||||
switch (hwInfo.platform.usDeviceID) {
|
||||
case 0x7D40:
|
||||
case 0x7D45: {
|
||||
switch (hwInfo.platform.usRevId) {
|
||||
case 0x0:
|
||||
case 0x2:
|
||||
return AOT::MTL_M_A0;
|
||||
case 0x3:
|
||||
case 0x8:
|
||||
return AOT::MTL_M_B0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 0x7D55:
|
||||
case 0X7DD5: {
|
||||
switch (hwInfo.platform.usRevId) {
|
||||
case 0x0:
|
||||
case 0x2:
|
||||
return AOT::MTL_P_A0;
|
||||
case 0x3:
|
||||
case 0x8:
|
||||
return AOT::MTL_P_B0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 0x7D60: {
|
||||
switch (hwInfo.platform.usRevId) {
|
||||
case 0x0:
|
||||
return AOT::MTL_M_A0;
|
||||
case 0x2:
|
||||
return AOT::MTL_M_B0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return getDefaultHwIpVersion();
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
static NEO::EnableCompilerProductHelper<gfxProduct> enableCompilerProductHelperMTL;
|
||||
|
||||
Reference in New Issue
Block a user