drm/amdgpu: enable athub/mmhub PG for navy_flounder
authorJiansong Chen <Jiansong.Chen@amd.com>
Wed, 8 Jul 2020 10:42:04 +0000 (18:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 17:27:34 +0000 (13:27 -0400)
Enable athub/mmhub PG by setting the corresponding flags.
Actually the enablement is exercised by PMFW.

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

index dc4c360e14b810e54a1b2bb20a9fdc359d79fab8..2f7fc9a5beedf640ebbdb8b2c0dad4ee1dc8b4f2 100644 (file)
@@ -786,7 +786,9 @@ static int nv_common_early_init(void *handle)
                        AMD_CG_SUPPORT_JPEG_MGCG;
                adev->pg_flags = AMD_PG_SUPPORT_VCN |
                        AMD_PG_SUPPORT_VCN_DPG |
-                       AMD_PG_SUPPORT_JPEG;
+                       AMD_PG_SUPPORT_JPEG |
+                       AMD_PG_SUPPORT_ATHUB |
+                       AMD_PG_SUPPORT_MMHUB;
                adev->external_rev_id = adev->rev_id + 0x32;
                break;