Move Scratch Space functionality to dedicated class

Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
This commit is contained in:
Zdanowicz, Zbigniew
2018-11-22 15:16:20 +01:00
parent a9d3575919
commit 7dbd0ea4f3
41 changed files with 934 additions and 91 deletions

View File

@ -81,7 +81,6 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
void handleEventsTimestampPacketTags(LinearStream &csr, DispatchFlags &dispatchFlags, Device &currentDevice);
virtual void programVFEState(LinearStream &csr, DispatchFlags &dispatchFlags);
virtual void initPageTableManagerRegisters(LinearStream &csr){};
void createScratchSpaceAllocation(size_t requiredScratchSizeInBytes);
void addPipeControlWA(LinearStream &commandStream, bool flushDC);
void addDcFlushToPipeControl(typename GfxFamily::PIPE_CONTROL *pCmd, bool flushDC);
@ -90,6 +89,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
size_t getSshHeapSize();
uint64_t getScratchPatchAddress();
void createScratchSpaceController(const HardwareInfo &hwInfoIn);
static void emitNoop(LinearStream &commandStream, size_t bytesToUpdate);