diff options
author | Shirish S <shirish.s@amd.com> | 2018-02-04 22:53:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-06 00:05:22 -0500 |
commit | fb4bbba2775399149ca902f31eb5c46cc7a8d8b8 (patch) | |
tree | c0476b7d66a38dc92f27a9d216b7bfe5673c5369 /drivers/gpu/drm/amd/amdgpu/vi.c | |
parent | 7e24a3ea825e546487c3fc47f8cbf6512f6c9e8c (diff) |
drm/amdgpu: re-enable CGCG on CZ and disable on ST
The CGCG feature on Stoney is causing GFX related
issues such as freezes and blank outs.
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Arindam Nath <arindam.nath@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 5bd10f52ca8a..1e3e05a11f7a 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -1022,6 +1022,7 @@ static int vi_common_early_init(void *handle) | |||
1022 | AMD_CG_SUPPORT_GFX_CP_LS | | 1022 | AMD_CG_SUPPORT_GFX_CP_LS | |
1023 | AMD_CG_SUPPORT_GFX_CGTS | | 1023 | AMD_CG_SUPPORT_GFX_CGTS | |
1024 | AMD_CG_SUPPORT_GFX_CGTS_LS | | 1024 | AMD_CG_SUPPORT_GFX_CGTS_LS | |
1025 | AMD_CG_SUPPORT_GFX_CGCG | | ||
1025 | AMD_CG_SUPPORT_GFX_CGLS | | 1026 | AMD_CG_SUPPORT_GFX_CGLS | |
1026 | AMD_CG_SUPPORT_BIF_LS | | 1027 | AMD_CG_SUPPORT_BIF_LS | |
1027 | AMD_CG_SUPPORT_HDP_MGCG | | 1028 | AMD_CG_SUPPORT_HDP_MGCG | |
@@ -1048,7 +1049,6 @@ static int vi_common_early_init(void *handle) | |||
1048 | AMD_CG_SUPPORT_GFX_CP_LS | | 1049 | AMD_CG_SUPPORT_GFX_CP_LS | |
1049 | AMD_CG_SUPPORT_GFX_CGTS | | 1050 | AMD_CG_SUPPORT_GFX_CGTS | |
1050 | AMD_CG_SUPPORT_GFX_CGTS_LS | | 1051 | AMD_CG_SUPPORT_GFX_CGTS_LS | |
1051 | AMD_CG_SUPPORT_GFX_CGCG | | ||
1052 | AMD_CG_SUPPORT_GFX_CGLS | | 1052 | AMD_CG_SUPPORT_GFX_CGLS | |
1053 | AMD_CG_SUPPORT_BIF_LS | | 1053 | AMD_CG_SUPPORT_BIF_LS | |
1054 | AMD_CG_SUPPORT_HDP_MGCG | | 1054 | AMD_CG_SUPPORT_HDP_MGCG | |