summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>2023-07-27 12:40:20 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 22:35:02 +0200
commit6be6e74b7d58d4c214aef7b032333c5dd9d56f38 (patch)
treed6f797d35b4fc6f7f828a30936fa9dd83e947696 /drivers/gpu/drm/amd/amdgpu/soc21.c
parentdrm/amdgpu/discovery: add VCN 4.0.5 Support (diff)
downloadlinux-6be6e74b7d58d4c214aef7b032333c5dd9d56f38.tar.xz
linux-6be6e74b7d58d4c214aef7b032333c5dd9d56f38.zip
drm/amdgpu: enable PG flags for VCN
Enable PG flags for VCN and Jpeg on IP 11_5_0 Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 6416e9575f36..ef297b41623b 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -695,6 +695,8 @@ 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_DPG |
+ AMD_PG_SUPPORT_VCN |
+ AMD_PG_SUPPORT_JPEG |
AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x1;
break;