STRUCT AMDXDNA_DRM_WAIT_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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: 0 implies 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 that timeout of 0 means 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