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:
parent
c19c0f1d7c
commit
5412ac5c07
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue