aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaojie Yuan <xiaojie.yuan@amd.com>2019-08-01 03:22:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 13:47:47 -0400
commit65872e59d67e67a343b555734abe2247dd6f7902 (patch)
tree136aec74125ed71bf31ce259005b555823c314ba
parentca51678db44fbc7d4018da47015cb5d9317de282 (diff)
drm/amdgpu: enable vcn clock gating for navi12
enables vcn medium grained clock gating Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index a7836d3a08c4..82da121f7356 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -654,7 +654,8 @@ static int nv_common_early_init(void *handle)
654 AMD_CG_SUPPORT_MC_MGCG | 654 AMD_CG_SUPPORT_MC_MGCG |
655 AMD_CG_SUPPORT_MC_LS | 655 AMD_CG_SUPPORT_MC_LS |
656 AMD_CG_SUPPORT_ATHUB_MGCG | 656 AMD_CG_SUPPORT_ATHUB_MGCG |
657 AMD_CG_SUPPORT_ATHUB_LS; 657 AMD_CG_SUPPORT_ATHUB_LS |
658 AMD_CG_SUPPORT_VCN_MGCG;
658 adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG; 659 adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
659 adev->external_rev_id = adev->rev_id + 0xa; 660 adev->external_rev_id = adev->rev_id + 0xa;
660 break; 661 break;