Skip to content

Commit 00740df

Browse files
Boyz-Radeonalexdeucher
authored andcommitted
drm/amdgpu: enable JPEG3.0 PG and CG for navy_flounder
Enable JPEG3.0 PG and CG for navy_flounder by setting up the flags to the ASIC Signed-off-by: Boyuan Zhang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent c6e9dd0 commit 00740df

File tree

1 file changed

+4
-2
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+4
-2
lines changed

drivers/gpu/drm/amd/amdgpu/nv.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,11 @@ static int nv_common_early_init(void *handle)
775775
adev->external_rev_id = adev->rev_id + 0x28;
776776
break;
777777
case CHIP_NAVY_FLOUNDER:
778-
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG;
778+
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG |
779+
AMD_CG_SUPPORT_JPEG_MGCG;
779780
adev->pg_flags = AMD_PG_SUPPORT_VCN |
780-
AMD_PG_SUPPORT_VCN_DPG;
781+
AMD_PG_SUPPORT_VCN_DPG |
782+
AMD_PG_SUPPORT_JPEG;
781783
adev->external_rev_id = adev->rev_id + 0x32;
782784
break;
783785

0 commit comments

Comments
 (0)