drm/amdgpu/renoir: move gfxoff handling into gfx9 module
[linux-2.6-block.git] / drivers / gpu / drm / amd / amdgpu / soc15.c
index 49dcf75fca752ca8904783393027706aceeaa0db..8e1640bc07aff47de2da4b0a44649c112b69bb5b 100644 (file)
@@ -1237,11 +1237,6 @@ static int soc15_common_early_init(void *handle)
                                 AMD_PG_SUPPORT_VCN |
                                 AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x91;
-
-               if (adev->pm.pp_feature & PP_GFXOFF_MASK)
-                       adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
-                               AMD_PG_SUPPORT_CP |
-                               AMD_PG_SUPPORT_RLC_SMU_HS;
                break;
        default:
                /* FIXME: not supported yet */