Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2023-02-07 17:23:45 +00:00
committed by Compute-Runtime-Automation
parent 1d675fc145
commit 0885379060
5 changed files with 6 additions and 6 deletions

View File

@@ -592,7 +592,7 @@ IndirectHeap &CommandStreamReceiver::getIndirectHeap(IndirectHeap::Type heapType
if (heap && heap->getAvailableSpace() < minRequiredSize && heapMemory) {
internalAllocationStorage->storeAllocation(std::unique_ptr<GraphicsAllocation>(heapMemory), REUSABLE_ALLOCATION);
heapMemory = nullptr;
this->heapStorageReqiuresRecyclingTag = true;
this->heapStorageRequiresRecyclingTag = true;
}
if (!heapMemory) {

View File

@@ -492,7 +492,7 @@ class CommandStreamReceiver {
bool GSBAFor32BitProgrammed = false;
bool GSBAStateDirty = true;
bool bindingTableBaseAddressRequired = false;
bool heapStorageReqiuresRecyclingTag = false;
bool heapStorageRequiresRecyclingTag = false;
bool mediaVfeStateDirty = true;
bool lastVmeSubslicesConfig = false;
bool stallingCommandsOnNextFlushRequired = false;

View File

@@ -308,7 +308,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
const auto &hwInfo = peekHwInfo();
auto &gfxCoreHelper = getGfxCoreHelper();
if (dispatchFlags.blocking || dispatchFlags.dcFlush || dispatchFlags.guardCommandBufferWithPipeControl || this->heapStorageReqiuresRecyclingTag) {
if (dispatchFlags.blocking || dispatchFlags.dcFlush || dispatchFlags.guardCommandBufferWithPipeControl || this->heapStorageRequiresRecyclingTag) {
if (this->dispatchMode == DispatchMode::ImmediateDispatch) {
// for ImmediateDispatch we will send this right away, therefore this pipe control will close the level
// for BatchedSubmissions it will be nooped and only last ppc in batch will be emitted.
@@ -322,7 +322,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
}
}
this->heapStorageReqiuresRecyclingTag = false;
this->heapStorageRequiresRecyclingTag = false;
epiloguePipeControlLocation = ptrOffset(commandStreamTask.getCpuBase(), commandStreamTask.getUsed());
if ((dispatchFlags.outOfOrderExecutionAllowed || timestampPacketWriteEnabled) &&

View File

@@ -251,7 +251,7 @@ class MockCsrHw2 : public CommandStreamReceiverHw<GfxFamily> {
using CommandStreamReceiver::dispatchMode;
using CommandStreamReceiver::feSupportFlags;
using CommandStreamReceiver::globalFenceAllocation;
using CommandStreamReceiver::heapStorageReqiuresRecyclingTag;
using CommandStreamReceiver::heapStorageRequiresRecyclingTag;
using CommandStreamReceiver::isPreambleSent;
using CommandStreamReceiver::latestFlushedTaskCount;
using CommandStreamReceiver::mediaVfeStateDirty;