Liam
beb438bb0b
nvdrv: use static typing for SessionId, smmu Asid types
2 years ago
Fernando Sahmkow
7a9d1ad2f8
NVDRV: Implement sessions and initial implementation of SMMU
2 years ago
Kelebek1
5da70f7197
Remove memory allocations in some hot paths
3 years ago
Liam
809148e1a5
nvnflinger: fix name
3 years ago
Liam
65be230fdd
service: move hle_ipc from kernel
3 years ago
Liam
a936972614
service: refactor server architecture
Converts services to have their own processes
3 years ago
ameerj
2d2522693e
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 25fc5c0e11 , reversing
changes made to af20e25081 .
3 years ago
liamwhite
b01698775b
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
ameerj
f517f82416
nvdrv: Use std::span for inputs
Allows the use of HLERequestContext::ReadBufferSpan
3 years ago
Lioncash
ad787b20ca
nvdrv: Simplify builder declarations
We can just use auto here. If one of these ever happens to not be
derived from nvdevice, then this will cause a compilation error.
We can also move the devices into the collection to get rid of an
unnecessary atomic reference count increment and decrement.
3 years ago
Liam
05f2673648
nvdrv: fix container destruction order
3 years ago
Liam
a9ace6856d
kernel: remove KWritableEvent
3 years ago
Fernando Sahmkow
ca3db0d7c9
General: address feedback
4 years ago
Morph
fedd983f96
general: Format licenses as per SPDX guidelines
4 years ago
Fernando Sahmkow
8d774e7415
NvDec: Fix regressions.
4 years ago
Fernando Sahmkow
920429fde7
NVDRV: Further refactors and eliminate old code.
4 years ago
Fernando Sahmkow
2931101e6f
NVDRV: Refactor Host1x
4 years ago
Fernando Sahmkow
139ea93512
VideoCore: implement channels on gpu caches.
4 years ago
Fernando Sahmkow
ad038609c8
NVDRV: Fix clearing when destroying.
4 years ago
Fernando Sahmkow
af35dbcf63
NVDRV: Fix Open/Close and make sure each device is correctly created.
4 years ago
Fernando Sahmkow
de0e8eff42
NVDRV: Implement new NvMap
4 years ago
Fernando Sahmkow
3cbe352c18
NVDRV: Refactor and add new NvMap.
4 years ago
Fernando Sahmkow
a21b8824fb
NVDRV: Cleanup.
4 years ago
Fernando Sahmkow
d30b885d71
NVDRV: Implement QueryEvent.
4 years ago
Fernando Sahmkow
39a5ce4e69
NvHost: Remake Ctrl Implementation.
4 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
ameerj
7c4b6aab2e
core: Remove unused includes
4 years ago
bunnei
185b19fd5b
hle: service: nvdrv: Remove unused kernel reference.
5 years ago
bunnei
015058fadf
hle: service: Add a helper module for managing kernel objects.
5 years ago
Morph
c6d7da88c7
service: Append service name prefix to common filenames
5 years ago
bunnei
2e8d6fe9a0
hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.
5 years ago
bunnei
89edbe8aa2
hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.
5 years ago
bunnei
ab704acab8
hle: kernel: Ensure all kernel objects with KAutoObject are properly created.
5 years ago
bunnei
addc0bf037
hle: kernel: Migrate KEvent to KAutoObject.
5 years ago
bunnei
5e5933256b
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
5 years ago
Chloe Marcec
99fdfa1fcd
nvdrv: Pass device fd and handle device create methods for device opening and closing
We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
5 years ago
bunnei
ff3c7c068b
hle: kernel: Reimplement KReadableEvent and KWritableEvent.
5 years ago
bunnei
3f942c01f0
hle: kernel: Rename WritableEvent to KWritableEvent.
5 years ago
bunnei
e86a7e3691
hle: kernel: Rename ReadableEvent to KReadableEvent.
5 years ago
ameerj
2c27127d04
nvdec syncpt incorporation
laying the groundwork for async gpu, although this does not fully implement async nvdec operations
5 years ago
bunnei
0c81b83ca9
hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread.
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
5 years ago
Lioncash
1a954b2a59
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
Chloe Marcec
ab25d1fe9a
nvservices: Reintroducee IoctlCtrl
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
5 years ago
Chloe Marcec
fc4d692c50
Addressed issues
5 years ago
Chloe Marcec
31c12de0fe
core: Make nvservices more standardized
5 years ago
Lioncash
da7be67daf
ipc_helpers: Remove usage of the global system instance
Resolves numerous deprecation warnings throughout the codebase due to
inclusion of this header. Now building core should be significantly less
noisy (and also relying on less global state).
This also uncovered quite a few modules that were relying on indirect
includes, which have also been fixed.
5 years ago
bunnei
e67b8678f8
hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements.
- Refactor so that SubmitGPFIFO and KickoffPB use shared functionality.
- Implement add_wait and add_increment flags.
5 years ago
bunnei
66edfd61c6
hle service: nvdrv: nvhost_ctrl: Update to use SyncpointManager.
5 years ago
bunnei
4a3fd97e48
hle service: nvdrv: Update to instantiate SyncpointManager.
5 years ago
bunnei
d567b7e841
hle: service: nvdrv: Implement SyncpointManager, to manage syncpoints.
5 years ago