Use RCS as default engine on TGLLP

Related-To: NEO-4657

Change-Id: Id767f0183d7014db5ef6f810d19e3eea95a18afc
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
Pawel Wilma
2020-05-14 10:21:39 +02:00
committed by sys_ocldev
parent cb09e50e61
commit 21099b2668
2 changed files with 12 additions and 2 deletions

View File

@ -45,7 +45,7 @@ bool isOffsetToSkipSetFFIDGPWARequired(const HardwareInfo &hwInfo) {
}
bool isForceDefaultRCSEngineWARequired(const HardwareInfo &hwInfo) {
return ((hwInfo.platform.eProductFamily == IGFX_TIGERLAKE_LP) & (hwInfo.platform.usRevId == REVISION_A0));
return ((hwInfo.platform.eProductFamily == IGFX_TIGERLAKE_LP));
}
bool isForceEmuInt32DivRemSPWARequired(const HardwareInfo &hwInfo) {

View File

@ -18,10 +18,20 @@ TGLLPTEST_F(HwHelperTestGen12Lp, givenTgllpA0WhenAdjustDefaultEngineTypeCalledTh
EXPECT_EQ(aub_stream::ENGINE_RCS, hardwareInfo.capabilityTable.defaultEngineType);
}
TGLLPTEST_F(HwHelperTestGen12Lp, givenTgllpBWhenAdjustDefaultEngineTypeCalledThenCcsIsReturned) {
TGLLPTEST_F(HwHelperTestGen12Lp, givenTgllpBWhenAdjustDefaultEngineTypeCalledThenRcsIsReturned) {
hardwareInfo.featureTable.ftrCCSNode = true;
hardwareInfo.platform.usRevId = REVISION_A0 + 1;
auto &helper = HwHelper::get(renderCoreFamily);
helper.adjustDefaultEngineType(&hardwareInfo);
EXPECT_EQ(aub_stream::ENGINE_RCS, hardwareInfo.capabilityTable.defaultEngineType);
}
TGLLPTEST_F(HwHelperTestGen12Lp, givenTgllWhenWaForDefaultEngineIsNotAplliedThenCcsIsReturned) {
hardwareInfo.featureTable.ftrCCSNode = true;
hardwareInfo.platform.usRevId = REVISION_A0;
hardwareInfo.platform.eProductFamily = IGFX_UNKNOWN;
auto &helper = HwHelper::get(renderCoreFamily);
helper.adjustDefaultEngineType(&hardwareInfo);
EXPECT_EQ(aub_stream::ENGINE_CCS, hardwareInfo.capabilityTable.defaultEngineType);