drm/amdgpu: enable VCN3.0 DPG for navy_flounder
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 1 Jul 2020 21:59:51 +0000 (17:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 16:47:14 +0000 (12:47 -0400)
Enable VCN3.0 DPG for navy_flounder by setting up the flag 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>
drivers/gpu/drm/amd/amdgpu/nv.c

index 13efe87..7f2af24 100644 (file)
@@ -776,7 +776,8 @@ static int nv_common_early_init(void *handle)
                break;
        case CHIP_NAVY_FLOUNDER:
                adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG;
-               adev->pg_flags = AMD_PG_SUPPORT_VCN;
+               adev->pg_flags = AMD_PG_SUPPORT_VCN |
+                       AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x32;
                break;