STRUCT AMDXDNA_DRM_GET_POWER_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct amdxdna_drm_get_power_mode(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this is the page for struct amdxdna_drm_get_power_mode, and honestly? It's giving "small but iconic." πŸŽ€


✨ NAME ✨

struct amdxdna_drm_get_power_mode β€” the struct that lets you get the configured power mode. That's it, that's the whole vibe check. πŸ¦‹


🌸 SYNOPSIS 🌸

struct amdxdna_drm_get_power_mode {
    __u8 power_mode;
    __u8 pad[7];
 };

look at that. two fields. absolutely no filler. we love a minimalist king πŸ‘‘


🫢 Members 🫢

  • power_mode β€” the actual mode type, and it comes from enum amdxdna_power_mode_type. this is the whole point of the struct ngl πŸ’–
  • pad β€” structure padding. it's just there holding space, main character energy of the supporting cast 😭

πŸ”₯ SEE ALSO πŸ”₯

First up, the source of truth, no cap:

  • Kernel file ./include/uapi/drm/amdxdna_accel.h

and then, brace yourself bestie, the whole entire friend group πŸ«‚:

  • 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_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)
pro tip from me to you πŸ’…: peep struct amdxdna_drm_set_power_mode(9) at the bottom there β€” that's the sibling that sets it. this page is the getter. know the difference, iykyk ✨

and that's the page!! short, sweet, ate and left no crumbs πŸ“

cute lil sign-off: this one lives in ./include/uapi/drm, dated October 2026, and it's part of the Kernel API Manual. periodt. πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from