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