aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zhu <[email protected]>2022-01-09 16:03:25 -0500
committerAlex Deucher <[email protected]>2023-06-09 09:41:29 -0400
commit380302f8b894a11fcd84a08aadf6a858eb003b0b (patch)
tree0cacec57558a7bfa5403caef19fe0fcca918193c
parentb889ef4ac98837838c38f7b9f72bba2f33ee367d (diff)
drm/amdgpu/jpeg: enable jpeg cg for VCN4_0_3
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]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3221522e71e8..d68ebf6b6856 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -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: