From: Rex Zhu Date: Wed, 31 May 2017 11:53:04 +0000 (+0800) Subject: drm/amd/powerplay: enable CKS by default on vega10. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=117a48a7add55e6d9e84a23fe585c6a648096a64;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/amd/powerplay: enable CKS by default on vega10. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c index 971f78983187..43812d2c8464 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c @@ -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;