From: Sathishkumar S Date: Fri, 28 Jan 2022 08:21:18 +0000 (+0530) Subject: drm/amdgpu: update vcn/jpeg PG flags for VCN 3.1.1 X-Git-Tag: v6.6.17~7904^2~20^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35c27d9578356762e7421f16d61b91ab46dfabee;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: James Zhu Signed-off-by: Alex Deucher --- 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: