diff --git a/shared/source/gen12lp/preamble_gen12lp.cpp b/shared/source/gen12lp/preamble_gen12lp.cpp index 9ce1677940..19df21129b 100644 --- a/shared/source/gen12lp/preamble_gen12lp.cpp +++ b/shared/source/gen12lp/preamble_gen12lp.cpp @@ -68,6 +68,7 @@ void PreambleHelper::addPipeControlBeforeVfeCmd(LinearStream *pComm if (!EngineHelpers::isCcs(engineType)) { cmd.setRenderTargetCacheFlushEnable(true); cmd.setDepthCacheFlushEnable(true); + cmd.setDepthStallEnable(true); } cmd.setDcFlushEnable(true); } diff --git a/shared/test/unit_test/gen12lp/test_preamble_gen12lp.cpp b/shared/test/unit_test/gen12lp/test_preamble_gen12lp.cpp index e61a0eb9ba..ad0798e027 100644 --- a/shared/test/unit_test/gen12lp/test_preamble_gen12lp.cpp +++ b/shared/test/unit_test/gen12lp/test_preamble_gen12lp.cpp @@ -70,6 +70,7 @@ TGLLPTEST_F(Gen12LpPreambleVfeState, WaOff) { const auto &pc = *reinterpret_cast(*itorPC); EXPECT_FALSE(pc.getRenderTargetCacheFlushEnable()); EXPECT_FALSE(pc.getDepthCacheFlushEnable()); + EXPECT_FALSE(pc.getDepthStallEnable()); EXPECT_FALSE(pc.getDcFlushEnable()); EXPECT_EQ(1u, pc.getCommandStreamerStallEnable()); } @@ -108,6 +109,7 @@ TGLLPTEST_F(Gen12LpPreambleVfeState, givenRcsEngineWhenWaIsSetThenAppropriatePip const auto &pc = *reinterpret_cast(*itorPC); EXPECT_TRUE(pc.getRenderTargetCacheFlushEnable()); EXPECT_TRUE(pc.getDepthCacheFlushEnable()); + EXPECT_TRUE(pc.getDepthStallEnable()); EXPECT_TRUE(pc.getDcFlushEnable()); EXPECT_EQ(1u, pc.getCommandStreamerStallEnable()); }