1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef _FSP2_0_GRAPHICS_H_ 4 #define _FSP2_0_GRAPHICS_H_ 5 6 #include <types.h> 7 8 /* 9 * Report the fsp_graphics_info_guid HOB to framebuffer info. 10 * 11 * Must be called after PCI enumeration to make sure that the BAR 12 * doesn't change any more. 13 */ 14 void fsp_report_framebuffer_info(const uintptr_t framebuffer_bar, 15 enum lb_fb_orientation orientation); 16 17 /* SoC Overrides */ 18 /* 19 * Check and report if an external display is attached 20 * 21 * Possible return values: 22 * 1 - An external device is attached. 23 * 0 - On-board display alone. 24 */ 25 int fsp_soc_report_external_display(void); 26 27 #endif /* _FSP2_0_GRAPHICS_H_ */ 28