smu_v15_0_8_...enabled_mask(9)
π
smu_v15_0_8_get_enabled_mask π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function page and it's honestly giving "small but mighty" energy, let's get into it π«Ά
πΈ NAME πΈ
smu_v15_0_8_get_enabled_mask β get enabled SMU features, and yes it's the 128-bit kind π lowkey iconic.
β¨ SYNOPSIS β¨
int smu_v15_0_8_get_enabled_mask (struct smu_context *smu , struct
smu_feature_bits *feature_mask );
like, that's the whole signature, no cap π
π ARGUMENTS π
smuβ the SMU context, bestie. it's literally the main character of this whole thing πfeature_maskβ the feature mask structure π¦ this is where the bits end up living
π DESCRIPTION π
okay so here's the tea π SMU 15 returns all 128 feature bits in one single message, and it does it via out_args[0..3] β one message, all the bits, slay β¨
but for backward compatibility reasons (iykyk π), this function returns only the first 64 bits. the other 64 are just... sitting there. living their truth. not returned. π
ngl if you were expecting all 128, this is your reminder that this function is a lil old-school-friendly and only hands you the first half. periodt π
π₯ RETURN π₯
0on success π- negative
errnoon failure π
β SEE ALSO β
- the kernel file
./drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.cβ go read it, it's where all the drama actually happens ππ
and that's the whole page, bestie π§π this lil droplet of documentation came from ./drivers/gpu/drm/amd/pm/swsmu... and it's dated October 2026 β so yeah, mark your calendar, screenshot it, send it to the group chat ππ bye pookie π«Ά
π¦ 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