summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvdevice.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-06NVDRV: Implement QueryEvent.Fernando Sahmkow1-0/+8
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
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.
2021-11-04core: Remove unused includesameerj1-3/+0
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-1/+1
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-03-25nvdrv: Pass device fd and handle device create methods for device opening and closingChloe Marcec1-4/+16
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
2020-12-29hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread.bunnei1-5/+4
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
2020-11-24nvservices: Reintroducee IoctlCtrlChloe Marcec1-4/+5
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
2020-11-10Addressed issuesChloe Marcec1-0/+25
2020-11-10core: Make nvservices more standardizedChloe Marcec1-19/+6
2020-08-14core: Resolve several -Wextra-semi warningsLioncash1-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.
2019-09-19Initial implementation of Ioctl2 & Ioctl3David Marcec1-2/+4
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls
2019-07-05NVServices: Styling, define constructors as explicit and correctionsFernando Sahmkow1-1/+1
2019-07-05NVServices: Correct CtrlEventWaitSync to block the ipc until timeout.Fernando Sahmkow1-1/+3
2019-07-05nv_services: Deglobalize NvServicesFernando Sahmkow1-1/+8
2019-02-06remove all occurance of specifying endianness inside BitFieldWeiyi Wang1-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-04-20service: Use nested namespace specifiers where applicableLioncash1-6/+2
Tidies up namespace declarations
2018-02-06Extra nvdrv support (#162)David1-1/+11
* 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-01-17NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call.Subv1-2/+2
2018-01-13yuzu: Update license text to be consistent across project.bunnei1-1/+1
2018-01-11NV: Move the nv device nodes to their own directory and namespace.Subv1-0/+33