mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add Clear SLM workaround for BDW
- set ProtectedMemoryDisable in PC prior to setting new L3 config Change-Id: I2ecbfe9535ef45159b48fffa41faad66db55d074
This commit is contained in:

committed by
sys_ocldev

parent
4cb86b4045
commit
a1a224c3bc
@ -653,6 +653,7 @@ inline void CommandStreamReceiverHw<GfxFamily>::programL3(LinearStream &csr, Dis
|
||||
*pCmd = GfxFamily::cmdInitPipeControl;
|
||||
pCmd->setCommandStreamerStallEnable(true);
|
||||
pCmd->setDcFlushEnable(true);
|
||||
addClearSLMWorkAround(pCmd);
|
||||
|
||||
PreambleHelper<GfxFamily>::programL3(&csr, newL3Config);
|
||||
this->lastSentL3Config = newL3Config;
|
||||
@ -727,4 +728,8 @@ void CommandStreamReceiverHw<GfxFamily>::resetKmdNotifyHelper(KmdNotifyHelper *n
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void CommandStreamReceiverHw<GfxFamily>::addClearSLMWorkAround(typename GfxFamily::PIPE_CONTROL *pCmd) {
|
||||
}
|
||||
|
||||
} // namespace OCLRT
|
||||
|
Reference in New Issue
Block a user