blob: a5f781f87fc6fb44e6eb7acf3c17c45b3d21f408 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _FSP2_0_GRAPHICS_H_
#define _FSP2_0_GRAPHICS_H_
#include <types.h>
/*
* Report the fsp_graphics_info_guid HOB to framebuffer info.
*
* Must be called after PCI enumeration to make sure that the BAR
* doesn't change any more.
*/
void fsp_report_framebuffer_info(const uintptr_t framebuffer_bar,
enum lb_fb_orientation orientation);
/* SoC Overrides */
/*
* Check and report if an external display is attached
*
* Possible return values:
* 1 - An external device is attached.
* 0 - On-board display alone.
*/
int fsp_soc_report_external_display(void);
#endif /* _FSP2_0_GRAPHICS_H_ */