STRUCT AMDXDNA_DRM_ATTRIBUTE_STATE(9)
π struct amdxdna_drm_attribute_state(9) π
okay so bestie, welcome to the Kernel API Manual β yes it's a kernel page, yes it's still gonna eat, just trust me π«Ά this one's a lil struct and she's honestly so simple it's giving main character energy with zero drama.
β¨ NAME β¨
struct amdxdna_drm_attribute_state β literally just the state of an attribute, that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
ok so here's the shape of her, copy it exactly, no cap:
struct amdxdna_drm_attribute_state {
__u8 state;
__u8 pad[7];
};
look at that. tiny. iconic. the pad is doing absolutely nothing and yet she showed up π
π¦ Members π¦
stateβ this is the whole personality ngl: it's either enabled or disabled. that's it. binary queen πpadβ MBZ, bestie. Must Be Zero. do not be cute and put random stuff in there π it's padding, leave her alone, let her be zero.
π₯ SEE ALSO π₯
okay so she does not exist alone, she's part of a whole friend group and you will be meeting all of them, sorry, i don't make the rules (the kernel does):
Kernel file ./include/uapi/drm/amdxdna_accel.h β that's where she lives btw, the header. 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_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).
like. that's a lot of friends. she's an extrovert fr fr π
friendly reminder bestie: pad is MBZ. zero. nada. nothing. i'm not gonna say it again (i will say it again) π
β ok that's the page!! this little struct lives in ./include/uapi/drm, and she was documented way back in October 2026 β shoutout to that date, she's timeless honestly π§ mwah, go forth and pad responsibly π
π¦ 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