diff options
author | Boyuan Zhang <boyuan.zhang@amd.com> | 2019-07-18 17:39:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-02 10:30:41 -0500 |
commit | 400e9c5ea66ae2ec101992b6f3af8441c5b58497 (patch) | |
tree | 37a548656488bf33879d4ee33c9bf6ca539c9784 /drivers/gpu | |
parent | 1fbed280a2445aba3700eae72b31a623311b2c2e (diff) |
drm/amdgpu: enable DPG mode for Navi12
Enable Dynamic Power Gating VCN for Navi12.
Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 2 |
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 b97d48608ccc..14c501ab5df3 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -615,7 +615,7 @@ static int nv_common_early_init(void *handle) break; case CHIP_NAVI12: adev->cg_flags = 0; - adev->pg_flags = 0; + adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG; adev->external_rev_id = adev->rev_id + 0xa; break; default: |