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