summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/graphics/Kconfig
blob: 3b2eaed56549e29f26983c11e8b6e911f103f6f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## SPDX-License-Identifier: GPL-2.0-only

config SOC_AMD_COMMON_BLOCK_GRAPHICS
	bool
	help
	  Select this option to use AMD common graphics driver support.

config SOC_AMD_COMMON_BLOCK_GRAPHICS_ATIF
	bool
	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS
	help
	  Select this option to provide ATIF method with display brightness querying.
	  Currently, the exported values only open up 0-255 as the brightness range for
	  the display.

config SOC_AMD_GFX_CACHE_VBIOS_IN_FMAP
	bool "Support for caching modified VBIOS tables in flash"
	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS && CHROMEOS && RUN_FSP_GOP && TPM2
	default n
	help
	  Enable support for flash based VBIOS cache.

config USE_SELECTIVE_GOP_INIT
	bool "Run FSP GOP driver only when needed for recovery/developer modes"
	depends on SOC_AMD_GFX_CACHE_VBIOS_IN_FMAP
	default n
	help
	  Select this option to only run the FSP GOP driver when needed for pre-OS display init
	  (eg, Recovery and Developer Modes). Otherwise, use cached VBIOS/ATOMBIOS tables.
	  Selecting this option will save approx. 130ms boot time on the normal boot path.

config SOC_AMD_COMMON_BLOCK_GRAPHICS_ACP
	bool
	depends on SOC_AMD_COMMON_BLOCK_GRAPHICS
	help
	  Select this option to provide Audio CoProcessor ACPI device for pre-Ryzen APUs for
	  use by custom Windows drivers.