]> Git Repo - linux.git/commitdiff
drm/amdgpu: enable VCN2.0 DPG mode
authorLeo Liu <[email protected]>
Wed, 15 May 2019 17:58:20 +0000 (13:58 -0400)
committerAlex Deucher <[email protected]>
Fri, 21 Jun 2019 23:59:32 +0000 (18:59 -0500)
It will be the default for VCN2.x family

Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: James Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/nv.c

index a3692dba64fffeb980ea71ccb111d3faf4993f49..25e9e96f008bec9ad054cd216ffef0e1889ae810 100644 (file)
@@ -505,7 +505,8 @@ static int nv_common_early_init(void *handle)
                        AMD_CG_SUPPORT_VCN_MGCG |
                        AMD_CG_SUPPORT_BIF_MGCG |
                        AMD_CG_SUPPORT_BIF_LS;
-               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 + 0x1;
                break;
        default:
This page took 0.060224 seconds and 4 git commands to generate.