summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorXiaojie Yuan <xiaojie.yuan@amd.com>2019-07-02 12:52:52 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:18:01 -0500
commit0377b08823418e418bcd50d950d2baaeb8b7a1aa (patch)
treefb3c7eaefaf11230f248e6b2fdceb0ba7deea46c /drivers/gpu/drm/amd/amdgpu/nv.c
parente017bb8035ce890ff5a4cded2e8b91b814fb7b21 (diff)
downloadtalos-op-linux-0377b08823418e418bcd50d950d2baaeb8b7a1aa.tar.gz
talos-op-linux-0377b08823418e418bcd50d950d2baaeb8b7a1aa.zip
drm/amdgpu/vcn: enable indirect DPG SRAM mode for navi14
Enable VCN dynamic powergating for navi14. Signed-off-by: Xiaojie Yuan <xiaojie.yuan@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/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 3813ed6b9e79..800321f99857 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -589,7 +589,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:
OpenPOWER on IntegriCloud