STRUCT AMDXDNA_DRM_GET_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's all about struct amdxdna_drm_get_info, which is literally your little messenger for pulling info out of the AIE hardware 🫢. That's it, that's the whole vibe.


🌸 SYNOPSIS 🌸

struct amdxdna_drm_get_info {
    __u32 param;
    __u32 buffer_size;
    __u64 buffer;
 };

no cap, that's the whole struct πŸ’…


πŸŽ€ Members πŸŽ€

  • param β€” this one's a value from enum amdxdna_drm_get_param, and it's the main character here πŸ‘‘ β€” it tells everyone which structure is gonna be chilling in the buffer.
  • buffer_size β€” the size of the input buffer, bestie. It's the size the kernel needs / the size the kernel writes πŸ“βœ¨.
  • buffer β€” a structure that gets specified by the param struct member. slay, that's the payload πŸ¦‹.

πŸ”₯ SEE ALSO πŸ”₯

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_query_telemetry_header(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)

that's a whole friend group right there, honestly πŸ˜­πŸ’œ go read them too, iykyk.


and that's a wrap, bestie!! 🧚 this page came from ./include/uapi/drm, dated October 2026, and it's the struct amdxdna_drm_get_info(9) page β€” periodt πŸ’…β­πŸ“

πŸ“¦ where this page comes from