Handle CommandExecutor submission at end of ChannelGpfifo PB

Any work that was done in a `ChannelGpfifo` pushbuffer needs to be submitted at the end of it, if it isn't done then the work might incorrectly be not done till the next submission. This commit fixes it by calling `CommandExecutor::Submit` at the end of a pushbuffer, submitting any buffers that would've been left over.

Co-authored-by: Billy Laws <blaws05@gmail.com>
This commit is contained in:
PixelyIon 2022-07-07 01:17:26 +05:30
parent 7b209c54a2
commit e65707cd9d
No known key found for this signature in database
GPG Key ID: 11BC6C3201BC2C05

View File

@ -337,6 +337,7 @@ namespace skyline::soc::gm20b {
} }
channelCtx.maxwell3D->FlushEngineState(); channelCtx.maxwell3D->FlushEngineState();
channelCtx.executor.Submit();
} }
void ChannelGpfifo::Run() { void ChannelGpfifo::Run() {