amdsmu_enter and amdsmu_exit 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.
Added amdsmu_enter_sleep and amdsmu_exit_sleep device methods to the device interface for these functions. In the Do let me know if there's a better way to do one-off methods like this than adding them to device_if.m. I don't think this can just be on suspend and resume methods in any case, as I believe the AMD SMU exit hint must be called before the SPMC's exit hook and the entry hint must be called after the SPMC's entry.
acpi_EnterSleepState looks for the first device in the amdsmu devclass to call these entry/exit methods on.