Make TimestampPacket allocations resident

Change-Id: Ic15251bf73a6f2b3c888b2272f8df9c721ee8f58
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
This commit is contained in:
Dunajski, Bartosz
2019-07-08 13:57:13 +02:00
parent ab89c3cf75
commit cf63b25aff
2 changed files with 30 additions and 0 deletions

View File

@@ -471,6 +471,8 @@ void CommandQueueHw<GfxFamily>::processDispatchForBlitEnqueue(const MultiDispatc
blitProperties.csrDependencies.push_back(&previousTimestampPacketNodes);
blitProperties.outputTimestampPacket = timestampPacketContainer.get();
previousTimestampPacketNodes.makeResident(*blitCommandStreamReceiver);
timestampPacketContainer->makeResident(*blitCommandStreamReceiver);
blitCommandStreamReceiver->blitBuffer(blitProperties);
auto currentTimestampPacketNode = timestampPacketContainer->peekNodes().at(0);