set_platform_caps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

set_platform_caps(9) πŸ’…

okay so bestie, this page is from the Kernel API Manual, and it’s giving β€œtiny private helper during initialization” energy. let’s get into it 🫢

🌸 NAME 🌸

set_platform_caps β€” a Private Function used during initialization. periodt. πŸ’–

✨ SYNOPSIS ✨

int set_platform_caps (struct pp_hwmgr *hwmgr , uint32_t powerplay_caps
);

πŸŽ€ ARGUMENTS πŸŽ€

  • hwmgr β€” Pointer to the hardware manager. iconic little pointer moment, no cap.
  • powerplay_caps β€” the bit array (from BIOS) of capability bits. Exception: the current implementation always returns 1. yes bestie, that’s the exception β€” noted and everything 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file:

./drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c

then these iconic little cross-references, all here, fr fr:


made with πŸ’–, way too much group-chat energy, and zero skipped details β€” source/version: ./drivers/gpu/drm/amd/pm/power..., dated October 2026. πŸŽ€βœ¨

πŸ“¦ where this page comes from