coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
edid_fill_fb.c File Reference
#include <console/console.h>
#include <edid.h>
#include <boot/coreboot_tables.h>
#include <framebuffer_info.h>
#include <string.h>
#include <stdlib.h>
#include <list.h>
Include dependency graph for edid_fill_fb.c:

Go to the source code of this file.

Data Structures

struct  fb_info
 

Functions

static struct fb_infofb_new_framebuffer_info (void)
 
struct fb_infofb_add_framebuffer_info_ex (const struct lb_framebuffer *fb)
 
struct fb_infofb_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 fb_infofb_new_framebuffer_info_from_edid (const struct edid *edid, uintptr_t fb_addr)
 
int fill_lb_framebuffer (struct lb_framebuffer *framebuffer)
 

Variables

static struct list_node list
 

Function Documentation

◆ fb_add_framebuffer_info()

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 
)

◆ fb_add_framebuffer_info_ex()

◆ fb_new_framebuffer_info()

static struct fb_info* fb_new_framebuffer_info ( void  )
static

Definition at line 21 of file edid_fill_fb.c.

References malloc(), and memset().

Referenced by fb_add_framebuffer_info_ex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fb_new_framebuffer_info_from_edid()

struct fb_info* fb_new_framebuffer_info_from_edid ( const struct edid edid,
uintptr_t  fb_addr 
)

Definition at line 162 of file edid_fill_fb.c.

References edid::bytes_per_line, fb_add_framebuffer_info(), edid::framebuffer_bits_per_pixel, edid::x_resolution, and edid::y_resolution.

Referenced by ast_driver_framebuffer_init(), configure_display(), display_startup(), intel_gma_init_lvds(), and rk_display_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fb_set_orientation()

void fb_set_orientation ( struct fb_info info,
enum lb_fb_orientation  orientation 
)

Definition at line 151 of file edid_fill_fb.c.

References info, and lb_framebuffer::orientation.

Referenced by configure_display(), and display_startup().

Here is the caller graph for this function:

◆ fill_lb_framebuffer()

int fill_lb_framebuffer ( struct lb_framebuffer framebuffer)

Definition at line 169 of file edid_fill_fb.c.

Referenced by lb_framebuffer().

Here is the caller graph for this function:

Variable Documentation

◆ list