mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
feature: Caller ID introduced to aubstream
... to distinguish environment of capturing. Related-To: NEO-9235 Signed-off-by: Tomasz Kordek <tomasz.kordek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
80e59ff344
commit
f8ad191b16
@@ -49,6 +49,7 @@ AubCenter::AubCenter(const RootDeviceEnvironment &rootDeviceEnvironment, bool lo
|
||||
aub_stream::injectMMIOList(extraMmioList);
|
||||
|
||||
AubHelper::setTbxConfiguration();
|
||||
aub_stream::setAubStreamCaller(aub_stream::caller::neo);
|
||||
|
||||
aub_stream::AubManagerOptions options{};
|
||||
options.version = 1u;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,6 +11,7 @@ namespace aub_stream_stubs {
|
||||
uint16_t tbxServerPort = 4321;
|
||||
std::string tbxServerIp = "127.0.0.1";
|
||||
bool tbxFrontdoorMode = false;
|
||||
uint32_t aubStreamCaller = std::numeric_limits<uint32_t>::max();
|
||||
} // namespace aub_stream_stubs
|
||||
|
||||
namespace aub_stream {
|
||||
@@ -24,7 +25,8 @@ void setTbxServerIp(std::string server) {
|
||||
if (aub_stream_stubs::tbxServerIp != server)
|
||||
aub_stream_stubs::tbxServerIp = server;
|
||||
};
|
||||
void setTbxFrontdoorMode(bool frontdoor) { aub_stream_stubs::tbxFrontdoorMode = frontdoor; }
|
||||
void setTbxFrontdoorMode(bool frontdoor) { aub_stream_stubs::tbxFrontdoorMode = frontdoor; };
|
||||
void setAubStreamCaller(uint32_t caller) { aub_stream_stubs::aubStreamCaller = caller; };
|
||||
}
|
||||
|
||||
} // namespace aub_stream
|
||||
|
||||
Reference in New Issue
Block a user