rjx-mirror/Ryujinx.HLE/HOS/Services
Thog 644de99e86
Implement GPU syncpoints (#980)
* Implement GPU syncpoints

This adds support for GPU syncpoints on the GPU backend & nvservices.

Everything that was implemented here is based on my researches,
hardware testing of the GM20B and reversing of nvservices (8.1.0).

Thanks to @fincs for the informations about some behaviours of the pusher
and for the initial informations about syncpoints.

* syncpoint: address gdkchan's comments

* Add some missing logic to handle SubmitGpfifo correctly

* Handle the NV event API correctly

* evnt => hostEvent

* Finish addressing gdkchan's comments

* nvservices: write the output buffer even when an error is returned

* dma pusher: Implemnet prefetch barrier

lso fix when the commands should be prefetch.

* Partially fix prefetch barrier

* Add a missing syncpoint check in QueryEvent of NvHostSyncPt

* Address Ac_K's comments and fix GetSyncpoint for ChannelResourcePolicy == Channel

* fix SyncptWait & SyncptWaitEx cmds logic

* Address ripinperi's comments

* Address gdkchan's comments

* Move user event management to the control channel

* Fix mm implementation, nvdec works again

* Address ripinperi's comments

* Address gdkchan's comments

* Implement nvhost-ctrl close accurately + make nvservices dispose channels when stopping the emulator

* Fix typo in MultiMediaOperationType
2020-04-19 11:25:57 +10:00
..
Account stub GetNintendoAccountUserResourceCacheForApplication (#962) 2020-03-03 01:07:27 +11:00
Am Print the result name in SetTerminateResult if possible (#1105) 2020-04-12 22:13:23 +10:00
Apm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Arp Call EnsureApplicationSaveData when launching a game (#871) 2020-01-12 12:15:17 +01:00
Audio audren: Accept REV8 (#993) 2020-03-18 09:43:47 +11:00
Bcat Implement IDeliveryCacheProgressService in bcat (#908) 2020-02-06 05:09:59 +01:00
Bgtc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Bluetooth Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
BluetoothManager hle: Fix some inconsistencies in namespace naming in Services (#808) 2019-11-03 18:26:29 +01:00
Caps Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Cec Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Erpt Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Es Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Eupld Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Fatal Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Friend friends: Stub GetBlockedUserListIds (#1017) 2020-03-23 22:19:45 +01:00
Fs Add IMultiCommitManager (#1011) 2020-03-25 19:14:35 +11:00
Grc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Hid HID SharedMem Rework (#1003) 2020-04-03 11:10:02 +11:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ldn prepo: Implement calls of IPrepoService (#830) 2019-11-25 10:45:54 +11:00
Lm Fix ILogger type and size decoding (#842) 2019-12-08 14:35:25 +01:00
Loader Improve IRoInterface logic (#809) 2019-11-08 15:49:48 +01:00
Mig Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Mii Add IMultiCommitManager (#1011) 2020-03-25 19:14:35 +11:00
Mm Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
Ncm Update to LibHac 0.6.0 (#792) 2019-10-17 08:17:44 +02:00
News Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nfc HID SharedMem Rework (#1003) 2020-04-03 11:10:02 +11:00
Ngct Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Nifm Implement GetCurrentIpConfigInfo (#943) 2020-02-17 16:28:41 +01:00
Nim hle: Fix some inconsistencies in namespace naming in Services (#808) 2019-11-03 18:26:29 +01:00
Notification Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Npns Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ns Rename "RyuFs" directory to "Ryujinx" and use the same savedata system the Switch uses (#801) 2020-01-05 12:49:44 +01:00
Nv Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
Olsc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ovln Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcie Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pctl Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pcv Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Pm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Prepo prepo: Add a MessagePack object formatter (#1034) 2020-03-26 08:33:18 +11:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ro Use libhac for loading NSO and KIP (#1047) 2020-04-07 19:41:02 -03:00
Sdb Implement mii:u and mii:e entirely (#955) 2020-03-02 09:56:01 +11:00
Settings Add IMultiCommitManager (#1011) 2020-03-25 19:14:35 +11:00
Sm Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Sockets Fix an endge case in bsd IClient::Poll implementation (#848) 2019-12-23 06:33:59 +11:00
Spl Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Srepo Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ssl Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
SurfaceFlinger Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
Time System Time Offset Implementation (#1101) 2020-04-17 09:18:54 +10:00
Usb Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Vi Initial work 2020-01-09 02:13:00 +01:00
Wlan Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
CommandAttributes.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
DummyService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IIpcService.cs Refactoring commands handling (#728) 2019-07-11 22:13:43 -03:00
IpcService.cs Render Profiler in GUI (#854) 2020-02-06 11:25:47 +00:00
ServiceAttributes.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00
ServiceConfiguration.cs IPC services refactoring (#726) 2019-07-10 12:59:54 -03:00