From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,463,1498546800"; d="scan'208";a="144746534" 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 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: [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: , X-List-Received-Date: Sat, 02 Sep 2017 09:28:06 -0000 Remove code that disables GT RC6. This could allow GT to enter deep sleep when 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/BroxtonPlatformPkg/BiosId.env index f8dfb3219..3c1b1a489 100644 --- a/Platform/BroxtonPlatformPkg/BiosId.env +++ b/Platform/BroxtonPlatformPkg/BiosId.env @@ -30,6 +30,6 @@ BOARD_ID = APLKRVP BOARD_REV = 3 BUILD_TYPE = D -VERSION_MAJOR = 0065 +VERSION_MAJOR = 0066 VERSION_MINOR = 01 BOARD_EXT = X64 diff --git a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitMiscs.c b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitMiscs.c index 6abeb1d34..f124623ec 100644 --- a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitMiscs.c +++ b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInitMiscs.c @@ -116,7 +116,7 @@ LhUpdateFspmUpd ( FspUpdRgn->FspmConfig.MemoryDown = 1; FspUpdRgn->FspmConfig.DDR3LPageSize = 0; FspUpdRgn->FspmConfig.DDR3LASR = 0; - FspUpdRgn->FspmConfig.MemorySizeLimit = 0x1800; + FspUpdRgn->FspmConfig.MemorySizeLimit = 0; FspUpdRgn->FspmConfig.DIMM0SPDAddress = 0; FspUpdRgn->FspmConfig.DIMM1SPDAddress = 0; FspUpdRgn->FspmConfig.DDR3LPageSize = 0; diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c index e5e9c9319..7733dd0ac 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c @@ -786,9 +786,7 @@ InitializePlatform ( mSystemConfiguration.BoardId = PlatformInfoHob->BoardId; if (mSystemConfiguration.PlatformSettingEn == 0) { - if (PlatformInfoHob->PmicVersion == 0) { - mSystemConfiguration.EnableRenderStandby = 0; - } + mSystemConfiguration.PlatformSettingEn = 1; } diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/PlatformSetupDxe.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/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 == 1) { - Private->FakeNvData.EnableRenderStandby = 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 = TRUE -DEFINE TABLET_PF_BUILD = FALSE -DEFINE BYTI_PF_BUILD = FALSE -DEFINE CSLE_ENABLE = FALSE -DEFINE VP_BIOS_ENABLE = FALSE -DEFINE SV_BIOS_ENABLE = FALSE -DEFINE PPV_BIOS_ENABLE = FALSE -DEFINE RVVP_BIOS_ENABLE = FALSE -DEFINE RVV_BIOS_ENABLE = FALSE -DEFINE SOURCE_DEBUG_ENABLE = FALSE -DEFINE X64_CONFIG = TRUE +DEFINE ENBDT_PF_BUILD = TRUE +DEFINE APLK_SETUP_ENABLE_BUILD = TRUE +DEFINE X64_CONFIG = TRUE -- 2.14.1.windows.1