aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zhu <[email protected]>2020-07-23 12:44:51 -0400
committerAlex Deucher <[email protected]>2020-10-12 14:00:54 -0400
commit467db422cb52abf90eaa06b445ab2bdb5d99976b (patch)
treeb4ee8c5a07f77bbc4f97785dfe14f9cdec4a62f6
parent0c2c02b66c672ebb728b1f27a60e0bf3b6dce85c (diff)
drm/amdgpu/vcn: enable VCN DPG mode for dimgrey_cavefish
Enable VCN DPG mode for dimgrey_cavefish. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-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: