STRUCT QAIC_SEM(9)
π NAME π
struct qaic_sem β defines a semaphore command for a BO slice. That's the whole assignment, bestie. This is the struct qaic_sem(9) page from the Kernel API Manual, and it's lowkey iconic.
β¨ SYNOPSIS β¨
okay so here's the struct shape, no cap:
struct qaic_sem {
__u16 val;
__u8 index;
__u8 presync;
__u8 cmd;
__u8 flags;
__u16 pad;
};
πΈ Members πΈ
valβ In. Only the lower 12 bits are valid, periodt.indexβ In. Only the lower 5 bits are valid.presyncβ In.1if presync operation,0if postsync.cmdβ In. One ofQAIC_SEM_*.flagsβ In. Bitfield. SeeQAIC_SEM_INSYNCFENCEandQAIC_SEM_OUTSYNCFENCE.padβ Structure padding. Must be0. No vibes allowed in the padding, fr fr.
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/drm/qaic_accel.h 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_attach_slice_entry(9)struct qaic_attach_slice_hdr(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)
mwah π this cutie lives in ./include/uapi/drm, dated October 2026, and it's struct qaic_sem(9) β bye bestie, go slay those BO slices π«Άβ¨
π¦ 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