STRUCT AMDXDNA_DRM_QUERY_TELEMETRY_HEADER(9)
π 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 ofmajor, 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 gotmap_num_elementsentries 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 frommap_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
- 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