baytrail: enable graphics turbo
Though the limited documentation indicates the default is 0 for the gfx_turbo_disable bit, in practice that isn't true. Knock down the gfs_turbo_disable bit to enable graphics turbo mode. BUG=chrome-os-partner:25044 BRANCH=baytrail TEST=Built and booted. Added debug code to output SB_BIOS_CONFIG. Noted that bit 7 was set to 0. Change-Id: I11210c6a0b29765cb709a54d6ebd94211538807b Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/182640 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/5050 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
469b5205c3
commit
3549462a95
|
@ -212,6 +212,10 @@ static const struct reg_script gfx_init_script[] = {
|
||||||
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x9404, 0),
|
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x9404, 0),
|
||||||
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x9408, 0),
|
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x9408, 0),
|
||||||
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x940c, 0),
|
REG_RES_WRITE32(PCI_BASE_ADDRESS_0, 0x940c, 0),
|
||||||
|
|
||||||
|
/* Enable Gfx Turbo. */
|
||||||
|
REG_IOSF_RMW(IOSF_PORT_PMC, SB_BIOS_CONFIG,
|
||||||
|
~SB_BIOS_CONFIG_GFX_TURBO_DIS, 0),
|
||||||
REG_SCRIPT_END
|
REG_SCRIPT_END
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue