mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Refactor around cache flush after walker
Change-Id: If5c7399df91bd076b684bcab83f50b4852e53429
This commit is contained in:
committed by
sys_ocldev
parent
b36bcf62e7
commit
048098ce66
@@ -561,9 +561,9 @@ inline void CommandStreamReceiverHw<GfxFamily>::flushBatchedSubmissions() {
|
||||
surfacesForSubmit.push_back(surface);
|
||||
}
|
||||
|
||||
//make sure we flush DC
|
||||
//make sure we flush DC if needed
|
||||
if (epiloguePipeControlLocation) {
|
||||
((PIPE_CONTROL *)epiloguePipeControlLocation)->setDcFlushEnable(true);
|
||||
((PIPE_CONTROL *)epiloguePipeControlLocation)->setDcFlushEnable(false == HwHelper::cacheFlushAfterWalkerSupported(this->hwInfo));
|
||||
}
|
||||
auto flushStamp = this->flush(primaryCmdBuffer->batchBuffer, surfacesForSubmit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user