The DRM splash client reads the boot graphics the firmware left behind through bgrt_tab and bgrt_image_size. Built as part of drm_client_lib, which can be a module, it then fails to link:
ERROR: modpost: drivers/gpu/drm/clients/drm_client_lib.ko: symbol 'bgrt_tab' undefined! ERROR: modpost: drivers/gpu/drm/clients/drm_client_lib.ko: symbol 'bgrt_image_size' undefined! Export both. They are filled in once, early in boot, and only read after that. Reported-by: Mario Limonciello <[email protected]> Closes: https://lore.kernel.org/dri-devel/[email protected]/ Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Màxim Pedraza Padilla <[email protected]> --- drivers/firmware/efi/efi-bgrt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/firmware/efi/efi-bgrt.c b/drivers/firmware/efi/efi-bgrt.c index 1da451582812..746a8fb3a337 100644 --- a/drivers/firmware/efi/efi-bgrt.c +++ b/drivers/firmware/efi/efi-bgrt.c @@ -17,7 +17,10 @@ #include <linux/efi-bgrt.h> struct acpi_table_bgrt bgrt_tab; +EXPORT_SYMBOL_GPL(bgrt_tab); + size_t bgrt_image_size; +EXPORT_SYMBOL_GPL(bgrt_image_size); struct bmp_header { u16 id; -- 2.39.5
