diff options
author | Iru Cai <mytbk920423@gmail.com> | 2020-04-10 20:56:07 +0800 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-04-16 10:15:21 +0000 |
commit | 56360d4f7b3fe2d9ae9f0db86c2869c8c6704624 (patch) | |
tree | 10c31ef6c70877a8bf10588b00417a26d0d12ac3 /util | |
parent | b95a1a4ea0fa465c80a411e10bff8735edae050a (diff) | |
download | coreboot-56360d4f7b3fe2d9ae9f0db86c2869c8c6704624.tar.xz |
autoport: use GMA_STATIC_DISPLAYS
Change-Id: Ie988b2caeb2cdc07a3d6466b7ae3501df469ef41
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40364
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/autoport/sandybridge.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/autoport/sandybridge.go b/util/autoport/sandybridge.go index a64ef7a4c2..6f57847a1d 100644 --- a/util/autoport/sandybridge.go +++ b/util/autoport/sandybridge.go @@ -1,5 +1,7 @@ package main +import "fmt" + type sandybridgemc struct { } @@ -30,7 +32,7 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) { "gpu_panel_power_cycle_delay": FormatInt32(inteltool.IGD[0xc7210] & 0xff), "gpu_cpu_backlight": FormatHex32(inteltool.IGD[0x48254]), "gpu_pch_backlight": FormatHex32((inteltool.IGD[0xc8254] >> 16) * 0x10001), - "gfx.use_spread_spectrum_clock": FormatBool((inteltool.IGD[0xc6200]>>12)&1 != 0), + "gfx": fmt.Sprintf("GMA_STATIC_DISPLAYS(%d)", (inteltool.IGD[0xc6200] >> 12) & 1), }, Children: []DevTreeNode{ { |