]> git.dujemihanovic.xyz Git - linux.git/commitdiff
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 abc10b20c83ccaf10062f804c4b3c83e9fe2739f..ee00302950c23fb4fff1766c5a5d0aad01385eb7 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: