IOCTLs
Add AMDKFD_IOC_ to each to get C definitions.
For more info look into kernel/include/uapi/linux/kfd_ioctl.h
Implementation can be found in kernel/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
On errors
AMDGPU driver doesn't have a clear error api. A lot of them get propagated through internal calls, which makes it hard to know which error values to expect.
But these errors should be a part of stable ABI.
Uncategorized
Query devices
Queues
Memory operations
- ACQUIRE_VM
- AVAILABLE_MEMORY
- ALLOC_MEMORY_OF_GPU
- FREE_MEMORY_OF_GPU
- MAP_MEMORY_TO_GPU
- UNMAP_MEMORY_FROM_GPU
- SET_SCRATCH_BACKING_VA
- GET_TILE_CONFIG