Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vi: Partially implement buffer crop parameters. | bunnei | 2018-07-18 | 2 | -3/+7 |
| | |||||
* | NvOsGetConfigU32 production impl | David Marcec | 2018-07-10 | 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 | ||||
* | nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips. | bunnei | 2018-07-08 | 1 | -1/+1 |
| | |||||
* | Update clang format | James Rowe | 2018-07-03 | 6 | -27/+27 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 7 | -43/+43 |
| | |||||
* | GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU. | Subv | 2018-07-01 | 1 | -0/+5 |
| | |||||
* | nvmap: Return the address of the nvmap object when Freeing it for the last time. | Subv | 2018-07-01 | 2 | -4/+11 |
| | | | | This behavior is confirmed by reverse engineering. | ||||
* | Build: Fixed some MSVC warnings in various parts of the code. | Subv | 2018-06-20 | 1 | -1/+2 |
| | |||||
* | nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524) | greggameplayer | 2018-06-06 | 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 | ||||
* | Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params (#511) | greggameplayer | 2018-06-04 | 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 | ||||
* | Merge pull request #484 from mailwl/nvhost-nvdec | bunnei | 2018-06-03 | 2 | -0/+70 |
|\ | | | | | Services/nvdrv: add '/dev/nvhost-nvdec' device | ||||
| * | Services/nvdrv: add '/dev/nvhost-nvdec' device | mailwl | 2018-05-30 | 2 | -0/+70 |
| | | |||||
* | | nvhost_ctrl: Stub out IocCtrlEventRegister. | bunnei | 2018-05-30 | 2 | -0/+10 |
| | | |||||
* | | nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand. | bunnei | 2018-05-30 | 2 | -5/+9 |
|/ | |||||
* | NvOsGetConfigU32 should return null instead of 0 for default output | David Marcec | 2018-05-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #466 from mailwl/nv-timeout | bunnei | 2018-05-26 | 2 | -0/+16 |
|\ | | | | | Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT | ||||
| * | Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT | mailwl | 2018-05-24 | 2 | -0/+16 |
| | | | | | | | | Used in Nintendo Labo ToyCon 1&2 | ||||
* | | Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463) | David | 2018-05-25 | 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 | ||||
* | change some functions | greggameplayer | 2018-05-23 | 1 | -6/+6 |
| | | | according to the changes made previously | ||||
* | correct placement and add size check | greggameplayer | 2018-05-23 | 1 | -21/+25 |
| | |||||
* | Add ioctl commands with their params and size check | greggameplayer | 2018-05-23 | 1 | -2/+86 |
| | |||||
* | Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE (#440) | David | 2018-05-22 | 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 | ||||
* | GPU: Implemented the nvmap Free ioctl. | Subv | 2018-05-20 | 2 | -1/+48 |
| | | | | It releases a reference to an nvmap object | ||||
* | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. | Subv | 2018-05-20 | 2 | -0/+50 |
| | | | | It removes a mapping previously created with the MapBufferEx ioctl. | ||||
* | More accurate GetTPCMasks impl | David Marcec | 2018-05-11 | 2 | -4/+8 |
| | |||||
* | general: Make formatting of logged hex values more straightforward | Lioncash | 2018-05-02 | 5 | -7/+7 |
| | | | | | | 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). | ||||
* | GPU: Don't write to invalid memory locations when handling ioctls that don't have an output. | Subv | 2018-05-01 | 2 | -5/+0 |
| | |||||
* | Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl | David Marcec | 2018-04-26 | 7 | -58/+116 |
|\ | |||||
| * | nvdrv: Move logging macros over to new fmt-compatible ones | Lioncash | 2018-04-24 | 6 | -53/+54 |
| | | |||||
| * | Merge pull request #384 from Subv/nvhost-remap | bunnei | 2018-04-23 | 2 | -0/+57 |
| |\ | | | | | | | Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command. | ||||
| | * | NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated. | Subv | 2018-04-23 | 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. | ||||
| | * | Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command. | Subv | 2018-04-23 | 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. | ||||
| * | | Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers. | Subv | 2018-04-23 | 5 | -5/+5 |
| |/ | |||||
* | | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. | David Marcec | 2018-04-23 | 1 | -1/+1 |
| | | |||||
* | | Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids) | David Marcec | 2018-04-22 | 1 | -0/+1 |
|/ | |||||
* | service: Use nested namespace specifiers where applicable | Lioncash | 2018-04-20 | 13 | -78/+27 |
| | | | | Tidies up namespace declarations | ||||
* | renderer_opengl: Fixes for properly flushing & rendering the framebuffer. | bunnei | 2018-03-23 | 1 | -6/+0 |
| | |||||
* | renderer_opengl: Better handling of framebuffer transform flags. | bunnei | 2018-03-23 | 1 | -3/+1 |
| | |||||
* | nvdisp_disp0: Always flush and invalidate framebuffer region. | bunnei | 2018-03-23 | 1 | -0/+7 |
| | | | | - Workaround for texture forwarding until we have a better place. | ||||
* | video_core: Move FramebufferInfo to FramebufferConfig in GPU. | bunnei | 2018-03-23 | 1 | -3/+3 |
| | |||||
* | Clang Fixes | N00byKing | 2018-03-19 | 1 | -2/+2 |
| | |||||
* | Clean Warnings (?) | N00byKing | 2018-03-19 | 1 | -1/+1 |
| | |||||
* | nvmap: Make IocFromId return the same existing handle instead of creating a new one. | Subv | 2018-02-17 | 1 | -5/+2 |
| | | | | Games like Puyo Puyo Tetris and BOTW seem to depend on the buffer always having the same handle | ||||
* | nvhost-ctrl: Stub NVHOST_IOCTL_CTRL_EVENT_WAIT. | Subv | 2018-02-15 | 2 | -0/+25 |
| | |||||
* | nvmap: Silence formatting specifier warnings | Lioncash | 2018-02-14 | 1 | -1/+2 |
| | |||||
* | nvhost_gpu: Silence formatting specifier warnings | Lioncash | 2018-02-14 | 1 | -6/+8 |
| | |||||
* | nvhost_ctrl: Silence formatting specifier warnings | Lioncash | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | nvhost_ctrl_gpu: Silence formatting specifier warnings | Lioncash | 2018-02-14 | 1 | -3/+4 |
| | |||||
* | nvhost_as_gpu: Silence formatting specifier warnings | Lioncash | 2018-02-14 | 1 | -5/+7 |
| | |||||
* | Merge pull request #178 from Subv/command_buffers | bunnei | 2018-02-12 | 4 | -11/+17 |
|\ | | | | | GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines | ||||
| * | Make a GPU class in VideoCore to contain the GPU state. | Subv | 2018-02-12 | 4 | -16/+13 |
| | | | | | | | | Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there. | ||||
| * | GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines. | Subv | 2018-02-12 | 3 | -3/+5 |
| | | |||||
| * | nvdrv: Make the GPU memory manager available to nvhost-gpu. | Subv | 2018-02-12 | 2 | -4/+11 |
| | | |||||
* | | vi: Parse IGBPQueueBufferRequestParcel params and expose buffer flip vertical. | bunnei | 2018-02-12 | 2 | -3/+7 |
|/ | |||||
* | nvhost_ctrl_gpu: Implement ZCullGetInfo. | bunnei | 2018-02-09 | 1 | -2/+14 |
| | |||||
* | nvhost_as_gpu: Implement AllocateSpace and MapBufferEx. | bunnei | 2018-02-08 | 2 | -10/+33 |
| | |||||
* | nvmap: Refactor to expose nvmap objects. | bunnei | 2018-02-08 | 2 | -19/+22 |
| | |||||
* | nvhost_as_gpu: Add nvmap as a class member. | bunnei | 2018-02-08 | 2 | -1/+8 |
| | |||||
* | Extra nvdrv support (#162) | David | 2018-02-06 | 13 | -18/+708 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | logger: Use Service_NVDRV category where applicable. | bunnei | 2018-02-04 | 1 | -5/+5 |
| | |||||
* | Merge pull request #131 from lioncash/enum | bunnei | 2018-01-22 | 2 | -12/+13 |
|\ | | | | | nvmap: Make IoctlCommands an enum class | ||||
| * | nvmap: Add a return 0 underneath the UNIMPLEMENTED macro | Lioncash | 2018-01-21 | 1 | -0/+1 |
| | | | | | | | | This macro resolves to an empty macro in release builds. | ||||
| * | nvmap: Make IoctlCommands an enum class | Lioncash | 2018-01-21 | 2 | -12/+12 |
| | | | | | | | | Prevents the enum values from polluting the surrounding scope | ||||
* | | Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114) | David | 2018-01-21 | 2 | -0/+94 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | UI: Fix frame rate perf stats | James Rowe | 2018-01-17 | 1 | -0/+3 |
| | | | | Adds in a missing EndGameFrame when nvdrv swaps buffers | ||||
* | NV: Move the nvdrv classes into the Nvidia namespace, and move the functionality to a s single module that services call. | Subv | 2018-01-17 | 7 | -14/+14 |
| | |||||
* | yuzu: Update license text to be consistent across project. | bunnei | 2018-01-13 | 7 | -7/+7 |
| | |||||
* | core: Include <algorithm> where used. | bunnei | 2018-01-12 | 1 | -0/+2 |
| | |||||
* | nv: Fix more broken asserts. | bunnei | 2018-01-12 | 2 | -3/+3 |
| | |||||
* | nvdisp_disp0: Fix broken assert. | bunnei | 2018-01-12 | 1 | -1/+1 |
| | |||||
* | nvdisp_disp0: Call SwapBuffers to render framebuffer. | bunnei | 2018-01-11 | 1 | -0/+7 |
| | |||||
* | NV: Move the nv device nodes to their own directory and namespace. | Subv | 2018-01-11 | 7 | -0/+402 |