diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-04-13 12:41:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:22:34 -0400 |
commit | b6711d1b88fea8ea663172d1d0d6721f48a846bf (patch) | |
tree | 66003868a0130d6d49628090e401fc8c45988ade | |
parent | 03c335d3d505b77bac5cba37d49d4a098a383563 (diff) |
drm/amdgpu: enable gmc clockgating for ST
Acked-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 0e9d3821a712..a330d70ae202 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -1119,7 +1119,10 @@ static int vi_common_early_init(void *handle) | |||
1119 | case CHIP_STONEY: | 1119 | case CHIP_STONEY: |
1120 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | | 1120 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | |
1121 | AMD_CG_SUPPORT_GFX_MGCG | | 1121 | AMD_CG_SUPPORT_GFX_MGCG | |
1122 | AMD_CG_SUPPORT_GFX_MGLS; | 1122 | AMD_CG_SUPPORT_GFX_MGLS | |
1123 | AMD_CG_SUPPORT_BIF_LS | | ||
1124 | AMD_CG_SUPPORT_HDP_MGCG | | ||
1125 | AMD_CG_SUPPORT_HDP_LS; | ||
1123 | adev->pg_flags = 0; | 1126 | adev->pg_flags = 0; |
1124 | adev->external_rev_id = adev->rev_id + 0x1; | 1127 | adev->external_rev_id = adev->rev_id + 0x1; |
1125 | break; | 1128 | break; |