diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2019-04-18 15:55:27 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:27 -0500 |
commit | 6ff687319f68e8cb3c8127c904250c71df945d54 (patch) | |
tree | 2e553933efbf48898821c733f68feb0a33844b2c /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | 6e4cb4e8b31faf12575ac01dac47d2f87f9ac245 (diff) | |
download | linux-6ff687319f68e8cb3c8127c904250c71df945d54.tar.bz2 |
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.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 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: |