amdsmu_suspend and amdsmu_resume for sending hints to the AMD SMU power management firmware (PMFW) that we are entering and exiting sleep. We also dump sleep metrics once we tell it we're exiting sleep, so the relevant metrics are updated.
If building for ACPI, set the ACPI_PMC suspend and resume methods added in D48735. These are then called in the acpi_EnterSleepState() function after the SPMC's suspend method (if there is one) and before its resume method respectively.
I don't love the idea of stuffing acpi_EnterSleepState() with all these PMC method calls, but not sure what a more elegant solution to this is. The SMU calls must necessarily be done after and before the equivalent SPMC calls respectively.