STRUCT AMDXDNA_DRM_GET_POWER_MODE(9)
π 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 fromenum 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
- 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