--- a/sys/dev/drm/amd/powerplay/hwmgr/pp_psm.c +++ b/sys/dev/drm/amd/powerplay/hwmgr/pp_psm.c @@ -102,6 +102,8 @@ int psm_fini_power_state_table(struct pp_hwmgr *hwmgr) kfree(hwmgr->current_ps); kfree(hwmgr->request_ps); kfree(hwmgr->ps); + hwmgr->boot_ps = NULL; + hwmgr->uvd_ps = NULL; hwmgr->request_ps = NULL; hwmgr->ps = NULL; hwmgr->current_ps = NULL;