--- a/sys/dev/drm/radeon/ni_dpm.c +++ b/sys/dev/drm/radeon/ni_dpm.c @@ -3586,6 +3586,11 @@ int ni_dpm_enable(struct radeon_device *rdev) 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 (pi->gfx_clock_gating) ni_cg_clockgating_default(rdev); if (btc_dpm_enabled(rdev))