Commit e823be13 authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher
Browse files

drm/amdgpu: enable VCN3.0 PG and CG for Sienna_Cichlid



By setting up the flags to the ASIC

Signed-off-by: default avatarLeo Liu <leo.liu@amd.com>
Reviewed-by: default avatarJames Zhu <James.Zhu@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fedac015
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -710,8 +710,8 @@ static int nv_common_early_init(void *handle)
		adev->external_rev_id = adev->rev_id + 0xa;
		break;
	case CHIP_SIENNA_CICHLID:
		adev->cg_flags = 0;
		adev->pg_flags = 0;
		adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG;
		adev->pg_flags = AMD_PG_SUPPORT_VCN;
		adev->external_rev_id = adev->rev_id + 0x28;
		break;
	default: