From: zwei4 <david.wei@intel.com>
To: edk2-devel@lists.01.org
Subject: [Patch][edk2-platforms] Enable GT RC6.
Date: Sat, 2 Sep 2017 17:30:48 +0800 [thread overview]
Message-ID: <20170902093048.17092-1-david.wei@intel.com> (raw)
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 <david.wei@intel.com>
---
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
reply other threads:[~2017-09-02 9:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170902093048.17092-1-david.wei@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox