fix: program RenderTargetCacheFlush in PC prior to PIPELINE_SELECT

- fix code by removing csStallOnly that skipped seeting RTCF flag

Related-To: NEO-9194

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-10-09 15:15:32 +00:00
committed by Compute-Runtime-Automation
parent e690217227
commit 31265edfee
3 changed files with 25 additions and 6 deletions

View File

@@ -66,6 +66,9 @@ HWTEST2_F(PreambleTest, givenSpecificDeviceWhenProgramPipelineSelectIsCalledThen
auto numPipeControl = hwParser.getCommandsList<PIPE_CONTROL>().size();
EXPECT_EQ(1u, numPipeControl);
auto pipeControl = hwParser.getCommand<PIPE_CONTROL>();
EXPECT_TRUE(pipeControl->getRenderTargetCacheFlushEnable());
auto numPipelineSelect = hwParser.getCommandsList<PIPELINE_SELECT>().size();
EXPECT_EQ(1u, numPipelineSelect);
}