mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:
@ -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) {
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user