coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
graphics.h File Reference
#include <device/device.h>
Include dependency graph for graphics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void graphics_soc_panel_init (struct device *dev)
 
const struct i915_gpu_controller_infointel_igd_get_controller_info (const struct device *device)
 
uint32_t graphics_gtt_read (unsigned long reg)
 
void graphics_gtt_write (unsigned long reg, uint32_t data)
 
void graphics_gtt_rmw (unsigned long reg, uint32_t andmask, uint32_t ormask)
 
uintptr_t graphics_get_framebuffer_address (void)
 

Function Documentation

◆ graphics_get_framebuffer_address()

uintptr_t graphics_get_framebuffer_address ( void  )

Definition at line 110 of file graphics.c.

References die_with_post_code, graphics_get_bar(), is_graphics_disabled(), PCI_BASE_ADDRESS_2, pcidev_path_on_root(), POST_HW_INIT_FAILURE, and SA_DEVFN_IGD.

Referenced by gma_init().

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

◆ graphics_gtt_read()

uint32_t graphics_gtt_read ( unsigned long  reg)

Definition at line 149 of file graphics.c.

References graphics_get_gtt_base(), and read32().

Referenced by gma_init(), and graphics_gtt_rmw().

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

◆ graphics_gtt_rmw()

void graphics_gtt_rmw ( unsigned long  reg,
uint32_t  andmask,
uint32_t  ormask 
)

Definition at line 159 of file graphics.c.

References graphics_gtt_read(), graphics_gtt_write(), and val.

Here is the call graph for this function:

◆ graphics_gtt_write()

void graphics_gtt_write ( unsigned long  reg,
uint32_t  data 
)

Definition at line 154 of file graphics.c.

References graphics_get_gtt_base(), and write32().

Referenced by gma_init(), and graphics_gtt_rmw().

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

◆ graphics_soc_panel_init()

◆ intel_igd_get_controller_info()

const struct i915_gpu_controller_info* intel_igd_get_controller_info ( const struct device device)

Definition at line 79 of file graphics.c.

References chip, device::chip_info, and NULL.

Referenced by gma_generate_ssdt().

Here is the caller graph for this function: