Skip to content

Commit 47c2a30

Browse files
Remove not used MemorySynchronizationCommands argument
Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent 0561ec1 commit 47c2a30

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

shared/source/command_stream/command_stream_receiver_hw_base.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
640640
template <typename GfxFamily>
641641
void CommandStreamReceiverHw<GfxFamily>::forcePipeControl(NEO::LinearStream &commandStreamCSR) {
642642
PipeControlArgs args;
643-
MemorySynchronizationCommands<GfxFamily>::addPipeControlWithCSStallOnly(commandStreamCSR, args);
643+
MemorySynchronizationCommands<GfxFamily>::addPipeControlWithCSStallOnly(commandStreamCSR);
644644
MemorySynchronizationCommands<GfxFamily>::addPipeControl(commandStreamCSR, args);
645645
}
646646

shared/source/gen8/hw_helper_gen8.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2017-2020 Intel Corporation
2+
* Copyright (C) 2017-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
@@ -59,7 +59,7 @@ void MemorySynchronizationCommands<Family>::addPipeControl(LinearStream &command
5959
}
6060

6161
template <>
62-
void MemorySynchronizationCommands<Family>::addPipeControlWithCSStallOnly(LinearStream &commandStream, PipeControlArgs &args) {
62+
void MemorySynchronizationCommands<Family>::addPipeControlWithCSStallOnly(LinearStream &commandStream) {
6363
using PIPE_CONTROL = typename Family::PIPE_CONTROL;
6464
PIPE_CONTROL cmd = Family::cmdInitPipeControl;
6565
cmd.setCommandStreamerStallEnable(true);

shared/source/helpers/hw_helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ struct MemorySynchronizationCommands {
399399
static void addAdditionalSynchronization(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo);
400400

401401
static void addPipeControl(LinearStream &commandStream, PipeControlArgs &args);
402-
static void addPipeControlWithCSStallOnly(LinearStream &commandStream, PipeControlArgs &args);
402+
static void addPipeControlWithCSStallOnly(LinearStream &commandStream);
403403

404404
static bool isDcFlushAllowed();
405405

shared/source/helpers/hw_helper_base.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void MemorySynchronizationCommands<GfxFamily>::addPipeControl(LinearStream &comm
288288
}
289289

290290
template <typename GfxFamily>
291-
void MemorySynchronizationCommands<GfxFamily>::addPipeControlWithCSStallOnly(LinearStream &commandStream, PipeControlArgs &args) {
291+
void MemorySynchronizationCommands<GfxFamily>::addPipeControlWithCSStallOnly(LinearStream &commandStream) {
292292
using PIPE_CONTROL = typename GfxFamily::PIPE_CONTROL;
293293
PIPE_CONTROL cmd = GfxFamily::cmdInitPipeControl;
294294
cmd.setCommandStreamerStallEnable(true);

0 commit comments

Comments
 (0)