drm/amdgpu: enable VCN3.0 PG and CG for Sienna_Cichlid
authorLeo Liu <leo.liu@amd.com>
Tue, 3 Dec 2019 14:18:51 +0000 (09:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:09 +0000 (01:59 -0400)
By setting up the flags to the ASIC

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 587d0b6821f8a9da4d52b2e4df86de3795bffc83..80428ae470c1df6141782b0f3b7af3bdc73ff4c3 100644 (file)
@@ -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: