bunnei
c3dd456d51
vi: Partially implement buffer crop parameters.
8 years ago
David Marcec
0944bfe3cb
NvOsGetConfigU32 production impl
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
8 years ago
bunnei
1b3dd30ba8
nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips.
8 years ago
James Rowe
0d46f0df12
Update clang format
8 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Subv
6c0c81dfdc
GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU.
8 years ago
Subv
a093feca62
nvmap: Return the address of the nvmap object when Freeing it for the last time.
This behavior is confirmed by reverse engineering.
8 years ago
Subv
a3d82ef5d9
Build: Fixed some MSVC warnings in various parts of the code.
8 years ago
greggameplayer
be09dfeed9
nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params ( #524 )
* 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
8 years ago
greggameplayer
4fad069870
Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params ( #511 )
* 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
8 years ago
mailwl
9a273bb23b
Services/nvdrv: add '/dev/nvhost-nvdec' device
8 years ago
bunnei
6306655665
nvhost_ctrl: Stub out IocCtrlEventRegister.
8 years ago
bunnei
0658973a4e
nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand.
8 years ago
David Marcec
6138075df0
NvOsGetConfigU32 should return null instead of 0 for default output
8 years ago
David
e3a92b09ba
Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE ( #463 )
We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now
8 years ago
mailwl
e6a87428ae
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
Used in Nintendo Labo ToyCon 1&2
8 years ago
greggameplayer
3c26b7179d
change some functions
according to the changes made previously
8 years ago
greggameplayer
8c648b59cd
correct placement and add size check
8 years ago
greggameplayer
f217d6c66f
Add ioctl commands with their params and size check
8 years ago
David
58d9078742
Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE ( #440 )
* 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
8 years ago
Subv
525492428d
GPU: Implemented the nvmap Free ioctl.
It releases a reference to an nvmap object
8 years ago
Subv
72b5c448cf
GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
It removes a mapping previously created with the MapBufferEx ioctl.
8 years ago
David Marcec
e7b0e8a3cc
More accurate GetTPCMasks impl
8 years ago
Lioncash
7c9644646f
general: Make formatting of logged hex values more straightforward
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).
8 years ago
Subv
0c8b7c00e8
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
8 years ago
Lioncash
8475496630
general: Convert assertion macros over to be fmt-compatible
8 years ago
Lioncash
285d8d8b7d
nvdrv: Move logging macros over to new fmt-compatible ones
8 years ago
Subv
0d6eafe11a
NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated.
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.
8 years ago
Subv
e4bd0bddea
Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
It takes a previously-reserved (AllocateSpace) GPU memory address and maps it to the address of the nvmap object passed to Remap.
8 years ago
Subv
e862c50a70
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
8 years ago
David Marcec
27650499bc
GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.
8 years ago
David Marcec
f3137d3bc1
Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids)
8 years ago
Lioncash
ccca5e7c28
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
Hexagon12
cc89b7bfcb
Various fixes and clang
8 years ago
Hexagon12
177bdb94df
Updated nvmemp with new service names.
8 years ago
Hexagon12
4d1a2509df
Updated nvdrv with more service names.
8 years ago
bunnei
054393917e
renderer_opengl: Fixes for properly flushing & rendering the framebuffer.
8 years ago
bunnei
ec4e1a3685
renderer_opengl: Better handling of framebuffer transform flags.
8 years ago
bunnei
e12c2cf8c6
nvdisp_disp0: Always flush and invalidate framebuffer region.
- Workaround for texture forwarding until we have a better place.
8 years ago
bunnei
bfe45774f1
video_core: Move FramebufferInfo to FramebufferConfig in GPU.
8 years ago
N00byKing
1d8b6ad13b
Clang Fixes
8 years ago
N00byKing
ef875d6a35
Clean Warnings (?)
8 years ago
Subv
416f692f6e
nvmap: Make IocFromId return the same existing handle instead of creating a new one.
Games like Puyo Puyo Tetris and BOTW seem to depend on the buffer always having the same handle
8 years ago
Subv
7a1917e0fd
nvhost-ctrl: Stub NVHOST_IOCTL_CTRL_EVENT_WAIT.
8 years ago
Subv
8dee5663b3
Vi: Properly write the BufferProducerFence object in the DequeueBuffer response parcel.
8 years ago
Lioncash
eba57fce88
nvdrv/interface: Silence formatting specifier warnings
8 years ago
Lioncash
ee170cbcea
nvmap: Silence formatting specifier warnings
8 years ago
Lioncash
983777a317
nvhost_gpu: Silence formatting specifier warnings
8 years ago
Lioncash
2d388a75f0
nvhost_ctrl: Silence formatting specifier warnings
8 years ago
Lioncash
ce1fe0387f
nvhost_ctrl_gpu: Silence formatting specifier warnings
8 years ago