| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_COMMON_BLOCK_GRAPHICS |
| 4 |
bool |
| 5 |
select ROMSTAGE_VGA if MAINBOARD_USE_EARLY_LIBGFXINIT |
| 6 |
help |
| 7 |
Intel Processor common Graphics support |
| 8 |
|
| 9 |
if SOC_INTEL_COMMON_BLOCK_GRAPHICS |
| 10 |
|
| 11 |
config SOC_INTEL_GFX_HAVE_DDI_A_BIFURCATION |
| 12 |
bool |
| 13 |
help |
| 14 |
Skylake, Kaby Lake and Coffee Lake desktop CPUs support eDP |
| 15 |
bifurcation, i.e. 4 eDP lanes get split between DDI-A (eDP) |
| 16 |
and DDI-E (DP, used for VGA). Selected from SoC Kconfig, if |
| 17 |
applicable. |
| 18 |
|
| 19 |
config SOC_INTEL_GFX_ENABLE_DDI_E_BIFURCATION |
| 20 |
bool |
| 21 |
depends on SOC_INTEL_GFX_HAVE_DDI_A_BIFURCATION |
| 22 |
help |
| 23 |
Selected by mainboards that use DDI-E, which is most commonly |
| 24 |
used to drive a DP-to-VGA adapter to provide a VGA connector. |
| 25 |
|
| 26 |
config SOC_INTEL_DISABLE_IGD |
| 27 |
bool "Disable Integrated GFX Controller (0:2:0)" |
| 28 |
default n |
| 29 |
select MAINBOARD_NO_FSP_GOP |
| 30 |
help |
| 31 |
Selected by mainboard user that need to skip IGD initialization |
| 32 |
where OS can only use one GPU hence need to disable IGD and don't |
| 33 |
need to run FSP GOP. |
| 34 |
|
| 35 |
config SOC_INTEL_GFX_FRAMEBUFFER_OFFSET |
| 36 |
hex |
| 37 |
default 0x0 |
| 38 |
help |
| 39 |
PCI config offset 0x18 point to LMEMBAR and need to add GTT size to |
| 40 |
reach at DSM which is referred here as SOC_INTEL_GFX_MEMBASE_OFFSET. |
| 41 |
SoC that follow such design would override SOC_INTEL_GFX_FRAMEBUFFER_OFFSET |
| 42 |
with GTT_SIZE value. On SoC platform where PCI config offset 0x18 points |
| 43 |
to the GMADR directly can use the default value 0x0 without any override. |
| 44 |
|
| 45 |
config SOC_INTEL_GFX_NON_PREFETCHABLE_MMIO |
| 46 |
bool |
| 47 |
default n |
| 48 |
help |
| 49 |
Ignore BAR0(offset 0x10)'s pre-fetchable attribute to use non-prefetchable |
| 50 |
MMIO to fix OS display driver failure. |
| 51 |
|
| 52 |
config SOC_INTEL_GFX_MBUS_JOIN |
| 53 |
bool |
| 54 |
help |
| 55 |
The MBUS (Memory Bus) is a high-speed interface that connects the graphics |
| 56 |
controller to the system memory. It provides a dedicated data path for graphics |
| 57 |
data, which helps to improve graphics performance. |
| 58 |
|
| 59 |
The MBUS is a key technology that helps to make the Intel i915 driver powerful |
| 60 |
and versatile graphics drivers available. It provides the high-speed data transfer |
| 61 |
capabilities that are essential for smooth and responsive graphics performance. |
| 62 |
|
| 63 |
Enable this config to ensure that the Intel GFX controller joins the MBUS before the |
| 64 |
i915 driver is loaded. This is necessary to prevent the i915 driver from re-initializing |
| 65 |
the display if the firmware has already initialized it. Without this config, the i915 |
| 66 |
driver will initialize the display to bring up the login screen although the firmware |
| 67 |
has initialized the display using the GFX MMIO registers and framebuffer. |
| 68 |
|
| 69 |
When enabled, saves 75ms-80ms of the boot time by avoiding redundent display |
| 70 |
initialization by kernel graphics driver (i.e., i915_gfx). |
| 71 |
|
| 72 |
endif |