set_platform_caps(9)
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 returns1. 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:
set_hw_cap(9)get_platform_power_management_table(9)init_dpm_2_parameters(9)init_clock_voltage_dependency(9)init_over_drive_limits(9)init_thermal_controller(9)get_tonga_state_array(9)get_powerplay_table_entry_v1_0(9)
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
- 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