amdgpu_info_ioctl(9)
π NAME π
okay bestie, welcome to the amdgpu_info_ioctl(9) page from the Kernel API Manual. the name is literally the assignment: amdgpu_info_ioctl - answer a device specific request.
β¨ SYNOPSIS β¨
the signature is serving:
int amdgpu_info_ioctl (struct drm_device *dev , void *data , struct
drm_file *filp );
π«Ά ARGUMENTS π«Ά
devβ drm device pointer. the DRM device pointer bestie in question.dataβ request object. the request object carrying the ask.filpβ drm filp. the DRM file pointer, periodt.
π DESCRIPTION π
so this function is used to pass device specific parameters to the userspace drivers. it's the kernel-to-userspace info drop, no cap. examples include: pci device id, pipeline parms, tiling params, etc. (all asics). yes, all asics β every single one.
returns 0 on success, -EINVAL on failure. that's the whole vibe check: 0 slays, -EINVAL is the flop era.
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_driver_unload_kms(9)amdgpu_driver_load_kms(9)amdgpu_proc_options_ioctl(9)amdgpu_driver_open_kms(9)amdgpu_driver_postclose_kms(9)amdgpu_get_vblank_counter_kms(9)amdgpu_enable_vblank_kms(9)amdgpu_disable_vblank_kms(9)
mwah π this page was brought to you by source/version ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and signed by amdgpu_info_ioctl(9) herself. periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms