mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Blit command size estimates with additional size for synchronization
Related-To: NEO-4227 Change-Id: Id6935bdecee7d3c395c6ae1917706268acb26932 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
df59101dae
commit
a1753053ed
@@ -816,7 +816,7 @@ uint32_t CommandStreamReceiverHw<GfxFamily>::blitBuffer(const BlitPropertiesCont
|
||||
|
||||
auto lock = obtainUniqueOwnership();
|
||||
|
||||
auto &commandStream = getCS(BlitCommandsHelper<GfxFamily>::estimateBlitCommandsSize(blitPropertiesContainer));
|
||||
auto &commandStream = getCS(BlitCommandsHelper<GfxFamily>::estimateBlitCommandsSize(blitPropertiesContainer, peekHwInfo()));
|
||||
auto commandStreamStart = commandStream.getUsed();
|
||||
auto newTaskCount = taskCount + 1;
|
||||
latestSentTaskCount = newTaskCount;
|
||||
@@ -840,7 +840,7 @@ uint32_t CommandStreamReceiverHw<GfxFamily>::blitBuffer(const BlitPropertiesCont
|
||||
makeResident(*blitProperties.dstAllocation);
|
||||
}
|
||||
|
||||
HardwareCommandsHelper<GfxFamily>::programGlobalFence(commandStream);
|
||||
PipeControlHelper<GfxFamily>::addSynchronizationWA(commandStream, tagAllocation->getGpuAddress(), peekHwInfo());
|
||||
|
||||
HardwareCommandsHelper<GfxFamily>::programMiFlushDw(commandStream, tagAllocation->getGpuAddress(), newTaskCount);
|
||||
|
||||
|
||||
@@ -149,7 +149,6 @@ struct HardwareCommandsHelper : public PerThreadDataHelper {
|
||||
uint64_t compareAddress,
|
||||
uint32_t compareData,
|
||||
COMPARE_OPERATION compareMode);
|
||||
static void programGlobalFence(LinearStream &commandStream);
|
||||
static void programMiFlushDw(LinearStream &commandStream, uint64_t immediateDataGpuAddress, uint64_t immediateData);
|
||||
static void appendMiFlushDw(typename GfxFamily::MI_FLUSH_DW *miFlushDwCmd);
|
||||
static MI_ATOMIC *programMiAtomic(LinearStream &commandStream, uint64_t writeAddress, typename MI_ATOMIC::ATOMIC_OPCODES opcode, typename MI_ATOMIC::DATA_SIZE dataSize);
|
||||
|
||||
@@ -490,8 +490,4 @@ void HardwareCommandsHelper<GfxFamily>::programMiFlushDw(LinearStream &commandSt
|
||||
miFlushDwCmd->setImmediateData(immediateData);
|
||||
appendMiFlushDw(miFlushDwCmd);
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void HardwareCommandsHelper<GfxFamily>::programGlobalFence(LinearStream &commandStream) {
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user