DF-4074 / fix.diff
--- a/sys/dev/drm/amd/powerplay/smumgr/vegam_smumgr.c +++ b/sys/dev/drm/amd/powerplay/smumgr/vegam_smumgr.c @@ vegam_update_uvd_smc_table @@ struct phm_ppt_v1_information *table_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); + if (table_info->mm_dep_table == NULL) + return -EINVAL; + smu_data->smc_state_table.UvdBootLevel = 0; @@ vegam_update_vce_smc_table @@ struct phm_ppt_v1_information *table_info = (struct phm_ppt_v1_information *)(hwmgr->pptable); + if (table_info->mm_dep_table == NULL) + return -EINVAL; + if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, |