coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <assert.h>
#include <bootmode.h>
#include <console/console.h>
#include <device/mmio.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <drivers/intel/gma/i915.h>
#include <drivers/intel/gma/libgfxinit.h>
#include <drivers/intel/gma/opregion.h>
#include <intelblocks/cfg.h>
#include <intelblocks/graphics.h>
#include <fsp/graphics.h>
#include <soc/pci_devs.h>
#include <types.h>
Go to the source code of this file.
Functions | |
__weak void | graphics_soc_panel_init (struct device *dev) |
__weak const struct i915_gpu_controller_info * | intel_igd_get_controller_info (const struct device *device) |
static void | gma_init (struct device *const dev) |
static void | gma_generate_ssdt (const struct device *device) |
static int | is_graphics_disabled (struct device *dev) |
static uintptr_t | graphics_get_bar (struct device *dev, unsigned long index) |
uintptr_t | graphics_get_framebuffer_address (void) |
static uintptr_t | graphics_get_gtt_base (void) |
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) |
Variables | |
static const struct device_operations | graphics_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver graphics_driver | __pci_driver |
Definition at line 82 of file graphics.c.
References drivers_intel_gma_displays_ssdt_generate(), and intel_igd_get_controller_info().
Definition at line 34 of file graphics.c.
References acpi_is_wakeup_s3(), chip_get_common_soc_structure(), config, CONFIG, DDI_A_4_LANES, DDI_BUF_CTL_A, DDI_BUF_CTL_ENABLE, display_init_required(), fsp_report_framebuffer_info(), gfx_set_init_done(), gma_gfxinit(), graphics_get_framebuffer_address(), graphics_gtt_read(), graphics_gtt_write(), graphics_soc_panel_init(), intel_gma_init_igd_opregion(), PCI_COMMAND, PCI_COMMAND_MASTER, pci_dev_init(), and pci_or_config16().
Definition at line 99 of file graphics.c.
References resource::base, resource::index, and probe_resource().
Referenced by graphics_get_framebuffer_address(), and graphics_get_gtt_base().
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().
Definition at line 128 of file graphics.c.
References die(), die_with_post_code, graphics_get_bar(), is_graphics_disabled(), PCI_BASE_ADDRESS_0, pcidev_path_on_root(), POST_HW_INIT_FAILURE, and SA_DEVFN_IGD.
Referenced by graphics_gtt_read(), and graphics_gtt_write().
Definition at line 149 of file graphics.c.
References graphics_get_gtt_base(), and read32().
Referenced by gma_init(), and graphics_gtt_rmw().
Definition at line 159 of file graphics.c.
References graphics_gtt_read(), graphics_gtt_write(), and val.
Definition at line 154 of file graphics.c.
References graphics_get_gtt_base(), and write32().
Referenced by gma_init(), and graphics_gtt_rmw().
Definition at line 20 of file graphics.c.
__weak const struct i915_gpu_controller_info* intel_igd_get_controller_info | ( | const struct device * | device | ) |
Definition at line 29 of file graphics.c.
References NULL.
|
static |
Definition at line 90 of file graphics.c.
References device::enabled.
Referenced by graphics_get_framebuffer_address(), and graphics_get_gtt_base().
|
static |
Definition at line 179 of file graphics.c.
|
static |
Definition at line 159 of file graphics.c.
|
static |
Definition at line 179 of file graphics.c.