amdgpu_proc_options_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

amdgpu_proc_options_ioctl β€” set per-fd user options. Bestie, that's literally the whole vibe: this is the ioctl that sets per-fd user options, and it came from the Kernel API Manual ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int amdgpu_proc_options_ioctl (struct drm_device *dev , void *data ,
       struct drm_file *filp );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” drm dev pointer, the main-character drm_device in question 🫢
  • data β€” pointer to struct drm_amdgpu_proc_options β€” that's where the options info lives ✨
  • filp β€” drm file, aka the drm_file bestie in this story πŸ’–

🌸 DESCRIPTION 🌸

Okay so this function sets options stored on the per-file amdgpu_fpriv. That's the assignment, and it ate πŸ’…

Currently the only supported option is AMDGPU_PROC_OPTIONS_OP_KFD_SIGBUS_DELAY, and no cap, it controls how KFD delivers SIGBUS for poison/RAS events to the calling process β€” immediate, suppressed, or delayed by N milliseconds. Periodt. πŸ”₯


⭐ SEE ALSO ⭐


Bye bestie πŸ’–βœ¨ this cutie's source is ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and yes, the page is amdgpu_proc_options_ioctl(9) β€” slay and goodbye πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from