3rdparty/libgfxinit: Update submodule pointer
Changes allow to use the integrated panel logic (power sequen- cing and backlight control) for more connectors. The Kconfigs GFX_GMA_PANEL_1_PORT and GFX_GMA_PANEL_2_PORT can now be set to any port, e.g. config GFX_GMA_PANEL_1_PORT default "DP3" Now that the panel logic is not tied to the `Internal` port choice anymore, we can properly split it into `LVDS` and `eDP`. This also adds Comet Lake PCI IDs which should still work the same as Kaby and Coffee Lake. Change-Id: I78b1b458ca00714dcbe7753a7beb4fb05d69986b Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38921 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9f3e734e5c
commit
4ce52903b0
|
@ -1 +1 @@
|
|||
Subproject commit fe7985f2a0692bc773d470a92ec54d22d3c12e4b
|
||||
Subproject commit cdbfce275777f2fd142e3a3c73469807a4c40207
|
|
@ -65,11 +65,20 @@ board can initialize graphics through *libgfxinit*:
|
|||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
|
||||
Internal ports share some hardware blocks (e.g. backlight, panel
|
||||
power sequencer). Therefore, each board has to select either eDP
|
||||
or LVDS as the internal port, if any:
|
||||
power sequencer). Therefore, each system with an integrated panel
|
||||
should set `GFX_GMA_PANEL_1_PORT` to the respective port, e.g.:
|
||||
|
||||
select GFX_GMA_INTERNAL_IS_EDP # the default, or
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
config GFX_GMA_PANEL_1_PORT
|
||||
default "DP3"
|
||||
|
||||
For the most common cases, LVDS and eDP, exists a shorthand, one
|
||||
can select either:
|
||||
|
||||
select GFX_GMA_PANEL_1_ON_EDP # the default, or
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
|
||||
Some newer chips feature a second block of panel control logic.
|
||||
For this, `GFX_GMA_PANEL_2_PORT` can be set.
|
||||
|
||||
Boards with a DVI-I connector share the DDC (I2C) pins for both
|
||||
analog and digital displays. In this case, *libgfxinit* needs to
|
||||
|
@ -96,7 +105,8 @@ You can select from the following Ports:
|
|||
|
||||
type Port_Type is
|
||||
(Disabled, -- optionally terminates the list
|
||||
Internal, -- either eDP or LVDS as selected in Kconfig
|
||||
LVDS,
|
||||
eDP,
|
||||
DP1,
|
||||
DP2,
|
||||
DP3,
|
||||
|
@ -112,8 +122,7 @@ both DPx and HDMIx should be listed.
|
|||
|
||||
A good example is the mainboard Kontron/KTQM77, it features two
|
||||
DP++ ports (DP2/HDMI2, DP3/HDMI3), one DVI-I port (HDMI1/Analog),
|
||||
eDP and LVDS. Due to the constraints mentioned above, only one of
|
||||
eDP and LVDS can be enabled. It defines `ports` as follows:
|
||||
eDP and LVDS. It defines `ports` as follows:
|
||||
|
||||
ports : constant Port_List :=
|
||||
(DP2,
|
||||
|
@ -122,7 +131,8 @@ eDP and LVDS can be enabled. It defines `ports` as follows:
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
The `GMA.gfxinit()` procedure probes for display EDIDs in the
|
||||
|
|
|
@ -74,13 +74,13 @@ config GFX_GMA
|
|||
depends on MAINBOARD_USE_LIBGFXINIT || INTEL_GMA_LIBGFXINIT_EDID
|
||||
select RAMSTAGE_LIBHWBASE
|
||||
|
||||
config GFX_GMA_INTERNAL_IS_EDP
|
||||
config GFX_GMA_PANEL_1_ON_EDP
|
||||
bool
|
||||
depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
|
||||
default n if GFX_GMA_INTERNAL_IS_LVDS
|
||||
default n if GFX_GMA_PANEL_1_ON_LVDS
|
||||
default y
|
||||
|
||||
config GFX_GMA_INTERNAL_IS_LVDS
|
||||
config GFX_GMA_PANEL_1_ON_LVDS
|
||||
bool
|
||||
depends on GFX_GMA || MAINBOARD_HAS_LIBGFXINIT
|
||||
default y if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_NEHALEM
|
||||
|
@ -102,11 +102,15 @@ config GFX_GMA_GENERATION
|
|||
default "Ironlake" if NORTHBRIDGE_INTEL_NEHALEM || NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
default "G45" if NORTHBRIDGE_INTEL_GM45 || NORTHBRIDGE_INTEL_X4X
|
||||
|
||||
config GFX_GMA_INTERNAL_PORT
|
||||
config GFX_GMA_PANEL_1_PORT
|
||||
string
|
||||
default "DP" if GFX_GMA_INTERNAL_IS_EDP
|
||||
default "eDP" if GFX_GMA_PANEL_1_ON_EDP
|
||||
default "LVDS"
|
||||
|
||||
config GFX_GMA_PANEL_2_PORT
|
||||
string
|
||||
default "Disabled"
|
||||
|
||||
config GFX_GMA_ANALOG_I2C_PORT
|
||||
string
|
||||
default "PCH_HDMI_B" if GFX_GMA_ANALOG_I2C_HDMI_B
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
|
||||
enum {
|
||||
GMA_PORT_DISABLED,
|
||||
GMA_PORT_INTERNAL,
|
||||
GMA_PORT_LVDS,
|
||||
GMA_PORT_EDP,
|
||||
GMA_PORT_DP1,
|
||||
GMA_PORT_DP2,
|
||||
GMA_PORT_DP3,
|
||||
|
|
|
@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select SERIRQ_CONTINUOUS_MODE
|
||||
select SOUTHBRIDGE_INTEL_BD82X6X
|
||||
select SYSTEM_TYPE_LAPTOP
|
||||
select GFX_GMA_INTERNAL_IS_EDP
|
||||
select GFX_GMA_PANEL_1_ON_EDP
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select HAVE_CMOS_DEFAULT
|
||||
select HAVE_OPTION_TABLE
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
HDMI1,
|
||||
DP1,
|
||||
DP2,
|
||||
|
|
|
@ -18,7 +18,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select SERIRQ_CONTINUOUS_MODE # Workaround for EC/KBC IRQ1.
|
||||
select HAVE_IFD_BIN
|
||||
select HAVE_ME_BIN
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
DP1,
|
||||
DP2,
|
||||
HDMI1,
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
DP1,
|
||||
DP2,
|
||||
HDMI1,
|
||||
|
|
|
@ -17,7 +17,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
DP3,
|
||||
HDMI3,
|
||||
others => Disabled);
|
||||
|
|
|
@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
# Workaround for EC/KBC IRQ1.
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
# This board also feature sandy-bridge CPU's so must have LVDS
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
DP1,
|
||||
DP2,
|
||||
HDMI1,
|
||||
|
|
|
@ -22,7 +22,7 @@ private package GMA.Mainboard is
|
|||
|
||||
ports : constant Port_List :=
|
||||
(HDMI1,
|
||||
Internal,
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -16,7 +16,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_TPM1
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select HAVE_IFD_BIN
|
||||
select HAVE_ME_BIN
|
||||
select SANDYBRIDGE_VBOOT_IN_ROMSTAGE
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -18,7 +18,7 @@ config BOARD_HP_2570P
|
|||
|
||||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_16384
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
@ -29,7 +29,7 @@ config BOARD_HP_2760P
|
|||
|
||||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
@ -40,7 +40,7 @@ config BOARD_HP_8460P
|
|||
|
||||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_HAS_LPC_TPM
|
||||
|
@ -54,7 +54,7 @@ config BOARD_HP_8470P
|
|||
|
||||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_16384
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
@ -75,7 +75,7 @@ config BOARD_HP_FOLIO_9470M
|
|||
|
||||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_16384
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
|
@ -89,7 +89,7 @@ config BOARD_HP_REVOLVE_810_G1
|
|||
select BOARD_HP_SNB_IVB_LAPTOPS
|
||||
select BOARD_ROMSIZE_KB_16384
|
||||
select GENERIC_SPD_BIN
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_INT15
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
|
|
@ -26,7 +26,7 @@ private package GMA.Mainboard is
|
|||
HDMI1,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP1,
|
||||
HDMI1,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,6 @@ private package GMA.Mainboard is
|
|||
(HDMI1,
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select HAVE_ACPI_RESUME
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_ANALOG_I2C_HDMI_B
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
||||
config MAINBOARD_DIR
|
||||
|
|
|
@ -21,7 +21,7 @@ private package GMA.Mainboard is
|
|||
|
||||
-- For a three-pipe setup, bandwidth is shared between the 2nd and
|
||||
-- the 3rd pipe (if it's not eDP). Thus, probe ports that likely
|
||||
-- have a high-resolution display attached first, `Internal` last.
|
||||
-- have a high-resolution display attached first, `eDP` last.
|
||||
|
||||
ports : constant Port_List :=
|
||||
(DP2,
|
||||
|
@ -30,7 +30,8 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select HAVE_CMOS_DEFAULT
|
||||
select NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
select SOUTHBRIDGE_INTEL_BD82X6X
|
||||
select SYSTEM_TYPE_LAPTOP
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -14,7 +14,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select HAVE_ACPI_RESUME
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP1,
|
||||
HDMI1,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -26,7 +26,7 @@ private package GMA.Mainboard is
|
|||
DP2,
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP2,
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP2, -- DP++ connector on the dock
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select DRIVERS_LENOVO_HYBRID_GRAPHICS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
|
|
@ -27,6 +27,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -17,7 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select HAVE_ACPI_RESUME
|
||||
select INTEL_INT15
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select DRIVERS_LENOVO_HYBRID_GRAPHICS
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -22,7 +22,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select USE_NATIVE_RAMINIT
|
||||
select DRIVERS_LENOVO_HYBRID_GRAPHICS
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS if BOARD_LENOVO_T430S
|
||||
select GFX_GMA_PANEL_1_ON_LVDS if BOARD_LENOVO_T430S
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_T431S
|
||||
|
|
|
@ -18,5 +18,5 @@ bootblock-y += variants/$(VARIANT_DIR)/gpio.c
|
|||
romstage-y += variants/$(VARIANT_DIR)/gpio.c
|
||||
romstage-y += variants/$(VARIANT_DIR)/romstage.c
|
||||
ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c
|
||||
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
|
||||
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += variants/$(VARIANT_DIR)/gma-mainboard.ads
|
||||
subdirs-$(CONFIG_BOARD_LENOVO_T431S) += variants/$(VARIANT_DIR)/spd
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
--
|
||||
-- Copyright (C) 2017 Bill XIE persmule@gmail.com
|
||||
--
|
||||
-- This program is free software; you can redistribute it and/or modify
|
||||
-- it under the terms of the GNU General Public License as published by
|
||||
-- the Free Software Foundation; either version 2 of the License, or
|
||||
-- (at your option) any later version.
|
||||
--
|
||||
-- This program is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
-- GNU General Public License for more details.
|
||||
--
|
||||
|
||||
with HW.GFX.GMA;
|
||||
with HW.GFX.GMA.Display_Probing;
|
||||
|
||||
use HW.GFX.GMA;
|
||||
use HW.GFX.GMA.Display_Probing;
|
||||
|
||||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(DP1,
|
||||
DP2,
|
||||
DP3,
|
||||
HDMI1,
|
||||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP1, -- MiniDP
|
||||
DP2, -- dock, DP2-1 (DP/HDMI) and DP2-2 (DP/DVI)
|
||||
Analog,
|
||||
Internal,
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -14,7 +14,7 @@ config BOARD_LENOVO_BASEBOARD_T520
|
|||
select HAVE_CMOS_DEFAULT
|
||||
select HAVE_ACPI_RESUME
|
||||
select INTEL_INT15
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -18,7 +18,7 @@ config BOARD_LENOVO_BASEBOARD_T530
|
|||
select MAINBOARD_HAS_TPM1
|
||||
select DRIVERS_LENOVO_HYBRID_GRAPHICS
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
select DRIVERS_RICOH_RCE822 if BOARD_LENOVO_W530
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -17,7 +17,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select SERIRQ_CONTINUOUS_MODE
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ private package GMA.Mainboard is
|
|||
ports : constant Port_List :=
|
||||
(HDMI1,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
|
||||
# Workaround for EC/KBC IRQ1.
|
||||
|
|
|
@ -25,7 +25,7 @@ private package GMA.Mainboard is
|
|||
HDMI1,
|
||||
HDMI2,
|
||||
HDMI3,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP2,
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -24,7 +24,7 @@ private package GMA.Mainboard is
|
|||
(DP2, -- DP++ connector on the dock
|
||||
HDMI2,
|
||||
Analog,
|
||||
Internal,
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -19,7 +19,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select MAINBOARD_HAS_LPC_TPM
|
||||
select MAINBOARD_HAS_TPM1
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select INTEL_GMA_HAVE_VBT
|
||||
select MAINBOARD_USES_IFD_GBE_REGION
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
HDMI1,
|
||||
others => Disabled);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
HDMI1,
|
||||
others => Disabled);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ use HW.GFX.GMA.Display_Probing;
|
|||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List :=
|
||||
(Internal,
|
||||
(eDP,
|
||||
DP1,
|
||||
DP2,
|
||||
HDMI1,
|
||||
|
|
|
@ -20,6 +20,6 @@ use HW.GFX.GMA.Display_Probing;
|
|||
|
||||
private package GMA.Mainboard is
|
||||
|
||||
ports : constant Port_List := (Internal, HDMI3, others => Disabled);
|
||||
ports : constant Port_List := (eDP, HDMI3, others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -22,7 +22,7 @@ private package GMA.Mainboard is
|
|||
|
||||
-- For a three-pipe setup, bandwidth is shared between the 2nd and
|
||||
-- the 3rd pipe (if it's not eDP). Thus, probe ports that likely
|
||||
-- have a high-resolution display attached first, `Internal` last.
|
||||
-- have a high-resolution display attached first, `eDP` last.
|
||||
|
||||
ports : constant Port_List :=
|
||||
(DP2,
|
||||
|
@ -30,7 +30,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal,
|
||||
eDP,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -13,7 +13,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select HAVE_OPTION_TABLE
|
||||
select NORTHBRIDGE_INTEL_SANDYBRIDGE
|
||||
select MAINBOARD_HAS_LIBGFXINIT
|
||||
select GFX_GMA_INTERNAL_IS_LVDS
|
||||
select GFX_GMA_PANEL_1_ON_LVDS
|
||||
select SOUTHBRIDGE_INTEL_BD82X6X
|
||||
select SUPERIO_SMSC_MEC1308
|
||||
select HAVE_IFD_BIN
|
||||
|
|
|
@ -28,6 +28,7 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
others => Disabled);
|
||||
|
||||
end GMA.Mainboard;
|
||||
|
|
|
@ -931,7 +931,8 @@ private package GMA.Mainboard is
|
|||
HDMI2,
|
||||
HDMI3,
|
||||
Analog,
|
||||
Internal);
|
||||
LVDS,
|
||||
eDP);
|
||||
|
||||
end GMA.Mainboard;
|
||||
`)
|
||||
|
|
Loading…
Reference in New Issue