diff options
author | Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> | 2016-10-31 10:11:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-11 10:20:57 -0500 |
commit | f8bdce3e868742f32ebab2e377fb35ace47415c4 (patch) | |
tree | 6ad8f9d65f4c44e233d31b213a05b6760cd43412 | |
parent | 81c1514bf8db9aee71bc6e610a62d64a865e06a4 (diff) |
drm/amdgpu: enable UVD clockgating in Polaris-10/11
UVD clocks are set to be disabled, when not in use.
Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tom StDenis <Tom.StDenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 52d0a83e6ad1..820af9293655 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -934,12 +934,12 @@ static int vi_common_early_init(void *handle) | |||
934 | adev->external_rev_id = adev->rev_id + 0x14; | 934 | adev->external_rev_id = adev->rev_id + 0x14; |
935 | break; | 935 | break; |
936 | case CHIP_POLARIS11: | 936 | case CHIP_POLARIS11: |
937 | adev->cg_flags = 0; | 937 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG; |
938 | adev->pg_flags = 0; | 938 | adev->pg_flags = 0; |
939 | adev->external_rev_id = adev->rev_id + 0x5A; | 939 | adev->external_rev_id = adev->rev_id + 0x5A; |
940 | break; | 940 | break; |
941 | case CHIP_POLARIS10: | 941 | case CHIP_POLARIS10: |
942 | adev->cg_flags = 0; | 942 | adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG; |
943 | adev->pg_flags = 0; | 943 | adev->pg_flags = 0; |
944 | adev->external_rev_id = adev->rev_id + 0x50; | 944 | adev->external_rev_id = adev->rev_id + 0x50; |
945 | break; | 945 | break; |