[PATCH] drm/amdgpu/vcn: enable VCN CG for VCN4_0_4

Alex Deucher alexander.deucher at amd.com
Tue May 3 20:28:56 UTC 2022


From: James Zhu <James.Zhu at amd.com>

Enable VCN CG for VCN4_0_4.

Signed-off-by: James Zhu <James.Zhu at amd.com>
Reviewed-by: Sonny Jiang <sonny.jiang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index a75860e6c3b4..d2ea7db18141 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -549,6 +549,7 @@ static int soc21_common_early_init(void *handle)
 		break;
 	case IP_VERSION(11, 0, 2):
 		adev->cg_flags =
+			AMD_CG_SUPPORT_VCN_MGCG |
 			AMD_CG_SUPPORT_JPEG_MGCG;
 		adev->pg_flags =
 			AMD_PG_SUPPORT_JPEG;
-- 
2.35.1



More information about the amd-gfx mailing list