STRUCT QAIC_ATTACH_SLICE_HDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct qaic_attach_slice_hdr(9) πŸ’…

okay so bestie, welcome to the kernel API manual for struct qaic_attach_slice_hdr β€” literally the little glow-up struct that defines the metadata for a set of BO slices. that's it, that's the whole vibe. it lives in the qaic accel corner of the kernel and it's here to tell everyone how your BO gets sliced up. periodt. ✨


🌸 NAME 🌸

struct qaic_attach_slice_hdr β€” Defines metadata for a set of BO slices. no cap, that's the job. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the actual shape of her:

struct qaic_attach_slice_hdr {
    __u32 count;
    __u32 dbc_id;
    __u32 handle;
    __u32 dir;
    __u64 size;
 };

she's giving very compact, very __u32-heavy, one __u64 for a little razzle-dazzle. iconic. πŸ’…


🧚 Members 🧚

okay so let's meet the squad one by one, everyone say hi πŸ‘‹

  • count β€” In. the number of slices for this BO. literally how many slices you're bringing to the function. πŸ“
  • dbc_id β€” In. associates the sliced BO with this DBC. it's the "who's your DBC" field, iykyk. πŸ”₯
  • handle β€” In. the GEM handle of the BO to slice. this is the actual BO you're slicing, bestie, don't get it twisted. πŸ‘‘
  • dir β€” In. direction of data flow. the values are 1 = DMA_TO_DEVICE, 2 = DMA_FROM_DEVICE. so like, which way is the data even going. pick one. πŸ™ˆ
  • size β€” Deprecated. 🚨 this value is ignored and the size of handle is used instead. so don't come in here thinking you can set size and have it matter β€” she's retired, she's living her best life off-screen, the kernel is not reading her. fr fr.
bestie listen: size is deprecated and literally ignored. the size of handle is what gets used. do not build your whole personality on filling in size. πŸ’€

🌈 SEE ALSO 🌈

go follow her friends, they're all linked up in the kernel file ./include/uapi/drm/qaic_accel.h β€” struct everything:

  • struct qaic_manage_trans_hdr(9)
  • struct qaic_manage_trans_passthrough(9)
  • struct qaic_manage_trans_dma_xfer(9)
  • struct qaic_manage_trans_activate_to_dev(9)
  • struct qaic_manage_trans_activate_from_dev(9)
  • struct qaic_manage_trans_deactivate(9)
  • struct qaic_manage_trans_status_to_dev(9)
  • struct qaic_manage_trans_status_from_dev(9)
  • struct qaic_manage_msg(9)
  • struct qaic_create_bo(9)
  • struct qaic_mmap_bo(9)
  • struct qaic_sem(9)
  • struct qaic_attach_slice_entry(9)
  • struct qaic_attach_slice(9)
  • struct qaic_execute_entry(9)
  • struct qaic_partial_execute_entry(9)
  • struct qaic_execute_hdr(9)
  • struct qaic_execute(9)
  • struct qaic_wait(9)
  • struct qaic_perf_stats_hdr(9)
  • struct qaic_perf_stats(9)
  • struct qaic_perf_stats_entry(9)
  • struct qaic_detach_slice(9)

like, the whole friend group. go read all of them, they're all main characters. 🫢


and that's the page!! mwah πŸ’– this one came from ./include/uapi/drm, dated October 2026, and the header/footer were busy being struct qaic_...ch_slice_hdr(9) so we just folded them in here instead. slay, go slice your BO. πŸŽ€βœ¨πŸŒΈ

πŸ“¦ where this page comes from