amdsmu: Sleep entry/exit hints for PMFWamdsmu_suspend() and amdsmu_resume() for sending hints to the AMD SMUpower management firmware (PMFW) that we are entering and exitings2idle. We also dump s
amdsmu: Sleep entry/exit hints for PMFWamdsmu_suspend() and amdsmu_resume() for sending hints to the AMD SMUpower management firmware (PMFW) that we are entering and exitings2idle. We also dump sleep metrics once we tell it we're exiting sleep,so the relevant metrics are updated.Register these as acpi_post_dev_suspend and acpi_post_dev_resumeeventhandlers.Reviewed by: olceApproved by: olceSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D48721
show more ...
amdsmu: Initial work on a driver for the AMD SMUStart work on a driver for the AMD SMU (system management unit), whichwill eventually be used for getting S0ix statistics (e.g. how long theCPU has
amdsmu: Initial work on a driver for the AMD SMUStart work on a driver for the AMD SMU (system management unit), whichwill eventually be used for getting S0ix statistics (e.g. how long theCPU has spent in the deepest - S0i3 - sleep state during the lastsleep) as well as letting PMFW (power management firmware, running onthe SMU) know when we intend to enter and exit sleep. It is what'sresponsible for actually turning off the VDD line to the CPU.With this commit, amdsmu is just able to get the SMU's firmware versionon AMD Rembrandt, Phoenix, and Strix Point CPUs.This is the equivalent to amd-pmc on Linux.Reviewed by: cem, kib, mckusickApproved by: kib, mckusickSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D48683