summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2022-05-27 12:29:55 -0600
committerMartin L Roth <gaumless@tutanota.com>2022-05-29 14:47:19 +0000
commit5ca882fa9085c997831c9e9d3f1a33256e400bc8 (patch)
tree5993a3635ea4ba5d9cdbce1f584d467b18e3e79a /src/mainboard/google
parent2b83fa7741ab65bd6a77f8fcebfb5d9197eee921 (diff)
mb/google/brya: Increase Resizable BAR address space limit to 32 bits
The dGPU used for some Brya projects requests 32 bits of address space for one of its BARs via the Resizable BAR mechanism. This Kconfig is currently set at 29 bits for brya, so the allocation currently is capped at 29 bits. This patch sets the limit to 32 bits for brya boards, which is enough for the GPU. BUG=b:214443809 TEST=all of the dGPU PCI BARs on agah can be successfully allocated Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: I61dbe47f1f316967d052bae748ff23babde61ef0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64726 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index f64045533d..3874e6a796 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -273,4 +273,8 @@ config INCLUDE_NVIDIA_GPU_ASL
help
Select this if the variant has an Nvidia GN20 GPU attached to PEG1
+config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
+ int
+ default 32
+
endif # BOARD_GOOGLE_BRYA_COMMON