mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 09:30:36 +08:00
Aubstream header update
Change-Id: I68573223715e5cbb6a308b88d9bae35741ef9984
This commit is contained in:
committed by
sys_ocldev
parent
d79f1afdc2
commit
63ebe252eb
@@ -28,10 +28,10 @@ AubCenter::AubCenter(const HardwareInfo *pHwInfo, bool localMemoryEnabled, const
|
||||
aubStreamMode = getAubStreamMode(aubFileName, type);
|
||||
|
||||
if (DebugManager.flags.AubDumpAddMmioRegistersList.get() != "unk") {
|
||||
aub_stream::injectMMIOList = AubHelper::getAdditionalMmioList();
|
||||
aub_stream::injectMMIOList(AubHelper::getAdditionalMmioList());
|
||||
}
|
||||
aub_stream::tbxServerIp = DebugManager.flags.TbxServer.get();
|
||||
aub_stream::tbxServerPort = DebugManager.flags.TbxPort.get();
|
||||
aub_stream::setTbxServerIp(DebugManager.flags.TbxServer.get());
|
||||
aub_stream::setTbxServerPort(DebugManager.flags.TbxPort.get());
|
||||
|
||||
aubManager.reset(createAubManager(pHwInfo->pPlatform->eProductFamily, devicesCount, memoryBankSize, localMemoryEnabled, aubStreamMode));
|
||||
}
|
||||
@@ -57,6 +57,12 @@ AubCenter::AubCenter() {
|
||||
subCaptureManager = std::make_unique<AubSubCaptureManager>("");
|
||||
}
|
||||
|
||||
AubCenter::~AubCenter() {
|
||||
if (DebugManager.flags.UseAubStream.get()) {
|
||||
aub_stream::injectMMIOList(MMIOList{});
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t AubCenter::getAubStreamMode(const std::string &aubFileName, uint32_t csrType) {
|
||||
uint32_t mode = aub_stream::mode::aubFile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user