STRUCT AMDXDNA_CU_CONFIG(9)
π struct amdxdna_cu_config β configuration for one CU π
okay bestie, so this is a page straight out of the Kernel API Manual, and it's literally just one tiny little struct that holds the config for one CU. like, one. single. CU. no cap. it's small but it's doing its job and honestly? we stan a minimal king π
β¨ SYNOPSIS β¨
struct amdxdna_cu_config {
__u32 cu_bo;
__u8 cu_func;
__u8 pad[3];
};
that's it. that's the whole vibe. three members, one of which is literally just padding, and yet she's iconic π
πΈ Members πΈ
cu_boβ a__u32, and it's the CU configuration buffer bo handle. bo = buffer object, in case you were wondering, and this is the handle to the one that holds the config. π«Άcu_funcβ a__u8holding the function of a CU. like, what this CU is for. her whole purpose. main character energy fr πpadβ__u8 pad[3], and it is MBZ β Must Be Zero. do not touch. do not fill. do not get creative with it. leave it at zero or the vibe check will not go well for you ππ
π₯ SEE ALSO π₯
the whole friend group, in order, no one gets left out (iykyk):
- Kernel file
./include/uapi/drm/amdxdna_accel.h - struct
amdxdna_drm_create_hwctx(9) - struct
amdxdna_drm_destroy_hwctx(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_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 and a lil heads up: pad being MBZ is not a suggestion, bestie. zero it out. that's the whole rule. π
and that's the page!! sourced from ./include/uapi/drm, dated October 2026, and this whole struct amdxdna_cu_config(9) situation ate and left no crumbs. mwah πβ¨π§ββοΈ
π¦ 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