![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <edid.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
#include <types.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 | enable_pq (struct disp_pq_regs *const regs, u32 width, u32 height, int enable_relay) |
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 61 of file ddp.c.
References CG_CON0_DISP_ALL, CG_CON1_DISP_DSI0, CG_CON1_DISP_DSI0_INTERFACE, clrbits32, mmsys_cfg, mmsys_cfg_regs::mmsys_cg_con0, and mmsys_cfg_regs::mmsys_cg_con1.
Referenced by mtk_ddp_init().
Definition at line 9 of file ddp.c.
References mmsys_cfg_regs::disp_dither0_mout_en, mmsys_cfg_regs::disp_ovl0_2l_mout_en, mmsys_cfg_regs::disp_ovl0_mout_en, mmsys_cfg_regs::disp_path0_sel_in, DISP_PATH0_SEL_IN_OVL0_2L, mmsys_cfg_regs::disp_rdma0_sout_sel_in, DITHER0_MOUT_EN_DISP_DSI0, mmsys_cfg_regs::dsi0_sel_in, DSI0_SEL_IN_DITHER0_MOUT, mmsys_cfg, OVL0_2L_MOUT_EN_DISP_PATH0, OVL0_MOUT_EN_OVL0_2L, RDMA0_SOUT_SEL_IN_COLOR, and write32().
Referenced by main_disp_path_setup().
Definition at line 19 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().
|
static |
Definition at line 34 of file ddp.c.
References height, PQ_EN, PQ_RELAY_MODE, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 43 of file ddp.c.
References color_start(), disp_aal, disp_ccorr, disp_config_main_path_connection(), disp_config_main_path_mutex(), disp_dither, disp_gamma, enable_pq(), height, KiB, MAIN_PATH_OVL_NR, ovl_set_roi(), rdma_config(), and width.
Referenced by mtk_ddp_mode_set().
Definition at line 69 of file ddp.c.
References disp_clock_on(), SMI_LARB0, SMI_LARB_NON_SEC_CON, and write32().
Definition at line 76 of file ddp.c.
References 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(), rdma_start(), edid_mode::refresh, edid_mode::va, and width.