From nobody Fri May 3 09:08:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1504344658429707.8735515366524; Sat, 2 Sep 2017 02:30:58 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9458621E62BB8; Sat, 2 Sep 2017 02:28:08 -0700 (PDT) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id AC9EA21E11D1B for ; Sat, 2 Sep 2017 02:28:06 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP; 02 Sep 2017 02:30:51 -0700 Received: from zwei4-mobl1.ccr.corp.intel.com ([10.255.28.97]) by orsmga005.jf.intel.com with ESMTP; 02 Sep 2017 02:30:51 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,463,1498546800"; d="scan'208";a="144746534" From: zwei4 To: edk2-devel@lists.01.org Date: Sat, 2 Sep 2017 17:30:48 +0800 Message-Id: <20170902093048.17092-1-david.wei@intel.com> X-Mailer: git-send-email 2.14.1.windows.1 Subject: [edk2] [Patch][edk2-platforms] Enable GT RC6. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Remove code that disables GT RC6. This could allow GT to enter deep sleep w= hen it is idle, so that more power could be saved for core to use. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: zwei4 --- Platform/BroxtonPlatformPkg/BiosId.env | 2 +- .../Board/LeafHill/BoardInitPreMem/BoardInitMiscs.c | 2 +- .../Common/PlatformSettings/PlatformDxe/Platform.c | 4 +--- .../PlatformSettings/PlatformSetupDxe/PlatformSetupDxe.c | 4 +--- Platform/BroxtonPlatformPkg/DefineAtBuildMacros.dsc | 14 +++-------= ---- 5 files changed, 7 insertions(+), 19 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/BiosId.env b/Platform/BroxtonPlatf= ormPkg/BiosId.env index f8dfb3219..3c1b1a489 100644 --- a/Platform/BroxtonPlatformPkg/BiosId.env +++ b/Platform/BroxtonPlatformPkg/BiosId.env @@ -30,6 +30,6 @@ BOARD_ID =3D APLKRVP BOARD_REV =3D 3 BUILD_TYPE =3D D -VERSION_MAJOR =3D 0065 +VERSION_MAJOR =3D 0066 VERSION_MINOR =3D 01 BOARD_EXT =3D X64 diff --git a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/Boa= rdInitMiscs.c b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/= BoardInitMiscs.c index 6abeb1d34..f124623ec 100644 --- a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitM= iscs.c +++ b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitM= iscs.c @@ -116,7 +116,7 @@ LhUpdateFspmUpd ( FspUpdRgn->FspmConfig.MemoryDown =3D 1; FspUpdRgn->FspmConfig.DDR3LPageSize =3D 0; FspUpdRgn->FspmConfig.DDR3LASR =3D 0; - FspUpdRgn->FspmConfig.MemorySizeLimit =3D 0x1800; + FspUpdRgn->FspmConfig.MemorySizeLimit =3D 0; FspUpdRgn->FspmConfig.DIMM0SPDAddress =3D 0; FspUpdRgn->FspmConfig.DIMM1SPDAddress =3D 0; FspUpdRgn->FspmConfig.DDR3LPageSize =3D 0; diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDx= e/Platform.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/Platform= Dxe/Platform.c index e5e9c9319..7733dd0ac 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platf= orm.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platf= orm.c @@ -786,9 +786,7 @@ InitializePlatform ( mSystemConfiguration.BoardId =3D PlatformInfoHob->BoardId; =20 if (mSystemConfiguration.PlatformSettingEn =3D=3D 0) { - if (PlatformInfoHob->PmicVersion =3D=3D 0) { - mSystemConfiguration.EnableRenderStandby =3D 0; - } + mSystemConfiguration.PlatformSettingEn =3D 1; } =20 diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSe= tupDxe/PlatformSetupDxe.c b/Platform/BroxtonPlatformPkg/Common/PlatformSett= ings/PlatformSetupDxe/PlatformSetupDxe.c index 06dffcdfb..7e3beb611 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/= PlatformSetupDxe.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/= PlatformSetupDxe.c @@ -145,9 +145,7 @@ LoadPlatformDefaultValues ( case BOARD_ID_LFH_CRB: case BOARD_ID_MINNOW: case BOARD_ID_BENSON: - if (Private->FakeNvData.PmicSetupDefault =3D=3D 1) { - Private->FakeNvData.EnableRenderStandby =3D FALSE; - } + break; default: break; diff --git a/Platform/BroxtonPlatformPkg/DefineAtBuildMacros.dsc b/Platform= /BroxtonPlatformPkg/DefineAtBuildMacros.dsc index e5ee4c1b4..0e29ef3be 100644 --- a/Platform/BroxtonPlatformPkg/DefineAtBuildMacros.dsc +++ b/Platform/BroxtonPlatformPkg/DefineAtBuildMacros.dsc @@ -1,11 +1,3 @@ -DEFINE ENBDT_PF_BUILD =3D TRUE -DEFINE TABLET_PF_BUILD =3D FALSE -DEFINE BYTI_PF_BUILD =3D FALSE -DEFINE CSLE_ENABLE =3D FALSE -DEFINE VP_BIOS_ENABLE =3D FALSE -DEFINE SV_BIOS_ENABLE =3D FALSE -DEFINE PPV_BIOS_ENABLE =3D FALSE -DEFINE RVVP_BIOS_ENABLE =3D FALSE -DEFINE RVV_BIOS_ENABLE =3D FALSE -DEFINE SOURCE_DEBUG_ENABLE =3D FALSE -DEFINE X64_CONFIG =3D TRUE +DEFINE ENBDT_PF_BUILD =3D TRUE =20 +DEFINE APLK_SETUP_ENABLE_BUILD =3D TRUE=20 +DEFINE X64_CONFIG =3D TRUE =20 --=20 2.14.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel