diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2024-09-06 10:53:18 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-09-08 00:25:23 +0000 |
commit | 603346281c349a7caf16d084bfd2babd65f5a5bf (patch) | |
tree | 8dad46b4d21e538a6d9538e91ea2958558f34dac /src/mainboard/google/kahlee/Kconfig | |
parent | 897dccee0218222fd51744f12c9aca1c78ff38cb (diff) |
mb/google/kahlee: Add Kconfig to set IGD UMA allocation
Add a Kconfig choice to select the IGD UMA allocation. Default to the
previous value (32MB).
TEST=build/boot google/liara, verify UMA size changes with selection.
Change-Id: Ia53d6d39d4f06c896ec13808234144b89da101f8
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84235
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/kahlee/Kconfig')
-rw-r--r-- | src/mainboard/google/kahlee/Kconfig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig index 86632db69f..60630fe5c1 100644 --- a/src/mainboard/google/kahlee/Kconfig +++ b/src/mainboard/google/kahlee/Kconfig @@ -172,4 +172,31 @@ config USE_PSPSECUREOS default n if CHROMEOS default y +choice + prompt "UMA Memory Allocation" + default KAHLEE_UMA_SIZE_32MB + help + The amount of system memory allocated for the integrated GPU + +config KAHLEE_UMA_SIZE_32MB + bool "32MB" + +config KAHLEE_UMA_SIZE_64MB + bool "64MB" + +config KAHLEE_UMA_SIZE_128MB + bool "128MB" + +config KAHLEE_UMA_SIZE_256MB + bool "256MB" + +endchoice + +config UMA_SIZE_IN_MB + int + default 32 if KAHLEE_UMA_SIZE_32MB + default 64 if KAHLEE_UMA_SIZE_64MB + default 128 if KAHLEE_UMA_SIZE_128MB + default 256 if KAHLEE_UMA_SIZE_256MB + endif # BOARD_GOOGLE_BASEBOARD_KAHLEE |