From 681ef51d731617a0a4d5b604d561acdecb9c9cfa Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 11 Feb 2018 01:17:01 -0600 Subject: drivers/intel/gma: fix opregion SCI register for Atom platforms Most Intel platforms use separate registers for software-based SMI (0xe0) and SCI (0xe8), but Atom-based platforms use a single combined register (0xe0) for both. Adjust opregion implementation to use the correct register for Atom-based platforms. Test: Boot Windows on Atom-based ChromeOS device with Tianocore payload and non-VBIOS graphics init; observe Intel display driver loaded correctly and internal display not blank. (requires additional change for Atom platforms to select CONFIG_INTEL_GMA_SWSMISCI) Change-Id: I636986226ff951dae637dca5bc3ad0e023d94243 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/23696 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/drivers/intel/gma/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/drivers/intel/gma/Kconfig') diff --git a/src/drivers/intel/gma/Kconfig b/src/drivers/intel/gma/Kconfig index a4b8a4a161..9e2872bb6c 100644 --- a/src/drivers/intel/gma/Kconfig +++ b/src/drivers/intel/gma/Kconfig @@ -47,6 +47,13 @@ config INTEL_GMA_SSC_ALTERNATE_REF supported platform with a choice seems to be Pineview, where the alternative is 100MHz vs. the default 96MHz. +config INTEL_GMA_SWSMISCI + bool + default n + help + Select this option for Atom-based platforms which use the SWSMISCI + register (0xe0) rather than the SWSCI register (0xe8). + config GFX_GMA_ANALOG_I2C_HDMI_B bool -- cgit v1.2.3