summaryrefslogtreecommitdiff
path: root/Documentation/gfx
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2020-02-15 17:56:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-09 08:20:12 +0000
commit4ce52903b00efa45d2ad8cd1f886553e2b21cf91 (patch)
treeba91ff330275c5efbfc760495a9e5a97a0801f8a /Documentation/gfx
parent9f3e734e5c3760ff30906862a3f9ca724ea5fffb (diff)
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>
Diffstat (limited to 'Documentation/gfx')
-rw-r--r--Documentation/gfx/libgfxinit.md26
1 files changed, 18 insertions, 8 deletions
diff --git a/Documentation/gfx/libgfxinit.md b/Documentation/gfx/libgfxinit.md
index 0608363906..bb4528b958 100644
--- a/Documentation/gfx/libgfxinit.md
+++ b/Documentation/gfx/libgfxinit.md
@@ -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