]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/powerplay: disable cks by default on vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 21 Apr 2017 10:33:05 +0000 (18:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:33:11 +0000 (17:33 -0400)
run gpu test auto reboot when enable cks right now.

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 5bb18a9a10562561bdb34eb9394f71edf0fb2269..be2b602fb8b4a779a72877c6a987ee645f517d44 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 ? true : false;
+                       hwmgr->feature_mask & PP_CLOCK_STRETCH_MASK ? false : true;
 
        data->registry_data.disable_water_mark = 0;