summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2019-05-15 13:58:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:32 -0500
commit157710ea4d61d6440790f52655fd4af09165a70a (patch)
tree365fc4eab24b14c5309577ea3e2ddf26d30dd942 /drivers/gpu/drm/amd/amdgpu/nv.c
parent7282da0b3ac9453bc98fda0f0e28a11549332454 (diff)
downloadlinux-157710ea4d61d6440790f52655fd4af09165a70a.tar.bz2
drm/amdgpu: enable VCN2.0 DPG mode
It will be the default for VCN2.x family Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index a3692dba64ff..25e9e96f008b 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -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: