1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2025-01-26 07:53:47 +00:00
Ryujinx/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
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
Bluetooth
BluetoothManager hle: Fix some inconsistencies in namespace naming in Services (#808) 2019-11-03 18:26:29 +01:00
Caps
Cec
Erpt
Es
Eupld
Fatal
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
Hid HID SharedMem Rework (#1003) 2020-04-03 11:10:02 +11:00
Ins
Lbl
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
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
Nfc HID SharedMem Rework (#1003) 2020-04-03 11:10:02 +11:00
Ngct
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
Npns
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
Ovln
Pcie
Pctl
Pcv
Pm
Prepo prepo: Add a MessagePack object formatter (#1034) 2020-03-26 08:33:18 +11:00
Psc
Ptm
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
Sockets Fix an endge case in bsd IClient::Poll implementation (#848) 2019-12-23 06:33:59 +11:00
Spl
Srepo
Ssl
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
Vi Initial work 2020-01-09 02:13:00 +01:00
Wlan
CommandAttributes.cs
DummyService.cs
IIpcService.cs
IpcService.cs Render Profiler in GUI (#854) 2020-02-06 11:25:47 +00:00
ServiceAttributes.cs
ServiceConfiguration.cs