![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/mmio.h>
#include <edid.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
Go to the source code of this file.
Functions | |
static void | disp_config_main_path_connection (void) |
static void | disp_config_main_path_mutex (void) |
static void | ovl_bgclr_in_sel (u32 idx) |
static void | ovl_layer_smi_id_en (u32 idx) |
static void | ccorr_config (u32 width, u32 height) |
static void | aal_config (u32 width, u32 height) |
static void | gamma_config (u32 width, u32 height) |
static void | postmask_config (u32 width, u32 height) |
static void | dither_config (u32 width, u32 height) |
static void | main_disp_path_setup (u32 width, u32 height, u32 vrefresh) |
static void | disp_clock_on (void) |
void | mtk_ddp_init (void) |
void | mtk_ddp_mode_set (const struct edid *edid) |
Definition at line 65 of file ddp.c.
References BIOS_INFO, clrbits32, disp_aal, height, PQ_EN, PQ_ENGINE_EN, PQ_RELAY_MODE, printk, setbits32, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 45 of file ddp.c.
References BIOS_INFO, clrbits32, disp_ccorr, height, PQ_EN, PQ_ENGINE_EN, PQ_RELAY_MODE, printk, setbits32, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 161 of file ddp.c.
References CG_CON0_DISP_ALL, CG_CON1_DISP_ALL, CG_CON2_DISP_ALL, clrbits32, mmsys_cfg, mmsys_cfg_regs::mmsys_cg_con0, mmsys_cfg_regs::mmsys_cg_con1, and mmsys_cfg_regs::mmsys_cg_con2.
Referenced by mtk_ddp_init().
Definition at line 9 of file ddp.c.
References mmsys_cfg_regs::aal0_sel_in, AAL0_SEL_IN_CCORR0, CCORR0_SOUT_AAL0, mmsys_cfg_regs::ccorr0_sout_sel, DISP_OVL0_2L_GO_BLEND, DISP_OVL0_GO_BG, DITHER0_MOUT_DSI0, mmsys_cfg_regs::dither0_mout_en, mmsys_cfg_regs::dsi0_sel_in, DSI0_SEL_IN_DITHER0, mmsys_cfg, mmsys_cfg_regs::mmsys_ovl_mout_en, mmsys_cfg_regs::ovl0_2l_mout_en, OVL0_MOUT_EN_DISP_RDMA0, mmsys_cfg_regs::rdma0_sel_in, RDMA0_SEL_IN_OVL0_2L, RDMA0_SOUT_COLOR0, mmsys_cfg_regs::rdma0_sout_sel, and write32().
Referenced by main_disp_path_setup().
Definition at line 23 of file ddp.c.
References BIT, disp_mutex_regs::ctl, disp_mutex, disp_mutex_regs::en, disp_mutex_regs::mod, disp_mutex_regs::mutex, MUTEX_MOD_MAIN_PATH, MUTEX_SOF_DSI0, and write32().
Referenced by main_disp_path_setup().
Definition at line 120 of file ddp.c.
References BIOS_INFO, clrbits32, disp_dither, height, PQ_EN, PQ_RELAY_MODE, printk, setbits32, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 86 of file ddp.c.
References BIOS_INFO, clrbits32, disp_gamma, height, PQ_EN, PQ_RELAY_MODE, printk, setbits32, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 138 of file ddp.c.
References aal_config(), BIOS_INFO, ccorr_config(), color_start(), disp_config_main_path_connection(), disp_config_main_path_mutex(), dither_config(), gamma_config(), height, KiB, MAIN_PATH_OVL_NR, ovl_layer_smi_id_en(), ovl_set_roi(), postmask_config(), printk, rdma_config(), and width.
Referenced by mtk_ddp_mode_set().
Definition at line 170 of file ddp.c.
References disp_clock_on(), SMI_LARB0, SMI_LARB_PORT_L0_OVL_RDMA0, and write32().
Definition at line 177 of file ddp.c.
References BIOS_INFO, edid::framebuffer_bits_per_pixel, edid_mode::ha, height, main_disp_path_setup(), edid::mode, ovl_bgclr_in_sel(), OVL_INFMT_RGBA8888, ovl_layer_config(), printk, rdma_start(), edid_mode::refresh, edid_mode::va, and width.
Definition at line 103 of file ddp.c.
References BIOS_INFO, clrbits32, disp_postmask, height, PQ_EN, PQ_RELAY_MODE, printk, setbits32, width, and write32().
Referenced by main_disp_path_setup().