fix: don't program dummy blit prior to MI_FLUSH_DW without postsync

add missing dummy blits before MI_FLUSH_DW with postsync

Related-To: NEO-9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-02-29 13:30:12 +00:00
committed by Compute-Runtime-Automation
parent 6751d19c19
commit 80aa55a3cb
18 changed files with 161 additions and 202 deletions

View File

@@ -136,10 +136,9 @@ void BlitCommandsHelper<Family>::appendBlitCommandsMemCopy(const BlitProperties
template <>
template <>
void BlitCommandsHelper<Family>::dispatchBlitMemoryFill<1>(NEO::GraphicsAllocation *dstAlloc, uint64_t offset, uint32_t *pattern, LinearStream &linearStream, size_t size, EncodeDummyBlitWaArgs &waArgs, COLOR_DEPTH depth) {
void BlitCommandsHelper<Family>::dispatchBlitMemoryFill<1>(NEO::GraphicsAllocation *dstAlloc, uint64_t offset, uint32_t *pattern, LinearStream &linearStream, size_t size, RootDeviceEnvironment &rootDeviceEnvironment, COLOR_DEPTH depth) {
using MEM_SET = typename Family::MEM_SET;
auto blitCmd = Family::cmdInitMemSet;
auto &rootDeviceEnvironment = *waArgs.rootDeviceEnvironment;
auto mocs = rootDeviceEnvironment.getGmmHelper()->getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER);
if (debugManager.flags.OverrideBlitterMocs.get() != -1) {
@@ -294,7 +293,6 @@ void BlitCommandsHelper<Family>::dispatchDummyBlit(LinearStream &linearStream, E
auto cmd = linearStream.getSpaceForCmd<MEM_SET>();
*cmd = blitCmd;
waArgs.isWaRequired = false;
}
}