]> Git Repo - linux.git/commitdiff
drm/amdgpu/jpeg: enable jpeg cg for VCN4_0_3
authorJames Zhu <[email protected]>
Sun, 9 Jan 2022 21:03:25 +0000 (16:03 -0500)
committerAlex Deucher <[email protected]>
Fri, 9 Jun 2023 13:41:29 +0000 (09:41 -0400)
Enable jpeg cg for VCN4_0_3.

Signed-off-by: James Zhu <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 3221522e71e893c98e95bd6f1646130500e34604..d68ebf6b6856e8a379d0badb55a60d479ddd1aa7 100644 (file)
@@ -1095,7 +1095,8 @@ static int soc15_common_early_init(void *handle)
                break;
        case IP_VERSION(9, 4, 3):
                adev->asic_funcs = &vega20_asic_funcs;
-               adev->cg_flags = 0;
+               adev->cg_flags =
+                       AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags = 0;
                break;
        default:
This page took 0.058961 seconds and 4 git commands to generate.