mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 15:05:29 +03:00
Only unlock GPU channel state on queue wait if it was previously locked
This commit is contained in:
parent
a5e0a64adc
commit
d849875656
@ -359,9 +359,11 @@ namespace skyline::soc::gm20b {
|
|||||||
}, [this, &channelLocked]() {
|
}, [this, &channelLocked]() {
|
||||||
// If we run out of GpEntries to process ensure we submit any remaining GPU work before waiting for more to arrive
|
// If we run out of GpEntries to process ensure we submit any remaining GPU work before waiting for more to arrive
|
||||||
Logger::Debug("Finished processing pushbuffer batch");
|
Logger::Debug("Finished processing pushbuffer batch");
|
||||||
|
if (channelLocked) {
|
||||||
channelCtx.executor.Submit();
|
channelCtx.executor.Submit();
|
||||||
channelCtx.Unlock();
|
channelCtx.Unlock();
|
||||||
channelLocked = false;
|
channelLocked = false;
|
||||||
|
}|
|
||||||
});
|
});
|
||||||
} catch (const signal::SignalException &e) {
|
} catch (const signal::SignalException &e) {
|
||||||
if (e.signal != SIGINT) {
|
if (e.signal != SIGINT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user