smu_cmn_dis...th_exception(9)
π smu_cmn_dis...th_exception(9) π
okay bestie, so this one's from the Kernel API Manual and it is literally the "everyone gets turned off except you" function. it's giving main character energy for exactly one dpm feature π
β¨ NAME β¨
smu_cmn_disable_all_features_with_exception β turns off all the dpm features except the one you name in @mask. yeah. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
int smu_cmn_disable_all_features_with_exception (struct smu_context *smu
, enum smu_feature_mask mask );
like, you hand it your smu and your mask and it goes feral turning everything else off. no cap. π₯
π¦ ARGUMENTS π¦
smuβ thesmu_contextpointer, aka the whole situation you're operating on. it's a pointer. it's context. it's smu. iykyk π«Άmaskβ the dpm feature that should not be disabled. this is the one survivor, the final girl, the exception to the rule π- also worth knowing:
SMU_FEATURE_COUNTmeans no exception β literally every dpm feature gets disabled. not one spared. brutal but iconic π©Έ
- also worth knowing:
β RETURN β
0 on success, or a negative error code on failure. so if it's not 0, something went β¨wrongβ¨ and you should probably look at that. π
π§ SEE ALSO π§
- Kernel file
./drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c smu_cmn_wait_for_response(9)smu_cmn_send_smc_msg_with_params_ext(9)smu_cmn_send_smc_msg_with_param(9)smu_msg_v1_send_msg(9)smu_msg_send_async_locked(9)smu_cmn_get_pptable_from_firmware(9)
ngl bestie, if you're disabling all the features, double-check yourmaskfirst.SMU_FEATURE_COUNTis right there and it does not play. π
mwah π that's the whole page! this lil gem lives over in ./drivers/gpu/drm/amd/pm/swsmu and the manual's dated October 2026 β so yeah, mark your calendar, bestie. ποΈπ
π¦ 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