mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Refactor debugger code
- helper sets all SbaAddresses for debugger in EncodeStateBaseAddress<GfxFamily>::setSbaAddressesForDebugger() - change DebuggerL0::captureStateBaseAddress() to take LinearStream - move getSbaTrackingCommandsSize() to Debugger class Related-To: NEO-6845 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
f3bcbfb305
commit
5911515ed0
@ -788,7 +788,7 @@ template <typename GfxFamily>
|
||||
size_t CommandStreamReceiverHw<GfxFamily>::getRequiredCmdStreamSize(const DispatchFlags &dispatchFlags, Device &device) {
|
||||
size_t size = getRequiredCmdSizeForPreamble(device);
|
||||
size += getRequiredStateBaseAddressSize(device);
|
||||
if (!this->isStateSipSent || device.isDebuggerActive()) {
|
||||
if (!this->isStateSipSent || device.getDebugger()) {
|
||||
size += PreemptionHelper::getRequiredStateSipCmdSize<GfxFamily>(device, isRcs());
|
||||
}
|
||||
size += MemorySynchronizationCommands<GfxFamily>::getSizeForSinglePipeControl();
|
||||
|
Reference in New Issue
Block a user