refactor: Passing information about the engine

Extension of the interface with information
about the engine type passed to the function

Related-To: NEO-10678

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
Andrzej Koska
2024-04-19 14:20:27 +00:00
committed by Compute-Runtime-Automation
parent 31b2dcfe57
commit ae139aeffd
73 changed files with 296 additions and 251 deletions

View File

@@ -41,7 +41,7 @@ void PreemptionHelper::programCmdStream<GfxFamily>(LinearStream &cmdStream, Pree
regVal = PreemptionConfig<GfxFamily>::cmdLevelVal;
}
LriHelper<GfxFamily>::program(&cmdStream, PreemptionConfig<GfxFamily>::mmioAddress, regVal, false);
LriHelper<GfxFamily>::program(&cmdStream, PreemptionConfig<GfxFamily>::mmioAddress, regVal, false, false);
}
template <>
@@ -94,6 +94,7 @@ void PreemptionHelper::applyPreemptionWaCmdsBegin<GfxFamily>(LinearStream *pComm
LriHelper<GfxFamily>::program(pCommandStream,
RegisterOffsets::csGprR0,
RegisterConstants::gpgpuWalkerCookieValueBeforeWalker,
false,
false);
}
}
@@ -109,6 +110,7 @@ void PreemptionHelper::applyPreemptionWaCmdsEnd<GfxFamily>(LinearStream *pComman
LriHelper<GfxFamily>::program(pCommandStream,
RegisterOffsets::csGprR0,
RegisterConstants::gpgpuWalkerCookieValueAfterWalker,
false,
false);
}
}