drm/amdgpu: drop fclk/gfxclk ratio setting
authorEvan Quan <evan.quan@amd.com>
Wed, 12 Dec 2018 06:56:14 +0000 (14:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Dec 2018 19:52:29 +0000 (14:52 -0500)
Since this is not needed any more on the latest SMC firmware.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c

index 3367dd30cdd0d1c8c8482afb436885383a736103..3b7fce5d7258eb71f2b8fbfa01c82c7143124ae9 100644 (file)
@@ -130,7 +130,7 @@ static void vega20_set_default_registry_data(struct pp_hwmgr *hwmgr)
        data->registry_data.disable_auto_wattman = 1;
        data->registry_data.auto_wattman_debug = 0;
        data->registry_data.auto_wattman_sample_period = 100;
-       data->registry_data.fclk_gfxclk_ratio = 0x3F6CCCCD;
+       data->registry_data.fclk_gfxclk_ratio = 0;
        data->registry_data.auto_wattman_threshold = 50;
        data->registry_data.gfxoff_controlled_by_driver = 1;
        data->gfxoff_allowed = false;