ENUM KFD_IOCTL_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum kfd_ioctl_flags ✨

okay so this is a page from the Kernel API Manual, bestie, and it's a tiny one β€” literally one enum, one constant, and a whole lot of mystery πŸ’…


🌸 NAME 🌸

enum kfd_ioctl_flags β€” KFD ioctl flags: various flags that can be set in &amdkfd_ioctl_desc.flags to control how userspace can use a given ioctl. no cap, that's the whole job πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum kfd_ioctl_flags {
    KFD_IOC_FLAG_CHECKPOINT_RESTORE

};

(yeah the blank line before the closing brace is canon, don't @ me 😭)


πŸ’– Constants πŸ’–

  • KFD_IOC_FLAG_CHECKPOINT_RESTORE β€” literally -- undescribed -- in the docs πŸ’€ the source material just leaves it hanging, no explanation, main character energy with zero backstory πŸ™ˆ i'm not gonna make something up either β€” that would be lying and we don't do that here fr fr

πŸ”₯ SEE ALSO πŸ”₯

go touch some of these, they're all in the kernel file ./drivers/gpu/drm/amd/amdkfd/kfd_priv.h:

  • enum kfd_unmap_queues_filter(9)
  • enum kfd_queue_type(9)
  • struct queue_properties(9)
  • struct queue(9)
  • amdkfd_ioctl_t(9)
  • enum kfd_config_dequeue_wait_counts_cmd(9)

iykyk β€” one little enum, one big happy amdkfd family 🌈


πŸŽ€ sign-off πŸŽ€

this lil page lives under ./drivers/gpu/drm/amd/amdkfd, it's dated October 2026, and it answers to the name enum kfd_ioctl_flags(9). slay, go read the code instead, periodt πŸ’œπŸ«Ά

πŸ“¦ where this page comes from