1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-13 06:26:39 +00:00
Ryujinx/Ryujinx.HLE/HOS
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
..
Applets Revert SwKbd Applet ReadStruct and fix IApplet's ReadStruct to catch (#1087) 2020-04-03 17:53:06 +11:00
Diagnostics/Demangler
Font Reduce requirements for running homebrew (#1053) 2020-03-30 08:23:05 +11:00
Ipc
Kernel
Services Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
SystemState Implement GetRegionCode and add the RegionCode to settings (#999) 2020-03-20 09:37:55 +11:00
Homebrew.cs .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00
HomebrewRomFsStream.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
Horizon.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
IdDictionary.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
ProgramLoader.cs Implement update loader and log loaded application info (#1023) 2020-04-12 23:02:37 +02:00
ResultCode.cs
ServiceCtx.cs .NET Core 3.0 is here! (#784) 2019-10-31 19:09:03 +01:00