amdgpu_info_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯


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