mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
refactor: Passing information about the engine
Extension of the interface with information about the engine type passed to the function Related-To: NEO-10678 Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
31b2dcfe57
commit
ae139aeffd
@@ -41,7 +41,7 @@ void PreemptionHelper::programCmdStream<GfxFamily>(LinearStream &cmdStream, Pree
|
||||
regVal = PreemptionConfig<GfxFamily>::cmdLevelVal;
|
||||
}
|
||||
|
||||
LriHelper<GfxFamily>::program(&cmdStream, PreemptionConfig<GfxFamily>::mmioAddress, regVal, false);
|
||||
LriHelper<GfxFamily>::program(&cmdStream, PreemptionConfig<GfxFamily>::mmioAddress, regVal, false, false);
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -94,6 +94,7 @@ void PreemptionHelper::applyPreemptionWaCmdsBegin<GfxFamily>(LinearStream *pComm
|
||||
LriHelper<GfxFamily>::program(pCommandStream,
|
||||
RegisterOffsets::csGprR0,
|
||||
RegisterConstants::gpgpuWalkerCookieValueBeforeWalker,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
}
|
||||
@@ -109,6 +110,7 @@ void PreemptionHelper::applyPreemptionWaCmdsEnd<GfxFamily>(LinearStream *pComman
|
||||
LriHelper<GfxFamily>::program(pCommandStream,
|
||||
RegisterOffsets::csGprR0,
|
||||
RegisterConstants::gpgpuWalkerCookieValueAfterWalker,
|
||||
false,
|
||||
false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user