0767da9fc9
Change-Id: I8567a567d979bcc0c1c710f6f231d7ecdc82b126 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61058 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
25 lines
671 B
C
25 lines
671 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#ifndef __FRAMEBUFFER_INFO_H_
|
|
#define __FRAMEBUFFER_INFO_H_
|
|
|
|
#include <stdint.h>
|
|
#include <commonlib/coreboot_tables.h>
|
|
|
|
struct fb_info;
|
|
|
|
struct fb_info *
|
|
fb_add_framebuffer_info_ex(const struct lb_framebuffer *fb);
|
|
|
|
struct fb_info *fb_add_framebuffer_info(uintptr_t fb_addr, uint32_t x_resolution,
|
|
uint32_t y_resolution, uint32_t bytes_per_line,
|
|
uint8_t bits_per_pixel);
|
|
|
|
void fb_set_orientation(struct fb_info *info,
|
|
enum lb_fb_orientation orientation);
|
|
|
|
struct edid;
|
|
struct fb_info *fb_new_framebuffer_info_from_edid(const struct edid *edid,
|
|
uintptr_t fb_addr);
|
|
|
|
#endif /* __FRAMEBUFFER_INFO_H_ */
|