From 1b520b577f2bf1b124db301f57421665b637f9ad Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 20 Jan 2014 11:58:58 -0800 Subject: [PATCH] baytrail: Set PMC PTPS register correctly I messed up in setting this register, it should be using Tj_max-Temp which in the default case works out to be 90-90=0. This was apparently heavly throttling the CPU at idle temps. BUG=chrome-os-partner:17279 BRANCH=baytrail TEST=build and boot on rambi, run graphics_WebGLPerformance test Change-Id: I4338280cf50db84dc44313d6fb6771ea5af21dad Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/183280 Reviewed-by: Aaron Durbin Commit-Queue: Aaron Durbin Tested-by: Aaron Durbin --- src/soc/intel/baytrail/dptf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/intel/baytrail/dptf.c b/src/soc/intel/baytrail/dptf.c index 184f694eb2..044a807906 100644 --- a/src/soc/intel/baytrail/dptf.c +++ b/src/soc/intel/baytrail/dptf.c @@ -30,7 +30,7 @@ static const struct reg_script dptf_init_settings[] = { REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_GFXT, 0x0000C000), REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_VEDT, 0x00000004), REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_ISPT, 0x00000004), - REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_PTPS, 90 << 24), /* Tj_max=90C */ + REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_PTPS, 0x00000000), REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_TE_AUX3, 0x00061029), REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_TTE_VRIccMax, 0x00061029), REG_IOSF_WRITE(IOSF_PORT_PMC, PUNIT_TTE_VRHot, 0x00061029),