NV services: Difference between revisions
No edit summary |
|||
Line 308: | Line 308: | ||
u32 __handle; // in | u32 __handle; // in | ||
}; | }; | ||
== /dev/nvhost-ctrl-gpu == | |||
This device is for global (context independent) operations on the gpu. | |||
{| class="wikitable" border="1" | |||
! Value || Direction || Size || Description || Notes | |||
|- | |||
| Out || 4 || 0x80044701 || NVGPU_GPU_IOCTL_ZCULL_GET_CTX_SIZE || | |||
|- | |||
| Out || 40 || 0x80284702 || NVGPU_GPU_IOCTL_ZCULL_GET_INFO || | |||
|- | |||
| In || 44 || 0x402C4703 || NVGPU_GPU_IOCTL_ZBC_SET_TABLE || | |||
|- | |||
| Inout || 52 || 0xC0344704 || NVGPU_GPU_IOCTL_ZBC_QUERY_TABLE || | |||
|- | |||
| Inout || 176 || 0xC0B04705 || NVGPU_GPU_IOCTL_GET_CHARACTERISTICS || | |||
|- | |||
| Inout || 24 || 0xC0184706 || NVGPU_GPU_IOCTL_GET_TPC_MASKS || | |||
|- | |||
| In || 8 || 0x40084707 || NVGPU_GPU_IOCTL_OPEN_CHANNEL || | |||
|- | |||
| In || 8 || 0x4008470E || || | |||
|- | |||
| In || 16 || 0x4010470F || || | |||
|- | |||
| Inout || 8 || 0xC0084710 || || | |||
|- | |||
| Out || 8 || 0x80084711 || || | |||
|- | |||
| Out || 8 || 0x80084712 || || | |||
|- | |||
| Inout || 4 || 0xC0044713 || || | |||
|- | |||
| Out || 8 || 0x80084714 || || | |||
|- | |||
| Out || 4 || 0x80044715 || || | |||
|- | |||
| Out || 24 || 0x8018471A || || | |||
|- | |||
| Inout || 8 || 0xC008471B || || | |||
|- | |||
| 0xC010471C || Inout || 16 || || | |||
|} | |||
== Channels == | == Channels == | ||
Line 411: | Line 454: | ||
|- | |- | ||
| /dev/nvhost-dbg-gpu || 0x40084409 || NVGPU_DBG_GPU_IOCTL_PC_SAMPLING || | | /dev/nvhost-dbg-gpu || 0x40084409 || NVGPU_DBG_GPU_IOCTL_PC_SAMPLING || | ||
|- | |- | ||
|} | |} |