SWDEV-247372 - Reset hasPendingDispatch

Reset hasPendingDispatch_ if we insert barrier for time marker.

Change-Id: Id038fd4e1c910c0a657978fee00630e49c372321
Αυτή η υποβολή περιλαμβάνεται σε:
Saleel Kudchadker authored and Maneesh Gupta committed 2021-08-22 23:56:07 -07:00
1 γονέας b5528c8121
υποβολή d3213eca90
1 file changed
+2
@@ -2930,6 +2930,8 @@ void VirtualGPU::submitMarker(amd::Marker& vcmd) {
if (timestamp_ != nullptr) {
// Submit a barrier with a cache flushes.
dispatchBarrierPacket(kBarrierPacketHeader);
// Reset this flag since we already enable system scope for kBarrierPacketHeader
hasPendingDispatch_ = false;
}
profilingEnd(vcmd);
}