Skip to content

Commit 7f24a4b

Browse files
refactor: Simplify SBA programming in flushTask
Related-To: NEO-7621 Signed-off-by: Kamil Kopryk <[email protected]>
1 parent 7d20449 commit 7f24a4b

File tree

2 files changed

+197
-163
lines changed

2 files changed

+197
-163
lines changed

shared/source/command_stream/command_stream_receiver_hw.h

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,21 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
195195
void handlePipelineSelectStateTransition(const DispatchFlags &dispatchFlags);
196196
void handleStateBaseAddressStateTransition(const DispatchFlags &dispatchFlags, bool &isStateBaseAddressDirty);
197197
void updateStreamTaskCount(LinearStream &stream, TaskCountType newTaskCount);
198-
198+
inline void programStateBaseAddress(const IndirectHeap *dsh,
199+
const IndirectHeap *ioh,
200+
const IndirectHeap *ssh,
201+
DispatchFlags &dispatchFlags,
202+
Device &device, LinearStream &commandStreamCSR,
203+
bool stateBaseAddressDirty);
204+
205+
inline void reprogramStateBaseAddress(const IndirectHeap *dsh,
206+
const IndirectHeap *ioh,
207+
const IndirectHeap *ssh,
208+
DispatchFlags &dispatchFlags,
209+
Device &device, LinearStream &commandStreamCSR,
210+
bool force32BitAllocations, bool sshDirty, bool bindingTablePoolCommandNeeded);
211+
212+
inline void programSamplerCacheFlushBetweenRedescribedSurfaceReads(LinearStream &commandStreamCSR);
199213
bool bcsRelaxedOrderingAllowed(const BlitPropertiesContainer &blitPropertiesContainer, bool hasStallingCmds) const;
200214

201215
HeapDirtyState dshState;

0 commit comments

Comments
 (0)