Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-11-04 | core: hle: kernel: k_memory_manager: Refresh. | bunnei | 1 | -2/+4 | |
2022-10-27 | nvnflinger: release queued handles immediately on disconnection | Liam | 3 | -6/+10 | |
2022-10-24 | nvdrv: fix container destruction order | Liam | 2 | -4/+4 | |
2022-10-19 | core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup. | bunnei | 1 | -1/+2 | |
2022-10-17 | video_core: Implement memory manager page kind | FengChen | 1 | -4/+8 | |
2022-10-13 | kernel: remove KWritableEvent | Liam | 3 | -8/+2 | |
2022-10-06 | General: address feedback | Fernando Sahmkow | 18 | -128/+131 | |
2022-10-06 | general: rework usages of UNREACHABLE macro | Liam | 2 | -12/+12 | |
2022-10-06 | nvdisp: End system frame after requesting to swap buffers | Morph | 1 | -1/+1 | |
Fixes frametime reporting | |||||
2022-10-06 | address_space: Address feedback | Morph | 1 | -4/+4 | |
2022-10-06 | general: Format licenses as per SPDX guidelines | Morph | 14 | -56/+42 | |
2022-10-06 | NvHostChannels: improve hack for supporting multiple channels. | Fernando Sahmkow | 2 | -2/+11 | |
2022-10-06 | Address Feedback from bylaws. | Fernando Sahmkow | 2 | -6/+2 | |
2022-10-06 | Nvflinger: correct duplication. | Fernando Sahmkow | 2 | -3/+3 | |
2022-10-06 | Core: Fix get nvmap object random crash | VonChenPlus | 5 | -20/+20 | |
2022-10-06 | NvDec: Fix regressions. | Fernando Sahmkow | 6 | -5/+31 | |
2022-10-06 | General: Fix compilation for GCC | Liam White | 8 | -23/+38 | |
2022-10-06 | NVDRV: Further improvements. | Fernando Sahmkow | 13 | -127/+256 | |
2022-10-06 | VideoCore: Refactor fencing system. | Fernando Sahmkow | 2 | -3/+5 | |
2022-10-06 | MemoryManager: initial multi paging system implementation. | Fernando Sahmkow | 3 | -20/+36 | |
2022-10-06 | NVDRV: Further refactors and eliminate old code. | Fernando Sahmkow | 7 | -61/+8 | |
2022-10-06 | NVDRV: Refactor Host1x | Fernando Sahmkow | 8 | -64/+62 | |
2022-10-06 | VideoCore: Refactor syncing. | Fernando Sahmkow | 4 | -10/+25 | |
2022-10-06 | Texture cache: Fix the remaining issues with memory mnagement and unmapping. | Fernando Sahmkow | 1 | -0/+3 | |
2022-10-06 | VideoCore: Extra Fixes. | Fernando Sahmkow | 1 | -1/+3 | |
2022-10-06 | NVDRV: Remake ASGPU | Fernando Sahmkow | 2 | -235/+388 | |
2022-10-06 | NVDRV: Update copyright notices. | Fernando Sahmkow | 4 | -7/+13 | |
2022-10-06 | NvHostCtrl: Fix merge of nvflinger. | Fernando Sahmkow | 1 | -1/+2 | |
2022-10-06 | NVHOST_CTRl: Implement missing method and fix some stuffs. | Fernando Sahmkow | 2 | -6/+29 | |
2022-10-06 | VideoCore: implement channels on gpu caches. | Fernando Sahmkow | 6 | -30/+65 | |
2022-10-06 | NVASGPU: Fix Remap. | Fernando Sahmkow | 1 | -0/+8 | |
2022-10-06 | NVDRV: Fix clearing when destroying. | Fernando Sahmkow | 3 | -14/+9 | |
2022-10-06 | NVMAP: Fix the Free return parameters. | Fernando Sahmkow | 3 | -15/+18 | |
2022-10-06 | NVDRV: Fix Open/Close and make sure each device is correctly created. | Fernando Sahmkow | 12 | -198/+284 | |
2022-10-06 | NVDRV: Implement new NvMap | Fernando Sahmkow | 18 | -277/+307 | |
2022-10-06 | NVDRV: Refactor and add new NvMap. | Fernando Sahmkow | 18 | -38/+544 | |
2022-10-06 | NVDRV: Cleanup. | Fernando Sahmkow | 4 | -32/+40 | |
2022-10-06 | NVDRV: Implement QueryEvent. | Fernando Sahmkow | 10 | -40/+133 | |
2022-10-06 | NvHost: Remake Ctrl Implementation. | Fernando Sahmkow | 6 | -169/+311 | |
2022-10-06 | NvHost: Try a different approach to blocking. | Fernando Sahmkow | 2 | -10/+7 | |
2022-10-06 | NvHost: Fix some regressions and correct signaling on timeout. | Fernando Sahmkow | 1 | -25/+19 | |
2022-09-04 | Don't stall with nvdec | Kelebek1 | 1 | -1/+6 | |
2022-09-01 | Demote services from warning/info to debug to reduce log spam: | Kelebek1 | 1 | -2/+2 | |
GetCurrentFocusState SetClockSpeed EnableSixAxisSensorUnalteredPassthrough IsSixAxisSensorUnalteredPassthroughEnabled Get, GetOld SetAndWait, SetAndWaitOld IocParam IocFree | |||||
2022-06-14 | kernel: implement KProcess suspension | Liam | 1 | -2/+2 | |
2022-06-14 | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 1 | -1/+1 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 30 | -90/+60 | |
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-02 | fix: typos | Andrea Pappacoda | 1 | -6/+6 | |
2022-04-02 | hle: service: nvdrv: Create a service thread where appropriate. | Morph | 1 | -1/+1 | |
2022-03-29 | nvhost_ctrl: Only mark EventState::Busy as BadParameter | ameerj | 1 | -1/+1 | |
Fixes an svc break in Kirby and the Forgotten Land with async GPU enabled. | |||||
2022-03-25 | hle: nvdrv: nvdata: Cleanup NvFence static assert. | bunnei | 1 | -1/+1 | |
2022-03-25 | hle: nvflinger: Move BufferTransformFlags to its own header. | bunnei | 1 | -1/+1 | |
2022-03-25 | hle: nvdrv: Rename Fence to NvFence to avoid naming conflicts. | bunnei | 4 | -17/+13 | |
2022-03-25 | hle: nvflinger: Move PixelFormat to its own header. | bunnei | 2 | -8/+7 | |
2022-03-19 | common: Reduce unused includes | ameerj | 2 | -0/+3 | |
2021-12-05 | general: Add missing copyright notices | ameerj | 1 | -0/+4 | |
2021-12-04 | Address feedback | Feng Chen | 4 | -13/+22 | |
2021-12-02 | Support multiple videos playing | Feng Chen | 4 | -9/+21 | |
2021-11-04 | core: Remove unused includes | ameerj | 10 | -15/+0 | |
2021-10-24 | Fixup channel submit IOCTL syncpoint parameters | Billy Laws | 2 | -21/+9 | |
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-16 | NvHost/Core: Address Feedback. | Fernando Sahmkow | 1 | -3/+5 | |
2021-10-16 | Suspend temporally | FernandoS27 | 1 | -1/+2 | |
2021-10-16 | NVHost_Ctrl: Force wait if the gpu falls behind too long. | FernandoS27 | 2 | -0/+13 | |
2021-10-03 | nvhost_ctrl: Refactor usage of gpu.LockSync() | ameerj | 1 | -15/+15 | |
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-03 | gpu: Migrate implementation to the cpp file | ameerj | 2 | -5/+13 | |
2021-09-29 | style: Remove extra space preceding the :: operator | Morph | 1 | -1/+1 | |
2021-09-07 | nvflinger: Use external surface format for framebuffer creation | ameerj | 1 | -5/+4 | |
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-07 | nvhost_nvdec_common: Remove BufferMap | ameerj | 2 | -76/+0 | |
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-07 | nvhost_nvdec_common: Stub UnmapBuffer Ioctl | ameerj | 1 | -23/+4 | |
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-24 | general: Rename "Frame Limit" references to "Speed Limit" | ameerj | 1 | -1/+1 | |
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-21 | hle: service: nvdrv: Remove unused kernel reference. | bunnei | 1 | -1/+0 | |
2021-07-21 | hle: service: Add a helper module for managing kernel objects. | bunnei | 2 | -5/+8 | |
2021-07-15 | nvhost_nvdec_common: Read Submit ioctl data from object addr | ameerj | 1 | -8/+2 | |
Fixes Mario Golf intro video decoding. | |||||
2021-07-15 | nvhost_nvdec_common: Fix {Slice/Write}Vectors return | ameerj | 1 | -37/+38 | |
Plus some minor cleanup for consistency. | |||||
2021-07-14 | service: Append service name prefix to common filenames | Morph | 3 | -2/+2 | |
2021-06-02 | general: Replace RESULT_SUCCESS with ResultSuccess | Morph | 1 | -13/+13 | |
Transition to PascalCase for result names. | |||||
2021-05-16 | core: Make variable shadowing a compile-time error | Lioncash | 5 | -15/+15 | |
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-16 | perf_stats: Rework FPS counter to be more accurate | ameerj | 1 | -1/+0 | |
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-06 | hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject. | bunnei | 4 | -12/+12 | |
2021-05-06 | hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps. | bunnei | 2 | -3/+2 | |
2021-05-06 | hle: kernel: Ensure all kernel objects with KAutoObject are properly created. | bunnei | 1 | -0/+1 | |
2021-05-06 | hle: kernel: Migrate KEvent to KAutoObject. | bunnei | 3 | -6/+10 | |
2021-05-06 | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 2 | -2/+2 | |
2021-05-06 | Update src/core/hle/service/nvdrv/interface.cpp | bunnei | 1 | -1/+1 | |
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> | |||||
2021-05-04 | service: Resolve cases of member field shadowing | Lioncash | 20 | -39/+40 | |
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error. | |||||
2021-05-03 | nvdrv: /dev/nvhost-prof-gpu for production | Chloe Marcec | 1 | -3/+14 | |
While we're at it, we can fix the is_initialized error code. This fixes the crashes on Shante | |||||
2021-04-25 | nvhost_vic: Fix device closure | ameerj | 2 | -10/+8 | |
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-05 | nvhost_nvdec_common: Avoid memcpy with null pointers | lat9nq | 1 | -6/+11 | |
Avoid sending null pointer to memcpy as reported by Undefined Behavious Sanitizer. Co-authored-by: LC <mathew1800@gmail.com> | |||||
2021-04-05 | nvhost_ctrl_gpu: Avoid sending null pointer to memcpy | lat9nq | 1 | -1/+7 | |
Undefined Behaviour Sanitizer reports a null pointer is being sent to memcpy, thought it's "guaranteed to never be null". Guard it with an if statement, and log when the action has been averted. | |||||
2021-03-30 | nvdrv: Cleanup CDMA Processor on device closure | Chloe Marcec | 1 | -6/+4 | |
Brings us a step closer to unifying all channels to share a common interface. | |||||
2021-03-25 | nvdrv: Pass device fd and handle device create methods for device opening and closing | Chloe Marcec | 20 | -78/+161 | |
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 | |||||
2021-03-22 | nvdrv: Change InitializeEx to AllocAsEx | Chloe Marcec | 2 | -27/+49 | |
Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx | |||||
2021-02-13 | Address PR feedback | ameerj | 2 | -4/+2 | |
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com> | |||||
2021-02-13 | nvdec cleanup | ameerj | 1 | -1/+7 | |
2021-02-05 | hle: kernel: Reimplement KReadableEvent and KWritableEvent. | bunnei | 3 | -10/+16 | |
2021-02-05 | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 5 | -8/+8 | |
2021-02-05 | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 4 | -5/+5 | |
2021-01-29 | core: hle: kernel: Rename Thread to KThread. | bunnei | 1 | -1/+1 | |
2021-01-23 | Simplify condition | Chloe Marcec | 1 | -2/+1 | |
2021-01-23 | nvdrv: Unregister already registered events | Chloe Marcec | 1 | -1/+8 | |
2021-01-07 | fix for nvdec disabled, cleanup host1x | ameerj | 1 | -11/+14 | |
2021-01-07 | nvdec syncpt incorporation | ameerj | 7 | -20/+43 | |
laying the groundwork for async gpu, although this does not fully implement async nvdec operations | |||||
2020-12-29 | hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread. | bunnei | 23 | -211/+83 | |
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues. | |||||
2020-12-07 | nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass | comex | 1 | -33/+0 | |
2020-11-27 | service: Eliminate usages of the global system instance | Lioncash | 6 | -12/+16 | |
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services. | |||||
2020-11-24 | nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID | comex | 1 | -2/+2 | |
- Use .at() instead of raw indexing when dealing with untrusted indices. - For the special case of WaitFence with syncpoint id UINT32_MAX, instead of crashing, log an error and ignore. This is what I get when running Super Mario Maker 2. | |||||
2020-11-24 | nvservices: Reintroducee IoctlCtrl | Chloe Marcec | 24 | -91/+214 | |
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot. | |||||
2020-11-10 | Addressed issues | Chloe Marcec | 10 | -17/+86 | |
2020-11-10 | core: Make nvservices more standardized | Chloe Marcec | 26 | -903/+1156 | |
2020-11-08 | ipc_helpers: Remove usage of the global system instance | Lioncash | 1 | -0/+1 | |
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. | |||||
2020-11-07 | video_core: dma_pusher: Remove integrity check on command lists. | bunnei | 1 | -1/+0 | |
- This seems to cause softlocks in Breath of the Wild. | |||||
2020-11-01 | fixup! hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements. | bunnei | 2 | -3/+11 | |
2020-11-01 | hle service: nvdrv: nvhost_gpu: Update to use SyncpointManager and other improvements. | bunnei | 3 | -46/+106 | |
- Refactor so that SubmitGPFIFO and KickoffPB use shared functionality. - Implement add_wait and add_increment flags. | |||||
2020-11-01 | hle service: nvdrv: nvhost_ctrl: Update to use SyncpointManager. | bunnei | 3 | -9/+31 | |
2020-11-01 | hle service: nvdrv: Update to instantiate SyncpointManager. | bunnei | 2 | -5/+18 | |
2020-11-01 | hle: service: nvdrv: Implement SyncpointManager, to manage syncpoints. | bunnei | 3 | -1/+125 | |
2020-11-01 | Rename to align with switchbrew and remove gpu function (#4714) | Levi Behunin | 2 | -16/+10 | |
* Rename to align with switchbrew * Rename to align with switchbrew and remove gpu function that checks if clearing should be done. | |||||
2020-10-30 | video_core: unbreak -Werror in NVDEC with Clang | Jan Beich | 1 | -1/+1 | |
src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp:41:15: error: unused variable 'OutOfMemory' [-Werror,-Wunused-const-variable] constexpr u32 OutOfMemory{static_cast<u32>(-12)}; ^ | |||||
2020-10-27 | video_core: NVDEC Implementation | ameerj | 8 | -288/+468 | |
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | |||||
2020-10-21 | Revert "core: Fix clang build" | bunnei | 4 | -42/+34 | |
2020-10-18 | core: Fix clang build | Lioncash | 4 | -34/+42 | |
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | |||||
2020-10-13 | hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace. | bunnei | 2 | -0/+25 | |
- This is used by Super Mario 3D All-Stars. | |||||
2020-09-22 | General: Make use of std::nullopt where applicable | Lioncash | 2 | -3/+3 | |
Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals. | |||||
2020-08-14 | core: Resolve several -Wextra-semi warnings | Lioncash | 1 | -1/+2 | |
We can amend one of the cascade macros to require semicolons in order to compile. In other cases, we can just remove the superfluous semicolons. | |||||
2020-08-03 | yuzu: Resolve C++20 deprecation warnings related to lambda captures | Lioncash | 1 | -18/+18 | |
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification. | |||||
2020-07-28 | Update src/core/hle/service/nvdrv/devices/nvmap.cpp | bunnei | 1 | -1/+1 | |
Co-authored-by: LC <mathew1800@gmail.com> | |||||
2020-07-26 | hle: nvdrv: Rewrite of GPU memory management. | bunnei | 4 | -93/+227 | |
2020-06-29 | service: Update function tables | VolcaEM | 4 | -13/+14 | |
2020-06-27 | FrameLimiting: Enable frame limiting for single core. | Fernando Sahmkow | 1 | -0/+1 | |
2020-06-27 | NVDRV: Remove frame limiting as Host Timing already takes care. | Fernando Sahmkow | 1 | -1/+0 | |
2020-06-27 | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 1 | -2/+1 | |
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system. | |||||
2020-06-10 | nvdrv: Fix GetTPCMasks for ioctl3 | David Marcec | 2 | -21/+22 | |
Fixes animal crossing svcBreak on launch | |||||
2020-06-05 | service: nvhost_vic: Ignore Submit commands. | bunnei | 2 | -1/+18 | |
2020-06-05 | nvdrv: Stub nvdec/vic ioctls to bypass nvdec movies | Zach Hilman | 4 | -3/+239 | |
2020-05-01 | nvdrv: Fix GetGpuTime stack corruption | David Marcec | 1 | -2/+3 | |
IoctlGetGpuTime should be 16 bytes, not 8. | |||||
2020-02-16 | nvhost_gpu: implement ChannelSetTimeslice | namkazy | 2 | -0/+20 | |
2019-12-25 | NvServices: Correct Ioctl Remap. | Fernando Sahmkow | 2 | -3/+5 | |
This commit corrects a padding value in Ioctl Remap that was actually an offset to the mapping address. | |||||
2019-11-27 | core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory class | Lioncash | 1 | -2/+2 | |
With all of the trivial parts of the memory interface moved over, we can get right into moving over the bits that are used. Note that this does require the use of GetInstance from the global system instance to be used within hle_ipc.cpp and the gdbstub. This is fine for the time being, as they both already rely on the global system instance in other functions. These will be removed in a change directed at both of these respectively. For now, it's sufficient, as it still accomplishes the goal of de-globalizing the memory code. | |||||
2019-11-25 | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 3 | -5/+5 | |
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details. | |||||
2019-11-03 | kernel: events: Remove ResetType::Automatic. | bunnei | 1 | -2/+1 | |
- This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp | |||||
2019-10-05 | Nvdrv: Correct Event setup in Nvdrv | Fernando Sahmkow | 2 | -23/+14 | |
Events are supposed to be cleared on quering. This fixes that issue. | |||||
2019-10-05 | Nvdrv: Do framelimiting only in the CPU Thread | Fernando Sahmkow | 1 | -0/+4 | |
2019-10-05 | Nvdrv: Correct Async regression and avoid signaling empty buffer vsyncs | Fernando Sahmkow | 1 | -2/+2 | |
2019-10-05 | service/nvdrv: Silence -Wswitch | ReinUsesLisp | 4 | -4/+10 | |
2019-09-22 | server side clang format fix2 | David Marcec | 1 | -18/+18 | |
2019-09-22 | Use clang-format provided by build server | David Marcec | 1 | -20/+18 | |
2019-09-21 | Mark KickOffPb & SubmitGPFIFO as trace | David Marcec | 1 | -4/+4 | |
These functions are not stubbed and are called fairly often. Due to the nature of how often they're called, we should keep them marked as LOG_TRACE instead of LOG_DEBUG or LOG_WARNING | |||||
2019-09-20 | disable clang-format temp | David Marcec | 1 | -0/+2 | |
2019-09-19 | Initial implementation of Ioctl2 & Ioctl3 | David Marcec | 24 | -63/+143 | |
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls | |||||
2019-08-21 | gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfig | ReinUsesLisp | 1 | -1/+1 | |
2019-07-05 | NVServices: Correct delayed responses. | Fernando Sahmkow | 1 | -24/+19 | |
2019-07-05 | Nv_Host_Ctrl: Correct difference calculation | Fernando Sahmkow | 1 | -5/+7 | |
2019-07-05 | NVServices: Address Feedback | Fernando Sahmkow | 6 | -18/+35 | |
2019-07-05 | NVServices: Styling, define constructors as explicit and corrections | Fernando Sahmkow | 15 | -30/+26 | |
2019-07-05 | NVFlinger: Correct GCC compile error | Fernando Sahmkow | 4 | -8/+7 | |
2019-07-05 | NVServices: Make NVEvents Automatic according to documentation. | Fernando Sahmkow | 2 | -4/+7 | |
2019-07-05 | NVServices: Correct CtrlEventWaitSync to block the ipc until timeout. | Fernando Sahmkow | 23 | -31/+104 | |
2019-07-05 | GPU: Correct Interrupts to interrupt on syncpt/value instead of event, mirroring hardware | Fernando Sahmkow | 5 | -14/+14 | |
2019-07-05 | nv_services: Fixes to event liberation. | Fernando Sahmkow | 1 | -6/+14 | |
2019-07-05 | nv_services: Deglobalize NvServices | Fernando Sahmkow | 22 | -50/+64 | |
2019-07-05 | nv_host_ctrl: Make Sync GPU variant always return synced result. | Fernando Sahmkow | 1 | -0/+5 | |
2019-07-05 | nvhost_ctrl: Corrections to event handling | Fernando Sahmkow | 2 | -8/+12 | |
2019-07-05 | Gpu: Mark areas as protected. | Fernando Sahmkow | 1 | -0/+6 | |
2019-07-05 | nv_services: Stub CtrlEventSignal | Fernando Sahmkow | 2 | -12/+34 | |
2019-07-05 | Gpu: Implement Hardware Interrupt Manager and manage GPU interrupts | Fernando Sahmkow | 3 | -8/+1 | |
2019-07-05 | nv_services: Implement NvQueryEvent, NvCtrlEventWait, NvEventRegister, NvEventUnregister | Fernando Sahmkow | 7 | -17/+192 | |
2019-07-05 | nv_services: Create GPU channels correctly | Fernando Sahmkow | 2 | -2/+5 | |
2019-07-05 | video_core: Implement GPU side Syncpoints | Fernando Sahmkow | 3 | -7/+33 | |
2019-07-05 | nv_services: Correct buffer queue fencing and GPFifo fencing | Fernando Sahmkow | 4 | -22/+41 | |
2019-06-05 | core/core_timing_util: Amend casing of cyclesTo* functions | Lioncash | 1 | -1/+1 | |
Makes the casing consistent with all of our general function naming conventions. | |||||
2019-06-05 | core/core_timing_util: Use std::chrono types for specifying time units | Lioncash | 1 | -1/+2 | |
Makes the interface more type-safe and consistent in terms of return values. | |||||
2019-05-18 | core/kernel/object: Rename ResetType enum members | Lioncash | 1 | -1/+1 | |
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore. | |||||
2019-04-04 | core: Add missing override specifiers where applicable | Lioncash | 3 | -3/+3 | |
Applies the override specifier where applicable. In the case of destructors that are defaulted in their definition, they can simply be removed. This also removes the unnecessary inclusions being done in audin_u and audrec_u, given their close proximity. | |||||
2019-03-21 | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 1 | -10/+2 | |
2019-03-21 | gpu: Move GPUVAddr definition to common_types. | bunnei | 1 | -2/+2 | |
2019-03-15 | gpu: Use host address for caching instead of guest address. | bunnei | 1 | -1/+2 | |
2019-03-07 | gpu: Move command processing to another thread. | bunnei | 1 | -1/+1 | |
2019-03-07 | gpu: Refactor command and swap buffers interface for asynch. | bunnei | 2 | -13/+3 | |
2019-02-27 | common/math_util: Move contents into the Common namespace | Lioncash | 2 | -2/+2 | |
These types are within the common library, so they should be within the Common namespace. | |||||
2019-02-16 | core_timing: Convert core timing into a class | Lioncash | 1 | -1/+2 | |
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces. | |||||
2019-02-12 | core_timing: Rename CoreTiming namespace to Core::Timing | Lioncash | 1 | -1/+1 | |
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace. | |||||
2019-02-08 | nvdisp_disp0: change drawing message log level from Warning to Trace | Tobias | 1 | -3/+3 | |
This is a leftover from the early yuzu days. We shouldn't log every time when we are drawing by default, so let's change the log level to Trace. | |||||
2019-02-06 | remove all occurance of specifying endianness inside BitField | Weiyi Wang | 1 | -5/+5 | |
This commit it automatically generated by command in zsh: sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.) BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter. | |||||
2018-12-15 | nvhost_gpu: Skip empty GPU command lists. | bunnei | 1 | -0/+4 | |
2018-11-29 | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 2 | -6/+4 | |
2018-11-29 | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 2 | -5/+13 | |
2018-11-28 | dma_pushbuffer: Optimize to avoid loop and copy on Push. | bunnei | 1 | -8/+6 | |
2018-11-27 | gpu: Rewrite GPU command list processing with DmaPusher class. | bunnei | 1 | -3/+10 | |
- More accurate impl., fixes Undertale (among other games). | |||||
2018-11-26 | Improved error messages in AM, HwOpus and NvMap | David Marcec | 1 | -12/+14 | |
2018-11-26 | Changed logging to be "Log before execution", Added more error logging, all services should now log on some level | David Marcec | 8 | -1/+41 | |
2018-11-24 | nvdrv: Implement/stub DumpGraphicsMemoryInfo and GetStatus. | bunnei | 2 | -2/+18 | |
- Used by Undertale. | |||||
2018-11-21 | nvhost_ctrl_gpu: Implement IoctlGetGpuTime. | bunnei | 2 | -0/+19 | |
- Used by Undertale. | |||||
2018-10-12 | Returned an error before processing other remaps | David Marcec | 1 | -6/+2 | |
2018-10-12 | Made the minimum alignment more clear | David Marcec | 1 | -2/+3 | |
2018-10-11 | Added error codes for nvmap | David Marcec | 1 | -12/+59 | |
2018-10-11 | Passing an invalid nmap handle to Remap should throw an error | David Marcec | 1 | -3/+14 | |
Added error for invalid nmap handles | |||||
2018-10-11 | nvhost_as_gpu: Flush CPU VAddr on UnmapBuffer. | bunnei | 1 | -3/+4 | |
2018-10-08 | Unmapping an unmapped buffer should succeed | David Marcec | 1 | -1/+6 | |
Hardware tests show that trying to unmap an unmapped buffer already should always succeed. Hardware test was tested up to 32 iterations of attempting to unmap | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -1/+1 | |
2018-09-11 | hle/service: Default constructors and destructors in the cpp file where applicable | Lioncash | 24 | -22/+56 | |
When a destructor isn't defaulted into a cpp file, it can cause the use of forward declarations to seemingly fail to compile for non-obvious reasons. It also allows inlining of the construction/destruction logic all over the place where a constructor or destructor is invoked, which can lead to code bloat. This isn't so much a worry here, given the services won't be created and destroyed frequently. The cause of the above mentioned non-obvious errors can be demonstrated as follows: ------- Demonstrative example, if you know how the described error happens, skip forwards ------- Assume we have the following in the header, which we'll call "thing.h": \#include <memory> // Forward declaration. For example purposes, assume the definition // of Object is in some header named "object.h" class Object; class Thing { public: // assume no constructors or destructors are specified here, // or the constructors/destructors are defined as: // // Thing() = default; // ~Thing() = default; // // ... Some interface member functions would be defined here private: std::shared_ptr<Object> obj; }; If this header is included in a cpp file, (which we'll call "main.cpp"), this will result in a compilation error, because even though no destructor is specified, the destructor will still need to be generated by the compiler because std::shared_ptr's destructor is *not* trivial (in other words, it does something other than nothing), as std::shared_ptr's destructor needs to do two things: 1. Decrement the shared reference count of the object being pointed to, and if the reference count decrements to zero, 2. Free the Object instance's memory (aka deallocate the memory it's pointing to). And so the compiler generates the code for the destructor doing this inside main.cpp. Now, keep in mind, the Object forward declaration is not a complete type. All it does is tell the compiler "a type named Object exists" and allows us to use the name in certain situations to avoid a header dependency. So the compiler needs to generate destruction code for Object, but the compiler doesn't know *how* to destruct it. A forward declaration doesn't tell the compiler anything about Object's constructor or destructor. So, the compiler will issue an error in this case because it's undefined behavior to try and deallocate (or construct) an incomplete type and std::shared_ptr and std::unique_ptr make sure this isn't the case internally. Now, if we had defaulted the destructor in "thing.cpp", where we also include "object.h", this would never be an issue, as the destructor would only have its code generated in one place, and it would be in a place where the full class definition of Object would be visible to the compiler. ---------------------- End example ---------------------------- Given these service classes are more than certainly going to change in the future, this defaults the constructors and destructors into the relevant cpp files to make the construction and destruction of all of the services consistent and unlikely to run into cases where forward declarations are indirectly causing compilation errors. It also has the plus of avoiding the need to rebuild several services if destruction logic changes, since it would only be necessary to recompile the single cpp file. | |||||
2018-09-10 | video_core: Move command buffer loop. | Markus Wick | 2 | -31/+12 | |
This moves the hot loop into video_core. This refactoring shall reduce the CPU overhead of calling ProcessCommandList. | |||||
2018-08-31 | gl_renderer: Cache textures, framebuffers, and shaders based on CPU address. | bunnei | 1 | -0/+1 | |
2018-08-31 | core: Make the main System class use the PImpl idiom | Lioncash | 1 | -1/+2 | |
core.h is kind of a massive header in terms what it includes within itself. It includes VFS utilities, kernel headers, file_sys header, ARM-related headers, etc. This means that changing anything in the headers included by core.h essentially requires you to rebuild almost all of core. Instead, we can modify the System class to use the PImpl idiom, which allows us to move all of those headers to the cpp file and forward declare the bulk of the types that would otherwise be included, reducing compile times. This change specifically only performs the PImpl portion. | |||||
2018-08-29 | kernel: Eliminate kernel global state | Lioncash | 1 | -1/+3 | |
As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header. | |||||
2018-08-28 | gpu: Make memory_manager private | Lioncash | 1 | -6/+6 | |
Makes the class interface consistent and provides accessors for obtaining a reference to the memory manager instance. Given we also return references, this makes our more flimsy uses of const apparent, given const doesn't propagate through pointers in the way one would typically expect. This makes our mutable state more apparent in some places. | |||||
2018-08-13 | Registered missing channel devices | David Marcec | 1 | -0/+4 | |
2018-08-13 | Added missing channel devices | David Marcec | 4 | -0/+140 | |
2018-08-08 | nvhost_gpu: Don't over copy IoctlSubmitGpfifo. | bunnei | 1 | -1/+1 | |
2018-08-08 | nvdrv: Get rid of global std::weak_ptr | Lioncash | 2 | -7/+8 | |
Rather than use global state, we can simply pass the instance into the NVFlinger instance directly. | |||||
2018-08-07 | nvdrv: Make Ioctl()'s definition match its prototype | Lioncash | 1 | -1/+1 | |
The only reason this wasn't a compilation error is because we use little-endian systems. | |||||
2018-08-07 | nvdrv: Get rid of indirect inclusions | Lioncash | 12 | -15/+17 | |
2018-08-04 | renderer_base: Make Rasterizer() return the rasterizer by reference | Lioncash | 1 | -2/+2 | |
All calling code assumes that the rasterizer will be in a valid state, which is a totally fine assumption. The only way the rasterizer wouldn't be is if initialization is done incorrectly or fails, which is checked against in System::Init(). | |||||
2018-08-04 | video_core: Eliminate the g_renderer global variable | Lioncash | 2 | -8/+9 | |
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency. | |||||
2018-07-31 | nvhost_gpu: Added checks to ensure we don't read past the end of the entries when handling a GPU command list. | Subv | 1 | -3/+6 | |
2018-07-31 | nvhost_ctrl_gpu: Only read the input parameters if they are actually there. | Subv | 1 | -3/+11 | |
Passing nullptr to memcpy is undefined behavior. | |||||
2018-07-25 | service/nvdrv: Take std::string in Open() by const reference | Lioncash | 2 | -2/+2 | |
Avoids copies from being made, since the string is only ever used for lookup, the data is never transfered anywhere. Ideally, we'd use a std::string_view here, but devices is a std::unordered_map, not a std::map, so we can't use heterogenous lookup here. | |||||
2018-07-25 | service/nvdrv: Use std::move where applicable | Lioncash | 1 | -3/+5 | |
Avoids unnecessary reference count increments and decrements. In one case, we don't need to make a shared_ptr copy at all, just to call a member function. | |||||
2018-07-21 | GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command. | Subv | 3 | -6/+34 | |
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx. Many thanks to @gdkchan for investigating this! | |||||
2018-07-19 | hle/service: Make constructors explicit where applicable | Lioncash | 3 | -3/+3 | |
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services. | |||||
2018-07-19 | nvdrv: Take std::string by const reference in GetDevice() | Lioncash | 1 | -1/+1 | |
This is only ever used as a lookup into the device map, so we don't need to take the std::string instance by value here. | |||||
2018-07-18 | vi: Partially implement buffer crop parameters. | bunnei | 2 | -3/+7 | |
2018-07-10 | NvOsGetConfigU32 production impl | David Marcec | 1 | -17/+2 | |
Settings are only used when RMOS_SET_PRODUCTION_MODE is set to 0. If production mode is set, the error code 0x30006 is returned instead | |||||
2018-07-08 | nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips. | bunnei | 1 | -1/+1 | |
2018-07-03 | Update clang format | James Rowe | 6 | -27/+27 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 8 | -50/+50 | |
2018-07-01 | GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU. | Subv | 1 | -0/+5 | |
2018-07-01 | nvmap: Return the address of the nvmap object when Freeing it for the last time. | Subv | 2 | -4/+11 | |
This behavior is confirmed by reverse engineering. | |||||
2018-06-20 | Build: Fixed some MSVC warnings in various parts of the code. | Subv | 1 | -1/+2 | |
2018-06-06 | nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524) | greggameplayer | 2 | -0/+53 | |
* add IoctlCommands with their params in nvidia_ctrl_gpu.h * add function related to the changes done previously * fix clang-format * delete trailing whitespace * correct mistake | |||||
2018-06-04 | Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params (#511) | greggameplayer | 1 | -0/+47 | |
* Add some IoctlCommand with their params to nvhost_gpu * fix clang-format * delete trailing whitespace * fix some clang-format * delete one other trailing whitespace * last clang-format fix | |||||
2018-05-30 | Services/nvdrv: add '/dev/nvhost-nvdec' device | mailwl | 3 | -0/+72 | |
2018-05-30 | nvhost_ctrl: Stub out IocCtrlEventRegister. | bunnei | 2 | -0/+10 | |
2018-05-30 | nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand. | bunnei | 2 | -5/+9 | |
2018-05-27 | NvOsGetConfigU32 should return null instead of 0 for default output | David Marcec | 1 | -1/+1 | |
2018-05-25 | Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463) | David | 2 | -0/+22 | |
We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now | |||||
2018-05-24 | Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT | mailwl | 2 | -0/+16 | |
Used in Nintendo Labo ToyCon 1&2 | |||||
2018-05-23 | change some functions | greggameplayer | 1 | -6/+6 | |
according to the changes made previously | |||||
2018-05-23 | correct placement and add size check | greggameplayer | 1 | -21/+25 | |
2018-05-23 | Add ioctl commands with their params and size check | greggameplayer | 1 | -2/+86 | |
2018-05-22 | Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE (#440) | David | 2 | -1/+20 | |
* Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE struct + 4 seems to be hard coded at 0 and struct + 0 seems to be ignored? * IocGetWaitbase -> IocChannelGetWaitbaseCommand * Added super late fixes | |||||
2018-05-20 | GPU: Implemented the nvmap Free ioctl. | Subv | 2 | -1/+48 | |
It releases a reference to an nvmap object | |||||
2018-05-20 | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. | Subv | 2 | -0/+50 | |
It removes a mapping previously created with the MapBufferEx ioctl. | |||||
2018-05-11 | More accurate GetTPCMasks impl | David Marcec | 2 | -4/+8 | |
2018-05-02 | general: Make formatting of logged hex values more straightforward | Lioncash | 6 | -8/+8 | |
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on). | |||||
2018-05-01 | GPU: Don't write to invalid memory locations when handling ioctls that don't have an output. | Subv | 2 | -5/+0 | |
2018-04-27 | general: Convert assertion macros over to be fmt-compatible | Lioncash | 1 | -2/+2 | |
2018-04-24 | nvdrv: Move logging macros over to new fmt-compatible ones | Lioncash | 7 | -60/+61 | |
2018-04-23 | NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated. | Subv | 1 | -0/+10 | |
Also added a consistency check and a comment for the case when the object id is different than its handle. The real nvservices doesn't make a distinction between ids and handles, each object gets an unique handle which doubles as its id. | |||||
2018-04-23 | Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command. | Subv | 2 | -0/+47 | |
It takes a previously-reserved (AllocateSpace) GPU memory address and maps it to the address of the nvmap object passed to Remap. | |||||
2018-04-23 | Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers. | Subv | 5 | -5/+5 | |
2018-04-23 | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. | David Marcec | 1 | -1/+1 | |
2018-04-22 | Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids) | David Marcec | 1 | -0/+1 | |
2018-04-20 | service: Use nested namespace specifiers where applicable | Lioncash | 19 | -102/+39 | |
Tidies up namespace declarations | |||||
2018-04-11 | Various fixes and clang | Hexagon12 | 1 | -2/+2 | |
2018-04-10 | Updated nvmemp with new service names. | Hexagon12 | 1 | -4/+4 | |
2018-04-10 | Updated nvdrv with more service names. | Hexagon12 | 1 | -0/+7 | |
2018-03-23 | renderer_opengl: Fixes for properly flushing & rendering the framebuffer. | bunnei | 1 | -6/+0 | |
2018-03-23 | renderer_opengl: Better handling of framebuffer transform flags. | bunnei | 1 | -3/+1 | |
2018-03-23 | nvdisp_disp0: Always flush and invalidate framebuffer region. | bunnei | 1 | -0/+7 | |
- Workaround for texture forwarding until we have a better place. | |||||
2018-03-23 | video_core: Move FramebufferInfo to FramebufferConfig in GPU. | bunnei | 1 | -3/+3 | |
2018-03-19 | Clang Fixes | N00byKing | 1 | -2/+2 | |
2018-03-19 | Clean Warnings (?) | N00byKing | 1 | -1/+1 | |
2018-02-17 | nvmap: Make IocFromId return the same existing handle instead of creating a new one. | Subv | 1 | -5/+2 | |
Games like Puyo Puyo Tetris and BOTW seem to depend on the buffer always having the same handle | |||||
2018-02-15 | nvhost-ctrl: Stub NVHOST_IOCTL_CTRL_EVENT_WAIT. | Subv | 2 | -0/+25 | |
2018-02-15 | Vi: Properly write the BufferProducerFence object in the DequeueBuffer response parcel. | Subv | 1 | -0/+7 | |
2018-02-14 | nvdrv/interface: Silence formatting specifier warnings | Lioncash | 1 | -1/+2 | |
2018-02-14 | nvmap: Silence formatting specifier warnings | Lioncash | 1 | -1/+2 | |
2018-02-14 | nvhost_gpu: Silence formatting specifier warnings | Lioncash | 1 | -6/+8 | |
2018-02-14 | nvhost_ctrl: Silence formatting specifier warnings | Lioncash | 1 | -2/+2 | |
2018-02-14 | nvhost_ctrl_gpu: Silence formatting specifier warnings | Lioncash | 1 | -3/+4 | |
2018-02-14 | nvhost_as_gpu: Silence formatting specifier warnings | Lioncash | 1 | -5/+7 | |
2018-02-14 | service: Remove remaining uses of BufferDescriptor*. | bunnei | 1 | -3/+2 | |
2018-02-14 | nvdrv: Use ReadBuffer/WriteBuffer functions for Ioctl. | bunnei | 1 | -17/+5 | |
2018-02-12 | Make a GPU class in VideoCore to contain the GPU state. | Subv | 7 | -181/+15 | |
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there. | |||||
2018-02-12 | GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines. | Subv | 3 | -3/+5 | |
2018-02-12 | nvdrv: Make the GPU memory manager available to nvhost-gpu. | Subv | 3 | -6/+16 | |
2018-02-12 | vi: Parse IGBPQueueBufferRequestParcel params and expose buffer flip vertical. | bunnei | 2 | -3/+7 | |
2018-02-09 | nvdrv: Fix QueryEvent for libnx. | bunnei | 2 | -4/+8 | |
2018-02-09 | nvhost_ctrl_gpu: Implement ZCullGetInfo. | bunnei | 1 | -2/+14 | |
2018-02-08 | nvhost_as_gpu: Implement AllocateSpace and MapBufferEx. | bunnei | 2 | -10/+33 | |
2018-02-08 | nvdrv: Add MemoryManager class to track GPU memory. | bunnei | 2 | -0/+160 | |
2018-02-08 | nvmap: Refactor to expose nvmap objects. | bunnei | 2 | -19/+22 | |
2018-02-08 | nvhost_as_gpu: Add nvmap as a class member. | bunnei | 3 | -2/+9 | |
2018-02-06 | Extra nvdrv support (#162) | David | 16 | -37/+761 | |
* FinishInitalize needed for 3.0.1+ games * nvdrv:s and nvdrv:t both use NVDRV * Most settings return 0 on hardware, disabled NV_MEMORY_PROFILER for now. NVN_THROUGH_OPENGL & NVRM_GPU_PREVENT_USE are a few interesting settings to look at. Carefully choosing settings can help with drawing graphics later on * Initial /dev/nvhost-gpu support * ZCullBind * Stubbed SetErrorNotifier * Fixed SetErrorNotifier log, Added SetChannelPriority * Allocate GPFIFO Ex2, Allocate Obj Ctx, Submit GPFIFO * oops * Fixed up naming/structs/enums. Used vector instead of array for "gpfifo_entry" * Added missing fixes * /dev/nvhost-ctrl-gpu * unneeded struct * Forgot u32 in enum class * Automatic descriptor swapping for ioctls, fixed nvgpu_gpu_get_tpc_masks_args being incorrect size * nvdrv#QueryEvent * Renamed logs for nvdrv * Refactor ioctl so nv_result isn't needed * /dev/nvhost-as-gpu * Fixed Log service naming, CtxObjects now u32, renamed all structs, added static_asserts to structs, used INSERT_PADDING_WORDS instead of u32s * nvdevices now uses "Ioctl" union, * IoctlGpfifoEntry now uses bit field * final changes | |||||
2018-02-04 | logger: Use Service_NVDRV category where applicable. | bunnei | 2 | -10/+10 | |
2018-01-25 | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 1 | -5/+5 | |
2018-01-21 | Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114) | David | 7 | -5/+158 | |
* Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0 | |||||
2018-01-21 | nvmap: Add a return 0 underneath the UNIMPLEMENTED macro | Lioncash | 1 | -0/+1 | |
This macro resolves to an empty macro in release builds. | |||||
2018-01-21 | nvmap: Make IoctlCommands an enum class | Lioncash | 2 | -12/+12 | |
Prevents the enum values from polluting the surrounding scope | |||||
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -1/+1 | |
2018-01-19 | nvdrv: Stub SetClientPID. | bunnei | 2 | -0/+13 | |
2018-01-17 | nvdrv: stubbed Close(cmd 2) | Frederic Meyer | 4 | -0/+26 | |
2018-01-17 | UI: Fix frame rate perf stats | James Rowe | 1 | -0/+3 | |
Adds in a missing EndGameFrame when nvdrv swaps buffers | |||||
2018-01-17 | NV: Implemented the nvdrv service, which uses the same interface as nvdrv:a | Subv | 3 | -14/+16 | |
2018-01-17 | NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. | Subv | 11 | -161/+91 | |
2018-01-16 | clang-format | MerryMage | 1 | -0/+1 | |
2018-01-13 | yuzu: Update license text to be consistent across project. | bunnei | 11 | -11/+11 | |
2018-01-12 | core: Include <algorithm> where used. | bunnei | 1 | -0/+2 | |
2018-01-12 | nv: Fix more broken asserts. | bunnei | 2 | -3/+3 | |
2018-01-12 | nvdisp_disp0: Fix broken assert. | bunnei | 1 | -1/+1 | |
2018-01-11 | nvdisp_disp0: Call SwapBuffers to render framebuffer. | bunnei | 1 | -0/+7 | |
2018-01-11 | NV: Move the nv device nodes to their own directory and namespace. | Subv | 9 | -165/+421 | |
2018-01-11 | NV: Expose the nvdisp_disp0 device and a weak reference to the nvdrv:a service. | Subv | 4 | -170/+236 | |
NVFlinger will call into the nvdisp_disp0 device to perform screen flips, bypassing the ioctl interface. We now have the address of the framebuffer to draw, we just need to actually put it on the screen. | |||||
2018-01-11 | NV: Implemented the nvdrv:a service and the /dev/nvmap device. | Subv | 4 | -0/+354 | |