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 <boyuan.zhang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c6e9dd0ea8
commit
00740df995
@@ -775,9 +775,11 @@ static int nv_common_early_init(void *handle)
|
|||||||
adev->external_rev_id = adev->rev_id + 0x28;
|
adev->external_rev_id = adev->rev_id + 0x28;
|
||||||
break;
|
break;
|
||||||
case CHIP_NAVY_FLOUNDER:
|
case CHIP_NAVY_FLOUNDER:
|
||||||
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG;
|
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG |
|
||||||
|
AMD_CG_SUPPORT_JPEG_MGCG;
|
||||||
adev->pg_flags = AMD_PG_SUPPORT_VCN |
|
adev->pg_flags = AMD_PG_SUPPORT_VCN |
|
||||||
AMD_PG_SUPPORT_VCN_DPG;
|
AMD_PG_SUPPORT_VCN_DPG |
|
||||||
|
AMD_PG_SUPPORT_JPEG;
|
||||||
adev->external_rev_id = adev->rev_id + 0x32;
|
adev->external_rev_id = adev->rev_id + 0x32;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user