NVHost_Ctrl: Force wait if the gpu falls behind too long.

This commit is contained in:
FernandoS27
2021-10-05 22:57:18 +02:00
committed by Fernando Sahmkow
parent dc385b7392
commit 7dca0bc11d
2 changed files with 13 additions and 0 deletions

View File

@ -49,6 +49,8 @@ struct EventInterface {
std::array<EventState, MaxNvEvents> status{};
// Tells if an NVEvent is registered or not
std::array<bool, MaxNvEvents> registered{};
// Tells the NVEvent that it has failed.
std::array<bool, MaxNvEvents> failed{};
// When an NVEvent is waiting on GPU interrupt, this is the sync_point
// associated with it.
std::array<u32, MaxNvEvents> assigned_syncpt{};