diff --git a/runtime/built_ins/aux_translation_builtin.h b/runtime/built_ins/aux_translation_builtin.h index 15391c4a55..948cdb7329 100644 --- a/runtime/built_ins/aux_translation_builtin.h +++ b/runtime/built_ins/aux_translation_builtin.h @@ -34,8 +34,7 @@ class BuiltInOp : public BuiltinDispatchInfoBuilder if (kernelInstanceNumber == 0) { // Before Kernel - bool dcFlush = (AuxTranslationDirection::AuxToNonAux == operationParams.auxTranslationDirection); - registerPipeControlProgramming(builder.getDispatchInfo(0).dispatchInitCommands, dcFlush); + registerPipeControlProgramming(builder.getDispatchInfo(0).dispatchInitCommands, true); } if (kernelInstanceNumber == numMemObjectsToTranslate - 1) { // After Kernel diff --git a/unit_tests/command_queue/dispatch_walker_tests.cpp b/unit_tests/command_queue/dispatch_walker_tests.cpp index 205b46aa27..1bab030aaa 100644 --- a/unit_tests/command_queue/dispatch_walker_tests.cpp +++ b/unit_tests/command_queue/dispatch_walker_tests.cpp @@ -1346,7 +1346,7 @@ HWTEST_F(DispatchWalkerTest, givenKernelWhenNonAuxToAuxWhenTranslationRequiredTh bool dcFlushRequired = (executionEnvironment->getHardwareInfo()->platform.eRenderCoreFamily == IGFX_GEN8_CORE); auto beginPipeControl = genCmdCast(*(pipeControls[0])); - EXPECT_EQ(dcFlushRequired, beginPipeControl->getDcFlushEnable()); + EXPECT_TRUE(beginPipeControl->getDcFlushEnable()); EXPECT_TRUE(beginPipeControl->getCommandStreamerStallEnable()); auto endPipeControl = genCmdCast(*(pipeControls[1]));