From: Jiansong Chen Date: Wed, 8 Jul 2020 10:59:11 +0000 (+0800) Subject: drm/amdgpu: enable hdp CG and LS for navy_flounder X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4759f8871f3dc75a47b0b9cf38064958ce76eb35;p=linux.git drm/amdgpu: enable hdp CG and LS for navy_flounder Enable hdp CG and LS by setting the corresponding flags. Signed-off-by: Jiansong Chen Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index f44a7207059fb..4168352907892 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -785,7 +785,9 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_VCN_MGCG | AMD_CG_SUPPORT_JPEG_MGCG | AMD_CG_SUPPORT_MC_MGCG | - AMD_CG_SUPPORT_MC_LS; + AMD_CG_SUPPORT_MC_LS | + AMD_CG_SUPPORT_HDP_MGCG | + AMD_CG_SUPPORT_HDP_LS; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | AMD_PG_SUPPORT_JPEG |