diff options
author | Sathishkumar S <sathishkumar.sundararaju@amd.com> | 2022-01-28 11:21:18 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-17 01:30:03 +0300 |
commit | 35c27d9578356762e7421f16d61b91ab46dfabee (patch) | |
tree | 90d163d46db1a17c86a87cba5c7d22dfefcb960f /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | b67f00e06f36192da513ac80148b000fbc5b2717 (diff) | |
download | linux-35c27d9578356762e7421f16d61b91ab46dfabee.tar.xz |
drm/amdgpu: update vcn/jpeg PG flags for VCN 3.1.1
update vcn and jpeg power gating flags for VCN 3.1.1
Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: James Zhu <James.Zhu@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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 66adc4f1aaa8..4b39f27c7d4a 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -909,7 +909,9 @@ static int nv_common_early_init(void *handle) break; case IP_VERSION(10, 3, 7): adev->cg_flags = 0; - adev->pg_flags = 0; + adev->pg_flags = AMD_PG_SUPPORT_VCN | + AMD_PG_SUPPORT_VCN_DPG | + AMD_PG_SUPPORT_JPEG; adev->external_rev_id = adev->rev_id + 0x01; break; default: |