From: Prike Liang <prike.li...@amd.com> Should populate DPM clocks tables during hw init,otherwise will suffer from invalidate table.
Signed-off-by: Prike Liang <prike.li...@amd.com> Reviewed-by: Evan Quan <evan.q...@amd.com> Reviewed-by: Aaron Liu <aaron....@amd.com> Signed-off-by: Alex Deucher <alexander.deuc...@amd.com> --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index b4f89c3c2b43..8c61778f8f74 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -1042,9 +1042,6 @@ static int smu_smc_table_hw_init(struct smu_context *smu, struct amdgpu_device *adev = smu->adev; int ret; - if (adev->flags & AMD_IS_APU) - return 0; - if (smu_is_dpm_running(smu) && adev->in_suspend) { pr_info("dpm has been enabled\n"); return 0; -- 2.20.1 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx