summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorJames Zhu <James.Zhu@amd.com>2020-07-23 12:44:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-10-12 14:00:54 -0400
commit467db422cb52abf90eaa06b445ab2bdb5d99976b (patch)
treeb4ee8c5a07f77bbc4f97785dfe14f9cdec4a62f6 /drivers/gpu/drm/amd/amdgpu
parent0c2c02b66c672ebb728b1f27a60e0bf3b6dce85c (diff)
downloadlinux-467db422cb52abf90eaa06b445ab2bdb5d99976b.tar.bz2
drm/amdgpu/vcn: enable VCN DPG mode for dimgrey_cavefish
Enable VCN DPG mode for dimgrey_cavefish. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 90ff9cdcb924..94ccacd786ce 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -905,7 +905,7 @@ static int nv_common_early_init(void *handle)
break;
case CHIP_DIMGREY_CAVEFISH:
adev->cg_flags = 0;
- adev->pg_flags = 0;
+ adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
adev->external_rev_id = adev->rev_id + 0x3c;
break;
default: