aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/nv.c
diff options
context:
space:
mode:
authorJack Xiao <Jack.Xiao@amd.com>2019-04-18 15:55:27 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:27 -0500
commit6ff687319f68e8cb3c8127c904250c71df945d54 (patch)
tree2e553933efbf48898821c733f68feb0a33844b2c /drivers/gpu/drm/amd/amdgpu/nv.c
parentdrm/amdgpu: enable vcn dpm scheme for navi (diff)
downloadlinux-dev-6ff687319f68e8cb3c8127c904250c71df945d54.tar.xz
linux-dev-6ff687319f68e8cb3c8127c904250c71df945d54.zip
drm/amdgpu/nv: set vcn pg flag
Enable VCN power gating by default. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Huang Rui <ray.huang@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.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 97dd2e668765..ae3a407b16a3 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -505,7 +505,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: