drm/amdgpu/vcn: enable vcn cg for VCN4_0_3
authorJames Zhu <James.Zhu@amd.com>
Sun, 9 Jan 2022 21:04:41 +0000 (16:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:41:36 +0000 (09:41 -0400)
Enable vcn cg for VCN4_0_3.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 1939e88ef421750dcc7ae1840fc6348a25879304..abc10b20c83ccaf10062f804c4b3c83e9fe2739f 100644 (file)
@@ -1096,6 +1096,7 @@ static int soc15_common_early_init(void *handle)
        case IP_VERSION(9, 4, 3):
                adev->asic_funcs = &vega20_asic_funcs;
                adev->cg_flags =
+                       AMD_CG_SUPPORT_VCN_MGCG |
                        AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags =
                        AMD_PG_SUPPORT_JPEG;