Debian Codegraph @

src/soc/intel/common/block/include/intelblocks/early_graphics.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifndef SOC_INTEL_COMMON_BLOCK_GRAPHICS_EARLY_H
4 #define SOC_INTEL_COMMON_BLOCK_GRAPHICS_EARLY_H
5
6 #include <stdbool.h>
7
8 /*
9 * SoC override
10 *
11 * All new SoC must implement below functionality.
12 */
13
14 /* Configure display panel */
15 void early_graphics_soc_panel_init(void);
16
17 /*
18 * Early graphics module API
19 * Graphics at this stage is limited to VGA text mode.
20 */
21
22 /* Initialize graphics. Return true if VGA text mode is ready to use. */
23 bool early_graphics_init(void);
24
25 /* Clear graphics configuration, turn off the displays. */
26 void early_graphics_stop(void);
27
28 /* Allow early configuration of any display related GPIOs as needed */
29 const struct pad_config *variant_early_graphics_gpio_table(size_t *num);
30
31 #endif /* SOC_INTEL_COMMON_BLOCK_GRAPHICS_EARLY_H */