SRIOV do not need to forece reprogram HW state on init which should be set from host side. Signed-off-by: Lin.Cao <lincao12@xxxxxxx> --- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index 4a6b4ad97f06..a67678ee2d3c 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c @@ -2234,6 +2234,9 @@ static int smu_adjust_power_state_dynamic(struct smu_context *smu, long workload[1]; struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); + if (amdgpu_sriov_vf(adev)) + force_update = false; + if (!skip_display_settings) { ret = smu_display_config_changed(smu); if (ret) { -- 2.45.2