STRUCT AMDXDNA_DRM_WAIT_CMD(9)
β¨ struct amdxdna_drm_wait_cmd(9) β¨
okay so bestie, welcome to the Kernel API Manual for struct amdxdna_drm_wait_cmd(9) β yes that whole mouthful is the page, and yes we're gonna get through it together π
πΈ NAME πΈ
struct amdxdna_drm_wait_cmd β literally the wait execution command. that's her whole job. π
π¦ SYNOPSIS π¦
here's the shape of her, no cap, copy it exactly:
struct amdxdna_drm_wait_cmd {
__u32 hwctx;
__u32 timeout;
__u64 seq;
};
π Members π
okay three fields, let's meet the cast π«Ά
hwctxβ the context handle. that's the lil ID saying which context we're talking about πtimeoutβ timeout in ms. and listen:0implies infinite wait. so zero does not mean "give up instantly", it means "wait forever, I'm committed" πseqβ the sequence number of the command, and it's the one returned by execute command, so you get it from there, not from vibes β¨
π Description π
so the whole point: you wait for a command specified by seq to be completed. that's it. that's the struct. she sits there and waits, main character energy, until the thing is done π₯
π SEE ALSO π
go read these next, i'm obsessed with how many there are π
- Kernel file
./include/uapi/drm/amdxdna_accel.h struct amdxdna_drm_create_hwctx(9)struct amdxdna_drm_destroy_hwctx(9)struct amdxdna_cu_config(9)struct amdxdna_hwctx_param_config_cu(9)struct amdxdna_drm_config_hwctx(9)struct amdxdna_drm_va_entry(9)struct amdxdna_drm_va_tbl(9)struct amdxdna_drm_create_bo(9)struct amdxdna_drm_get_bo_info(9)struct amdxdna_drm_sync_bo(9)struct amdxdna_drm_exec_cmd(9)struct amdxdna_drm_query_aie_status(9)struct amdxdna_drm_query_aie_version(9)struct amdxdna_drm_query_aie_tile_metadata(9)struct amdxdna_drm_query_aie_metadata(9)struct amdxdna_drm_query_clock(9)struct amdxdna_drm_query_clock_metadata(9)struct amdxdna_drm_query_sensor(9)struct amdxdna_drm_query_hwctx(9)struct amdxdna_drm_get_power_mode(9)struct amdxdna_drm_query_firmware_version(9)struct amdxdna_drm_get_resource_info(9)struct amdxdna_drm_attribute_state(9)struct amdxdna_drm_query_telemetry_header(9)struct amdxdna_drm_get_info(9)struct amdxdna_drm_hwctx_entry(9)struct amdxdna_async_error(9)struct amdxdna_drm_bo_usage(9)struct amdxdna_drm_get_array(9)struct amdxdna_drm_set_state(9)struct amdxdna_drm_set_power_mode(9)
ngl this one's short and sweet β the only thing to actually remember is thattimeoutof0means infinite, so don't go thinking it's an instant bail π
and that's a wrap, bestie π§ this lil page lives down in ./include/uapi/drm, stamped October 2026, and it's filed under struct amdxdna_drm_wait_cmd(9) β slay, go wait on something π
β¨
π¦ 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