drm/amd/amdgpu: add athub ls support
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 28 Feb 2020 06:14:00 +0000 (14:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:10 +0000 (01:59 -0400)
athub ls is bounded with hdp ls,verified.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 9559eaf2559186943ef520e0f2fa2efa4d5c136a..451557544b856f2806dfe1d170a156a962aa1e63 100644 (file)
@@ -721,7 +721,8 @@ static int nv_common_early_init(void *handle)
                        AMD_CG_SUPPORT_JPEG_MGCG |
                        AMD_CG_SUPPORT_HDP_MGCG |
                        AMD_CG_SUPPORT_HDP_LS |
-                       AMD_CG_SUPPORT_IH_CG;
+                       AMD_CG_SUPPORT_IH_CG |
+                       AMD_CG_SUPPORT_MC_LS;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_JPEG;
                adev->external_rev_id = adev->rev_id + 0x28;