Commit c16e87d6 authored by Aaron Liu's avatar Aaron Liu Committed by Alex Deucher

drm/amdgpu/pm: support smu_post_init for yellow carp

Add smu_post_init support for yellow carp.
Signed-off-by: default avatarAaron Liu <aaron.liu@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 948b1216
......@@ -662,9 +662,6 @@ static int smu_late_init(void *handle)
smu_set_fine_grain_gfx_freq_parameters(smu);
if (adev->asic_type == CHIP_YELLOW_CARP)
return 0;
if (!smu->pm_enabled)
return 0;
......@@ -674,6 +671,9 @@ static int smu_late_init(void *handle)
return ret;
}
if (adev->asic_type == CHIP_YELLOW_CARP)
return 0;
if (!amdgpu_sriov_vf(adev) || smu->od_enabled) {
ret = smu_set_default_od_settings(smu);
if (ret) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment