Flush cache for blit aux translation

Change-Id: I108273bee286cdeed06e0c287945099cea481a73
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2020-03-09 13:48:30 +01:00
committed by sys_ocldev
parent 3133d55b3b
commit 1399e55df7
11 changed files with 185 additions and 53 deletions

View File

@@ -64,12 +64,12 @@ class BuiltInOp<EBuiltInOps::AuxTranslation> : public BuiltinDispatchInfoBuilder
using RegisteredMethodDispatcherT = RegisteredMethodDispatcher<DispatchInfo::DispatchCommandMethodT,
DispatchInfo::EstimateCommandsMethodT>;
template <typename GfxFamily, bool dcFlush>
static void dispatchPipeControl(LinearStream &linearStream, TimestampPacketDependencies *) {
static void dispatchPipeControl(LinearStream &linearStream, TimestampPacketDependencies *, const HardwareInfo &) {
MemorySynchronizationCommands<GfxFamily>::addPipeControl(linearStream, dcFlush);
}
template <typename GfxFamily>
static size_t getSizeForSinglePipeControl(size_t) {
static size_t getSizeForSinglePipeControl(size_t, const HardwareInfo &, bool) {
return MemorySynchronizationCommands<GfxFamily>::getSizeForSinglePipeControl();
}