smu_v15_0_8_...enabled_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

  • 0 on success πŸŽ‰
  • negative errno on 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