xref: /aosp_15_r20/external/coreboot/src/soc/amd/common/block/graphics/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config SOC_AMD_COMMON_BLOCK_GRAPHICS
4	bool
5	help
6	  Select this option to use AMD common graphics driver support.
7
8config SOC_AMD_COMMON_BLOCK_GRAPHICS_ATIF
9	bool
10	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS
11	help
12	  Select this option to provide ATIF method with display brightness querying.
13	  Currently, the exported values only open up 0-255 as the brightness range for
14	  the display.
15
16config SOC_AMD_GFX_CACHE_VBIOS_IN_FMAP
17	bool "Support for caching modified VBIOS tables in flash"
18	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS && CHROMEOS && RUN_FSP_GOP && TPM2
19	default n
20	help
21	  Enable support for flash based VBIOS cache.
22
23config USE_SELECTIVE_GOP_INIT
24	bool "Run FSP GOP driver only when needed for recovery/developer modes"
25	depends on SOC_AMD_GFX_CACHE_VBIOS_IN_FMAP
26	default n
27	help
28	  Select this option to only run the FSP GOP driver when needed for pre-OS display init
29	  (eg, Recovery and Developer Modes). Otherwise, use cached VBIOS/ATOMBIOS tables.
30	  Selecting this option will save approx. 130ms boot time on the normal boot path.
31
32config SOC_AMD_COMMON_BLOCK_GRAPHICS_ACP
33	bool
34	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS
35	help
36	  Select this option to provide Audio CoProcessor ACPI device for pre-Ryzen APUs for
37	  use by custom Windows drivers.
38