baytrail: DPTF: Enable mainboard-specific _PDL

Enable the ability for the mainboard to override the _PDL
value exported by DPTF.  This will limit the P-state depth
when passive throttling is enabled.

BUG=chrome-os-partner:17279
BRANCH=baytrail
TEST=build and boot on rambi

Change-Id: I700ef696ff7248997bfd8eb24785eca17d2d7f29
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/187576
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Duncan Laurie 2014-02-24 07:57:45 -08:00 committed by chrome-internal-fetch
commit 5412ac5c07

View file

@ -115,7 +115,10 @@ Device (TCPU)
Method (_PDL)
{
If (CondRefOf (\_PR.CPU0._PSS)) {
/* Check for mainboard specific _PDL override */
If (CondRefOf (\_SB.MPDL)) {
Return (\_SB.MPDL)
} ElseIf (CondRefOf (\_PR.CPU0._PSS)) {
Store (SizeOf (\_PR.CPU0._PSS ()), Local0)
Decrement (Local0)
Return (Local0)