DF-3610 / fix.diff
--- a/sys/dev/drm/radeon/si_dpm.c +++ b/sys/dev/drm/radeon/si_dpm.c @@ -6354,6 +6354,11 @@ struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; int ret; + if (boot_ps == NULL) { + DRM_ERROR("no boot power state in VBIOS power table\n"); + return -EINVAL; + } + if (si_is_smc_running(rdev)) return -EINVAL; if (pi->voltage_control || si_pi->voltage_control_svi2) |