From b127ebf1e95305a6aeec1de1ab06a60d9e150d2d Mon Sep 17 00:00:00 2001 From: Sujana M Date: Wed, 8 Jul 2026 17:59:24 +0000 Subject: [PATCH] fix(gpu): initialize PCIe and IOVIRT tables for BM GPU - Include GPU in the baremetal SBSA init checks that create the PCIe and IOVIRT info tables. - Ensure GPU rules that depend on PCIe RC or SMMU discovery have the required platform tables when the GPU module is run directly. Signed-off-by: Sujana M Change-Id: I12cdaa3320acfd67e26a11de0284c079364da890 --- apps/baremetal/sbsa_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/baremetal/sbsa_main.c b/apps/baremetal/sbsa_main.c index d88fc009..9a73a961 100644 --- a/apps/baremetal/sbsa_main.c +++ b/apps/baremetal/sbsa_main.c @@ -65,12 +65,14 @@ freeAcsMeM(void) if (acs_is_module_enabled(PCIE) || acs_is_module_enabled(GIC) || + acs_is_module_enabled(GPU) || acs_is_module_enabled(SMMU)) val_pcie_free_info_table(); if (acs_is_module_enabled(SMMU) || acs_is_module_enabled(GIC) || acs_is_module_enabled(MEM_MAP) || + acs_is_module_enabled(GPU) || acs_is_module_enabled(PCIE)) val_iovirt_free_info_table(); @@ -254,12 +256,14 @@ ShellAppMainsbsa() if (acs_is_module_enabled(PCIE) || acs_is_module_enabled(GIC) || + acs_is_module_enabled(GPU) || acs_is_module_enabled(SMMU)) createPcieInfoTable(); if (acs_is_module_enabled(GIC) || acs_is_module_enabled(PCIE) || acs_is_module_enabled(MEM_MAP) || + acs_is_module_enabled(GPU) || acs_is_module_enabled(SMMU)) createIoVirtInfoTable();