aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvdrv
AgeCommit message (Collapse)Author
2020-05-02nvdrv: Fix GetGpuTime stack corruptionDavid Marcec
IoctlGetGpuTime should be 16 bytes, not 8.
2020-02-16nvhost_gpu: implement ChannelSetTimeslicenamkazy
2019-12-25NvServices: Correct Ioctl Remap.Fernando Sahmkow
This commit corrects a padding value in Ioctl Remap that was actually an offset to the mapping address.
2019-11-26core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash
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-24kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for ↵bunnei
kernel objects. (#3154) * 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-03kernel: events: Remove ResetType::Automatic.bunnei
- 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-16Merge pull request #2912 from FernandoS27/async-fixesbunnei
General fixes to Async GPU
2019-10-04Nvdrv: Correct Event setup in NvdrvFernando Sahmkow
Events are supposed to be cleared on quering. This fixes that issue.
2019-10-04Nvdrv: Do framelimiting only in the CPU ThreadFernando Sahmkow
2019-10-04Nvdrv: Correct Async regression and avoid signaling empty buffer vsyncsFernando Sahmkow
2019-10-04service/nvdrv: Silence -WswitchReinUsesLisp
2019-09-22Merge pull request #2873 from ogniK5377/new-ioctlsFernando Sahmkow
Initial implementation of Ioctl2 & Ioctl3
2019-09-22server side clang format fix2David Marcec
2019-09-22Use clang-format provided by build serverDavid Marcec
2019-09-21Mark KickOffPb & SubmitGPFIFO as traceDavid Marcec
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-20disable clang-format tempDavid Marcec
2019-09-19Initial implementation of Ioctl2 & Ioctl3David Marcec
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls
2019-08-21gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfigReinUsesLisp
2019-07-05NVServices: Correct delayed responses.Fernando Sahmkow
2019-07-05Nv_Host_Ctrl: Correct difference calculationFernando Sahmkow
2019-07-05NVServices: Address FeedbackFernando Sahmkow
2019-07-05NVServices: Styling, define constructors as explicit and correctionsFernando Sahmkow
2019-07-05NVFlinger: Correct GCC compile errorFernando Sahmkow
2019-07-05NVServices: Make NVEvents Automatic according to documentation.Fernando Sahmkow
2019-07-05NVServices: Correct CtrlEventWaitSync to block the ipc until timeout.Fernando Sahmkow
2019-07-05GPU: Correct Interrupts to interrupt on syncpt/value instead of event, ↵Fernando Sahmkow
mirroring hardware
2019-07-05nv_services: Fixes to event liberation.Fernando Sahmkow
2019-07-05nv_services: Deglobalize NvServicesFernando Sahmkow
2019-07-05nv_host_ctrl: Make Sync GPU variant always return synced result.Fernando Sahmkow
2019-07-05nvhost_ctrl: Corrections to event handlingFernando Sahmkow
2019-07-05Gpu: Mark areas as protected.Fernando Sahmkow
2019-07-05nv_services: Stub CtrlEventSignalFernando Sahmkow
2019-07-05Gpu: Implement Hardware Interrupt Manager and manage GPU interruptsFernando Sahmkow
2019-07-05nv_services: Implement NvQueryEvent, NvCtrlEventWait, NvEventRegister, ↵Fernando Sahmkow
NvEventUnregister
2019-07-05nv_services: Create GPU channels correctlyFernando Sahmkow
2019-07-05video_core: Implement GPU side SyncpointsFernando Sahmkow
2019-07-05nv_services: Correct buffer queue fencing and GPFifo fencingFernando Sahmkow
2019-06-04core/core_timing_util: Amend casing of cyclesTo* functionsLioncash
Makes the casing consistent with all of our general function naming conventions.
2019-06-04core/core_timing_util: Use std::chrono types for specifying time unitsLioncash
Makes the interface more type-safe and consistent in terms of return values.
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash
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-04core: Add missing override specifiers where applicableLioncash
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-22Merge pull request #2256 from bunnei/gpu-vmmbunnei
gpu: Rewrite MemoryManager based on the VMManager implementation.
2019-03-20Merge pull request #2090 from FearlessTobi/port-4599bunnei
Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField
2019-03-20gpu: Rewrite virtual memory manager using PageTable.bunnei
2019-03-20gpu: Move GPUVAddr definition to common_types.bunnei
2019-03-14gpu: Use host address for caching instead of guest address.bunnei
2019-03-06gpu: Move command processing to another thread.bunnei
2019-03-06gpu: Refactor command and swap buffers interface for asynch.bunnei
2019-02-27common/math_util: Move contents into the Common namespaceLioncash
These types are within the common library, so they should be within the Common namespace.
2019-02-15core_timing: Convert core timing into a classLioncash
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.