Add program HDC pipeline flush prior to SBA

Change-Id: If1223f7dbc07b6a5275a642fac27a44b87a9f97c
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3974
This commit is contained in:
Kamil Kopryk
2019-12-13 02:32:11 +01:00
committed by sys_ocldev
parent a33495a3de
commit 2c84c143e6
10 changed files with 24 additions and 35 deletions

View File

@@ -69,7 +69,5 @@ GEN12LPTEST_F(UltCommandStreamReceiverTest, givenStateBaseAddressWhenItIsRequire
auto pipeControlCmd = reinterpret_cast<typename FamilyType::PIPE_CONTROL *>(*pipeControlItor);
EXPECT_TRUE(pipeControlCmd->getTextureCacheInvalidationEnable());
EXPECT_TRUE(pipeControlCmd->getDcFlushEnable());
const bool expectedHdcFlushEnable = SpecialUltHelperGen12lp::shouldEnableHdcFlush(::productFamily);
EXPECT_EQ(expectedHdcFlushEnable, pipeControlCmd->getHdcPipelineFlush());
EXPECT_TRUE(pipeControlCmd->getHdcPipelineFlush());
}

View File

@@ -15,10 +15,6 @@ bool SpecialUltHelperGen12lp::shouldCompressionBeEnabledAfterConfigureHardwareCu
return hwInfo.featureTable.ftrE2ECompression;
}
bool SpecialUltHelperGen12lp::shouldEnableHdcFlush(PRODUCT_FAMILY productFamily) {
return true;
}
bool SpecialUltHelperGen12lp::additionalCoherencyCheck(PRODUCT_FAMILY productFamily, bool coherency) {
return false;
}

View File

@@ -16,7 +16,6 @@ struct HardwareInfo;
struct SpecialUltHelperGen12lp {
static bool shouldCompressionBeEnabledAfterConfigureHardwareCustom(const HardwareInfo &hwInfo);
static bool shouldEnableHdcFlush(PRODUCT_FAMILY productFamily);
static bool additionalCoherencyCheck(PRODUCT_FAMILY productFamily, bool coherency);
static bool shouldPerformimagePitchAlignment(PRODUCT_FAMILY productFamily);
static bool shouldTestDefaultImplementationOfSetupHardwareCapabilities(PRODUCT_FAMILY productFamily);