ryujinx/Ryujinx.Graphics.Gpu/Engine
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
..
Compute.cs Support compute uniform buffers emulated with global memory (#924) 2020-02-11 01:10:05 +01:00
ComputeQmd.cs Use correct shader local memory size instead of a hardcoded size (#914) 2020-02-02 14:25:52 +11:00
Inline2Memory.cs Add XML documentation to Ryujinx.Graphics.Gpu.Engine 2020-01-09 02:13:00 +01:00
MethodClear.cs Implement GPU scissors (#1058) 2020-03-29 14:02:58 +11:00
MethodCopyBuffer.cs Add a GetSpan method to the memory manager and use it on GPU (#877) 2020-01-13 10:27:50 +11:00
MethodCopyTexture.cs Only enumerate cached textures that are modified when flushing. (#918) 2020-02-07 08:49:26 +11:00
MethodDraw.cs Fix some spelling mistakes 2020-01-09 02:13:00 +01:00
MethodFifo.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
MethodFirmware.cs Ignore exit flag on branch delay slot (#899) 2020-01-22 02:11:43 +01:00
MethodIncrementSyncpoint.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
MethodReport.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
MethodResetCounter.cs Fix some spelling mistakes 2020-01-09 02:13:00 +01:00
Methods.cs Implement GPU syncpoints (#980) 2020-04-19 11:25:57 +10:00
MethodUniformBufferBind.cs Add XML documentation to Ryujinx.Graphics.Gpu.Engine 2020-01-09 02:13:00 +01:00
MethodUniformBufferUpdate.cs Add XML documentation to Ryujinx.Graphics.Gpu.Engine 2020-01-09 02:13:00 +01:00