drm/amdgpu: disable MMHUB power gating on raven
authorHuang Rui <ray.huang@amd.com>
Thu, 14 Dec 2017 05:47:16 +0000 (13:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Feb 2018 09:19:44 +0000 (10:19 +0100)
commit 400b6afbaa949914460e5fd1d769c5e26ef1f6b8 upstream.

MMHUB power gating still has issue, and doesn't work on raven at current. So
disable it for the moment.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 3e59c76..ff7d482 100644 (file)
@@ -661,8 +661,8 @@ static int soc15_common_early_init(void *handle)
                        AMD_CG_SUPPORT_MC_LS |
                        AMD_CG_SUPPORT_SDMA_MGCG |
                        AMD_CG_SUPPORT_SDMA_LS;
-               adev->pg_flags = AMD_PG_SUPPORT_SDMA |
-                                AMD_PG_SUPPORT_MMHUB;
+               adev->pg_flags = AMD_PG_SUPPORT_SDMA;
+
                adev->external_rev_id = 0x1;
                break;
        default: