summaryrefslogtreecommitdiff
path: root/3rdparty/libhwbase
diff options
context:
space:
mode:
authorHuayang Duan <huayang.duan@mediatek.com>2020-02-21 12:00:15 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-03-06 08:00:29 +0000
commit998737df71c3c2ed97da36305ef065eb280cf2b2 (patch)
treea75fd0dc3171264e390446ba1cb5e9f251cbdfe1 /3rdparty/libhwbase
parentbb65180ee8b2cb26ac75fe6ccc9525ecc060c1e3 (diff)
soc/mediatek/mt8183: Correct EMI bandwidth threshold for DVFS switch
Because eMCP and discrete DDR devices have different DVFS tables, their EMI bandwidth thresholds should also be different. When the EMI total bandwidth reaches the threshold, the system will notify DVFS module to perform DVFS switch for system performance in low power states. This patch increases the threshold from 0xa to 0xd for eMCP DDR devices so that DVFS switch will be less likely to happen. The register table of EMI_BWCT0 is incorrect in the datasheet. According to the hardware design, BW_2ND_INT_BW_THR should be in bits [30:24] instead of [22:16]. However, the logic in DRAM driver is correct, aligned with the hardware design, so we don't need to correct it. BRANCH=kukui BUG=b:142358843 TEST=bootup pass Change-Id: I82c3c70bcd90df3fdd613c0353aba0f176bc82bc Signed-off-by: Huayang Duan <huayang.duan@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39034 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to '3rdparty/libhwbase')
0 files changed, 0 insertions, 0 deletions