drm/amd/powerplay: enable CKS by default on vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 31 May 2017 11:53:04 +0000 (19:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jun 2017 20:00:20 +0000 (16:00 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c

index 971f78983187edef8cbd29b4d66aeeae9deb472d..43812d2c84648170142c1f15dcddf9a13f579c77 100644 (file)
@@ -124,7 +124,7 @@ static void vega10_set_default_registry_data(struct pp_hwmgr *hwmgr)
        }
 
        data->registry_data.clock_stretcher_support =
-                       hwmgr->feature_mask & PP_CLOCK_STRETCH_MASK ? false : true;
+                       hwmgr->feature_mask & PP_CLOCK_STRETCH_MASK ? true : false;
 
        data->registry_data.ulv_support =
                        hwmgr->feature_mask & PP_ULV_MASK ? true : false;