Skip to content

Commit

Permalink
drm/amdgpu: enable VCN DPG for GC IP v11.0.4
Browse files Browse the repository at this point in the history
[ Upstream commit e1d900d ]

Enable VCN Dynamic Power Gating control for GC IP v11.0.4.

Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <veerabadhran.gopalakrishnan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0, 6.1
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
skjamadar authored and gregkh committed Jan 18, 2023
1 parent e30be0a commit 3092787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/soc21.c
Expand Up @@ -657,6 +657,7 @@ static int soc21_common_early_init(void *handle)
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG |
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_VCN_DPG |
AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_JPEG;
adev->external_rev_id = adev->rev_id + 0x1;
Expand Down

0 comments on commit 3092787

Please sign in to comment.