mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user