STRUCT AMDXDNA_DRM_ATTRIBUTE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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