Add a bios_output[] to amd_pmf_dev struct and store the latest values for BIOS output policies when applying PMF policies. This enables the AMD PMF util layer to expose these BIOS outputs alongside selected thermal and power metrics to user space via /dev/amdpmf_interface and a new IOCTL, supporting real-time monitoring tools such as SystemDeck.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -66,6 +66,7 @@ struct amd_pmf_info { · 65 unmodified lines | |||
| 66 | 66 | ||
| 67 | /* BIOS parameters */ | 67 | /* BIOS parameters */ |
| 68 | __u32 bios_input[AMD_PMF_BIOS_PARAMS_MAX]; | 68 | __u32 bios_input[AMD_PMF_BIOS_PARAMS_MAX]; |
| 69 | __u32 bios_output[AMD_PMF_BIOS_PARAMS_MAX]; | ||
| 69 | }; | 70 | }; |
| 70 | 71 | ||
| 71 | #endif /* _UAPI_LINUX_AMD_PMF_H */ | 72 | #endif /* _UAPI_LINUX_AMD_PMF_H */ |