mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
committed by
Compute-Runtime-Automation
parent
1d675fc145
commit
0885379060
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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) &&
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user