From 5ca882fa9085c997831c9e9d3f1a33256e400bc8 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Fri, 27 May 2022 12:29:55 -0600 Subject: 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 Change-Id: I61dbe47f1f316967d052bae748ff23babde61ef0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64726 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/mainboard/google/brya/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google') 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 -- cgit v1.2.3