Commit ed44eb83 authored by Szymichowski, Pawel's avatar Szymichowski, Pawel Committed by Wu, Irene W

Changes in code.

Change-Id: I075109240fbaf3a0493464c93f9a46956a66a678
parent 3784f288
......@@ -2723,8 +2723,8 @@ TARGET_PLATFORM GetVISAPlatform(const CPlatform* platform)
return GENX_CNL;
case IGFX_GEN11_CORE:
if (platform->getPlatformInfo().eProductFamily == IGFX_ICELAKE_LP ||
platform->getPlatformInfo().eProductFamily == IGFX_LAKEFIELD ||
platform->getPlatformInfo().eProductFamily == IGFX_JASPERLAKE)
platform->getPlatformInfo().eProductFamily == IGFX_LAKEFIELD
)
{
return GENX_ICLLP;
}
......
......@@ -274,16 +274,13 @@ public:
//all the platforms which do not support 64 bit operations (int64 and double)
bool hasNo64BitInst() const {
return m_platformInfo.eProductFamily == IGFX_GLENVIEW ||
m_platformInfo.eProductFamily == IGFX_ICELAKE_LP ||
m_platformInfo.eProductFamily == IGFX_LAKEFIELD ||
m_platformInfo.eProductFamily == IGFX_JASPERLAKE;
return m_platformInfo.eProductFamily == IGFX_ICELAKE_LP ||
m_platformInfo.eProductFamily == IGFX_LAKEFIELD;
}
//all the platforms which have correctly rounded macros (INVM, RSQRTM, MADM)
bool hasCorrectlyRoundedMacros() const {
return m_platformInfo.eProductFamily != IGFX_GLENVIEW &&
m_platformInfo.eProductFamily != IGFX_ICELAKE_LP &&
return m_platformInfo.eProductFamily != IGFX_ICELAKE_LP &&
m_platformInfo.eProductFamily != IGFX_LAKEFIELD;
}
......@@ -295,19 +292,15 @@ public:
bool need64BitEmulation() const {
return (m_platformInfo.eProductFamily == IGFX_GEMINILAKE ||
m_platformInfo.eProductFamily == IGFX_BROXTON ||
m_platformInfo.eProductFamily == IGFX_GLENVIEW ||
m_platformInfo.eProductFamily == IGFX_ICELAKE_LP ||
m_platformInfo.eProductFamily == IGFX_LAKEFIELD ||
m_platformInfo.eProductFamily == IGFX_JASPERLAKE);
m_platformInfo.eProductFamily == IGFX_LAKEFIELD);
}
//all the platforms which do not support 64 bit float operations
bool supportFP64() const {
return (m_platformInfo.eRenderCoreFamily >= IGFX_GEN7_CORE &&
m_platformInfo.eProductFamily != IGFX_GLENVIEW &&
m_platformInfo.eProductFamily != IGFX_ICELAKE_LP &&
m_platformInfo.eProductFamily != IGFX_LAKEFIELD &&
m_platformInfo.eProductFamily != IGFX_JASPERLAKE);
m_platformInfo.eProductFamily != IGFX_LAKEFIELD);
}
bool has8DWA64ScatteredMessage() const { return true; }
bool useOnlyEightPatchDispatchHS() const { return false; }
......
......@@ -69,9 +69,6 @@ void SetWorkaroundTable(SKU_FEATURE_TABLE* pSkuFeatureTable, CPlatform* platform
case IGFX_GEMINILAKE:
InitGlkWaTable(&waTable, pSkuFeatureTable, &stWaInitParam);
break;
case IGFX_GLENVIEW:
InitGlvWaTable(&waTable, pSkuFeatureTable, &stWaInitParam);
break;
case IGFX_ICELAKE:
InitIclHwWaTable(&waTable, pSkuFeatureTable, &stWaInitParam);
break;
......@@ -81,9 +78,6 @@ void SetWorkaroundTable(SKU_FEATURE_TABLE* pSkuFeatureTable, CPlatform* platform
case IGFX_LAKEFIELD:
InitLkfHwWaTable(&waTable, pSkuFeatureTable, &stWaInitParam);
break;
case IGFX_JASPERLAKE:
InitJslHwWaTable(&waTable, pSkuFeatureTable, &stWaInitParam);
break;
default:
assert(false);
break;
......
......@@ -215,10 +215,6 @@ CGenSystemInstructionKernelProgram* CGenSystemInstructionKernelProgram::Create(
/*Special SIP for 2x6 from HW team with 64KB offset*/
SIPIndex = GEN9_BXT_SIP_CSR;
}
else if (platform.getPlatformInfo().eProductFamily == IGFX_GLENVIEW)
{
SIPIndex = GEN9_GLV_SIP_CSR;
}
else
{
SIPIndex = GEN9_SIP_CSR;
......
......@@ -36,12 +36,10 @@ typedef enum {
IGFX_WILLOWVIEW,
IGFX_BROXTON,
IGFX_GEMINILAKE,
IGFX_GLENVIEW,
IGFX_CANNONLAKE,
IGFX_ICELAKE,
IGFX_ICELAKE_LP,
IGFX_LAKEFIELD,
IGFX_JASPERLAKE,
IGFX_MAX_PRODUCT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment