Extended AUB fixtures with expect compressed memory

Related-To: NEO-5577

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
Slawomir Milczarek
2021-02-22 12:02:08 +00:00
committed by Compute-Runtime-Automation
parent 4d59d5fd50
commit 905ed9e5bf
17 changed files with 123 additions and 4 deletions

View File

@@ -67,6 +67,10 @@ void HardwareContextController::writeMemory(aub_stream::AllocationParams &alloca
}
}
void HardwareContextController::writeMMIO(uint32_t offset, uint32_t value) {
hardwareContexts[0]->writeMMIO(offset, value);
}
void HardwareContextController::dumpBufferBIN(uint64_t gfxAddress, size_t size) {
hardwareContexts[0]->dumpBufferBIN(gfxAddress, size);
}

View File

@@ -26,6 +26,7 @@ class HardwareContextController {
void expectMemory(uint64_t gfxAddress, const void *srcAddress, size_t length, uint32_t compareOperation);
void submit(uint64_t batchBufferGpuAddress, const void *batchBuffer, size_t batchBufferSize, uint32_t memoryBank, uint64_t entryBits, bool overrideRingHead);
void writeMemory(aub_stream::AllocationParams &allocationParams);
void writeMMIO(uint32_t offset, uint32_t value);
void dumpBufferBIN(uint64_t gfxAddress, size_t size);
void dumpSurface(const aub_stream::SurfaceInfo &surfaceInfo);