diff options
author | Yong Zhao <yong.zhao@amd.com> | 2016-09-08 15:37:04 -0400 |
---|---|---|
committer | Yong Zhao <yong.zhao@amd.com> | 2016-09-12 12:23:07 -0400 |
commit | c97ee7bb2164bf06a8bd6726cfae1844e0683ef2 (patch) | |
tree | 21524ad911b5ef521baa88fa0b5fe1c45008344b /drivers | |
parent | cf26a3db2777236e8a0e640cace445d83677dbc8 (diff) |
drm/amdgpu: Disable certain CG on Carrizo to workaround KFD suspend/resume
After suspend/resume, kfdtest may cause hard hang on Carrizo, which
is caused by certain clock gating feature. We choose to work around the
problem by disabling it.
Change-Id: Ifb358cb96814819e8e8c7a2c59671e48e75b900b
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index c60f0f3c92f4..595e0f097a5e 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c @@ -1569,9 +1569,8 @@ static int vi_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_RLC_LS | AMD_CG_SUPPORT_GFX_CP_LS | AMD_CG_SUPPORT_GFX_CGTS | - AMD_CG_SUPPORT_GFX_MGLS | AMD_CG_SUPPORT_GFX_CGTS_LS | - AMD_CG_SUPPORT_GFX_CGCG | + /*AMD_CG_SUPPORT_GFX_CGCG |*/ AMD_CG_SUPPORT_GFX_CGLS | AMD_CG_SUPPORT_BIF_LS | AMD_CG_SUPPORT_HDP_MGCG | |