aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvdrv
AgeCommit message (Collapse)Author
2022-06-14kernel: implement KProcess suspensionLiam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2022-04-06Merge pull request #8122 from bunnei/improve-thread-usagebunnei
Improve usage of service host threads
2022-04-02fix: typosAndrea Pappacoda
2022-04-02hle: service: nvdrv: Create a service thread where appropriate.Morph
2022-03-29nvhost_ctrl: Only mark EventState::Busy as BadParameterameerj
Fixes an svc break in Kirby and the Forgotten Land with async GPU enabled.
2022-03-24hle: nvdrv: nvdata: Cleanup NvFence static assert.bunnei
2022-03-24hle: nvflinger: Move BufferTransformFlags to its own header.bunnei
2022-03-24hle: nvdrv: Rename Fence to NvFence to avoid naming conflicts.bunnei
2022-03-24hle: nvflinger: Move PixelFormat to its own header.bunnei
2022-03-19common: Reduce unused includesameerj
2021-12-07Merge pull request #7488 from vonchenplus/support_multiple_videos_playingbunnei
Support multiple videos playing
2021-12-05general: Add missing copyright noticesameerj
2021-12-05Address feedbackFeng Chen
2021-12-02Support multiple videos playingFeng Chen
2021-11-03core: Remove unused includesameerj
2021-10-24Fixup channel submit IOCTL syncpoint parametersBilly Laws
The current arguments worked by happenstance as games only ever submit one syncpoint and request one fence back, if a game were to do something other than this then the arguments would've been parsed entirely wrong.
2021-10-16NvHost/Core: Address Feedback.Fernando Sahmkow
2021-10-16Suspend temporallyFernandoS27
2021-10-16NVHost_Ctrl: Force wait if the gpu falls behind too long.FernandoS27
2021-10-03nvhost_ctrl: Refactor usage of gpu.LockSync()ameerj
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
2021-10-03gpu: Migrate implementation to the cpp fileameerj
2021-09-29style: Remove extra space preceding the :: operatorMorph
2021-09-06nvflinger: Use external surface format for framebuffer creationameerj
The format member the IGBPBuffer may not always specify the correct desired format. Using the external format member ensures a valid format is provided when creating the framebuffer. Fixes homebrew using the wrong framebuffer format.
2021-08-06nvhost_nvdec_common: Remove BufferMapameerj
This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
2021-08-06nvhost_nvdec_common: Stub UnmapBuffer Ioctlameerj
Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
2021-07-26Merge pull request #6696 from ameerj/speed-limit-renamebunnei
general: Rename "Frame Limit" references to "Speed Limit"
2021-07-23general: Rename "Frame Limit" references to "Speed Limit"ameerj
This setting is best referred to as a speed limit, as it involves the limits of all timing based aspects of the emulator, not only framerate. This allows us to differentiate it from the fps unlocker setting.
2021-07-20hle: service: nvdrv: Remove unused kernel reference.bunnei
2021-07-20hle: service: Add a helper module for managing kernel objects.bunnei
2021-07-15Merge pull request #6525 from ameerj/nvdec-fixesFernando S
nvdec: Fix Submit Ioctl data source, vic frame dimension computations
2021-07-14nvhost_nvdec_common: Read Submit ioctl data from object addrameerj
Fixes Mario Golf intro video decoding.
2021-07-14nvhost_nvdec_common: Fix {Slice/Write}Vectors returnameerj
Plus some minor cleanup for consistency.
2021-07-14service: Append service name prefix to common filenamesMorph
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-05-18Merge pull request #6317 from ameerj/fps-fixbunnei
perf_stats: Rework FPS counter to be more accurate
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-05-15perf_stats: Rework FPS counter to be more accurateameerj
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case. This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics. The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values. The status bar update frequency was also changed from 2 seconds to 500ms.
2021-05-05hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps.bunnei
2021-05-05hle: kernel: Ensure all kernel objects with KAutoObject are properly created.bunnei
2021-05-05hle: kernel: Migrate KEvent to KAutoObject.bunnei
2021-05-05hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei
2021-05-05Merge pull request #6279 from ogniK5377/nvhost-profbunnei
nvdrv: /dev/nvhost-prof-gpu for production
2021-05-05Update src/core/hle/service/nvdrv/interface.cppbunnei
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-05-04service: Resolve cases of member field shadowingLioncash
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-05-03nvdrv: /dev/nvhost-prof-gpu for productionChloe Marcec
While we're at it, we can fix the is_initialized error code. This fixes the crashes on Shante
2021-04-24nvhost_vic: Fix device closureameerj
Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation. Also cleans up some of the surrounding code.
2021-04-16Merge pull request #6125 from ogniK5377/nvdec-close-devbunnei
nvdrv: Cleanup CDMA Processor on device closure