STRUCT AMDXDNA_DRM_QUERY_TELEMETRY_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct amdxdna_drm_query_telemetry_header(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes the actual one, and yes we're reading a struct together, it's gonna be iconic. This page is literally about struct amdxdna_drm_query_telemetry_header, aka the telemetry data header. It's the little header that goes "hi, here's what firmware telemetry version you're dealing with, here's what kind of query this is, and here's where the map table lives." Very demure, very plumbing. πŸŽ€


✨ SYNOPSIS ✨

the whole shape of it, verbatim, no cap:

struct amdxdna_drm_query_telemetry_header {
    __u32 major;
    __u32 minor;
    __u32 type;
    __u32 map_num_elements;
    __u32 map[];
 };

πŸ¦‹ Members πŸ¦‹

  • major β€” the firmware telemetry interface major version number. big-number energy. πŸ‘‘
  • minor β€” the firmware telemetry interface minor version number. the lowercase sibling of major, she's also here. πŸ’…
  • type β€” the telemetry query type. like, what are we even asking about rn. πŸ”₯
  • map_num_elements β€” the total number of elements in the map table. the headcount. the guest list. πŸŽ€
  • map β€” the element map itself. the flexible-array girlies at the end of the struct, she's got map_num_elements entries and zero chill. ✨
lowkey a vibe check on this one: map[] is a flexible array member, so it lives at the tail of the struct and its size comes from map_num_elements. that's just what the source says β€” I'm not adding lore, I promise. 🫢

🌈 SEE ALSO 🌈

the whole friend group, and I mean the whole friend group, no one gets left out:

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_wait_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_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)

like, that's thirty-one structs plus the header file, and every single one of them is invited to the sleepover. πŸ’€πŸ’–


and that's the page!! iykyk. this gem comes to you from ./include/uapi/drm, dated October 2026, and it's filed under struct amdx...metry_header(9) β€” go off, little truncated manpage name, you ate. πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from