STRUCT AMDXDNA_DRM_QUERY_AIE_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct amdxdna_drm_query_aie_status β€” Kernel API Manual ✨

okay bestie, so we're in the Linux kernel API manual (the Kernel API Manual one, yeah) and today's main character is struct amdxdna_drm_query_aie_status πŸ’…


πŸŽ€ NAME πŸŽ€

struct amdxdna_drm_query_aie_status β€” the struct you use to ask about the status of the AIE hardware. that's it, that's the whole vibe. it's giving "hey bestie what's going on in there" πŸ¦‹


🌸 SYNOPSIS 🌸

struct amdxdna_drm_query_aie_status {
    __u64 buffer;
    __u32 buffer_size;
    __u32 cols_filled;
 };

like, look at her. three fields, zero drama, absolutely iconic πŸ‘‘


πŸ’– MEMBERS πŸ’–

  • buffer β€” the user space buffer that's gonna come back stuffed with the AIE status. yes queen, give us the data 🫢
  • buffer_size β€” the size of that user space buffer. gotta tell her how much room she's working with, no cap πŸ“
  • cols_filled β€” a bitmap of the AIE columns whose data has actually been returned in the buffer. so basically the receipt of which columns showed up to the party ⭐
ngl these three are a little package deal β€” one pointer, one size, one "here's what we actually filled in" bitmap. the way that they work together, we love to see it πŸ’œ

πŸ¦‹ SEE ALSO πŸ¦‹

okay so there's a whole friend group here, and honestly? the group chat is popping. lowkey all of these live in the kernel file ./include/uapi/drm/amdxdna_accel.h β€” go say hi 🌈

  • 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_wait_cmd(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)

and that's the whole page, bestie πŸ“ done and dusted, ate and left no crumbs πŸ’€

mwah πŸ’‹ β€” brought to you from ./include/uapi/drm, dated October 2026, in the Kernel API Manual. see you in the next one, iykyk ✨

πŸ“¦ where this page comes from