mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Pass additional allocation parameters to aub_stream
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e3e8171638
commit
15f3353351
@@ -60,6 +60,10 @@ class CommandStreamReceiverSimulatedHw : public CommandStreamReceiverSimulatedCo
|
||||
aub_stream::AllocationParams allocationParams(gpuAddress, cpuAddress, size, this->getMemoryBank(&graphicsAllocation),
|
||||
hint, graphicsAllocation.getUsedPageSize());
|
||||
|
||||
auto gmm = graphicsAllocation.getDefaultGmm();
|
||||
|
||||
allocationParams.additionalParams.compressionEnabled = gmm ? gmm->isRenderCompressed : false;
|
||||
|
||||
this->aubManager->writeMemory2(allocationParams);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user