mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Add parameters to HardwareContext read call
Change-Id: Iba70d4b90d76199df6f0bf90c95adb7dc059c715 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
47091c7cfa
commit
32ecd91401
@@ -404,7 +404,8 @@ void TbxCommandStreamReceiverHw<GfxFamily>::processResidency(ResidencyContainer
|
||||
template <typename GfxFamily>
|
||||
void TbxCommandStreamReceiverHw<GfxFamily>::makeCoherent(GraphicsAllocation &gfxAllocation) {
|
||||
if (hardwareContext) {
|
||||
hardwareContext->readMemory(gfxAllocation.getGpuAddress(), gfxAllocation.getUnderlyingBuffer(), gfxAllocation.getUnderlyingBufferSize());
|
||||
hardwareContext->readMemory(gfxAllocation.getGpuAddress(), gfxAllocation.getUnderlyingBuffer(), gfxAllocation.getUnderlyingBufferSize(),
|
||||
this->getMemoryBank(&gfxAllocation), MemoryConstants::pageSize64k);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user