coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <commonlib/helpers.h>
#include <device/device.h>
#include <device/mmio.h>
#include <device/pci_def.h>
#include <intelblocks/graphics.h>
#include <drivers/intel/gma/i915_reg.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static void | graphics_configure_panelpower (const struct i915_gpu_panel_config *const panel_cfg, uint8_t *const mmio, const unsigned int panel_idx) |
static void | graphics_configure_backlight (const struct i915_gpu_panel_config *const panel_cfg, uint8_t *const mmio, const unsigned int panel_idx) |
void | graphics_soc_panel_init (struct device *const dev) |
const struct i915_gpu_controller_info * | intel_igd_get_controller_info (const struct device *device) |
|
static |
Definition at line 33 of file graphics.c.
References i915_gpu_panel_config::backlight_polarity, i915_gpu_panel_config::backlight_pwm_hz, BXT_BLC_PWM_CTL, BXT_BLC_PWM_DUTY, BXT_BLC_PWM_FREQ, BXT_BLC_PWM_POLARITY, UTIL_PIN_CTL, UTIL_PIN_ENABLE, UTIL_PIN_MODE_PWM, and write32().
Referenced by graphics_soc_panel_init().
|
static |
Definition at line 13 of file graphics.c.
References i915_gpu_panel_config::backlight_off_delay_ms, i915_gpu_panel_config::backlight_on_delay_ms, i915_gpu_panel_config::cycle_delay_ms, DIV_ROUND_UP, i915_gpu_panel_config::down_delay_ms, offset, PANEL_POWER_RESET, PCH_PP_CONTROL, PCH_PP_OFF_DELAYS, PCH_PP_ON_DELAYS, i915_gpu_panel_config::up_delay_ms, and write32().
Referenced by graphics_soc_panel_init().
Definition at line 54 of file graphics.c.
References ARRAY_SIZE, resource::base, device::chip_info, graphics_configure_backlight(), graphics_configure_panelpower(), mmio_res, soc_intel_apollolake_config::panel_cfg, PCI_BASE_ADDRESS_0, and probe_resource().
Referenced by gma_init().
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, and device::chip_info.
Referenced by gma_generate_ssdt().