drm/amdgpu/vcn: enable vcn pg for VCN4_0_3
authorJames Zhu <James.Zhu@amd.com>
Sun, 9 Jan 2022 21:05:07 +0000 (16:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:41:39 +0000 (09:41 -0400)
Enable vcn pg 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 abc10b2..ee00302 100644 (file)
@@ -1099,6 +1099,7 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_VCN_MGCG |
                        AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags =
+                       AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_JPEG;
                break;
        default: