summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaojie Yuan <xiaojie.yuan@amd.com>2019-07-02 12:49:41 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-07-18 14:18:00 -0500
commit03917df7e510b4987c0b5bf7e05edf356c03e939 (patch)
treedd32ad4a9d6e3d00fcf13a3bed67d94b8c32b76c
parentc5cc14e34d62cac69d39a556c1b4761099404dfe (diff)
drm/amdgpu/nv: set vcn pg flag for navi14
Enable VCN power gating by default. Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-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 9e5a01663354..3813ed6b9e79 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -589,7 +589,7 @@ 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 = 0;
+ adev->pg_flags = AMD_PG_SUPPORT_VCN;
adev->external_rev_id = adev->rev_id + 0x1; /* ??? */
break;
default: