STRUCT AMDXDNA_DRM_QUERY_CLOCK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so welcome to the Kernel API Manual, bestie β€” this one's short and sweet, a little three-field struct that's literally just holding metadata for a clock. tiny icon, big main character energy. let's get into it πŸ•βœ¨


🌸 NAME 🌸

struct amdxdna_drm_query_clock β€” Metadata for a clock. that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

struct amdxdna_drm_query_clock {
    __u8 name[16];
    __u32 freq_mhz;
    __u32 pad;
 };

look at her. three fields. no notes. πŸ’…


πŸ¦‹ Members πŸ¦‹

  • name β€” The clock name. it's a __u8 array of 16, so keep it cute and keep it short, bestie πŸ™ˆ
  • freq_mhz β€” The clock frequency. in MHz, obviously, it's literally in the name 🫢
  • pad β€” Structure padding. it's giving "just here for the alignment", and honestly? we respect the hustle 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/uapi/drm/amdxdna_accel.h β€” go read the whole header, it's the mothership 🌈

and then the full squad, no cap, every single one of them:

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

ok that's the whole page, it's a short one but she ate πŸ’€ no warnings, no exit statuses, no bugs section β€” just a clock struct living her best life.

mwah πŸ’‹ this little love letter lives in ./include/uapi/drm and it's dated October 2026 β€” yes, the future, because this struct is ahead of its time, periodt πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from