coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
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_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 62 of file ddp.c.
References disp_aal, height, PQ_EN, PQ_RELAY_MODE, SET32_BITFIELDS, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 49 of file ddp.c.
References disp_ccorr, height, PQ_EN, PQ_ENGINE_EN, SET32_BITFIELDS, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 130 of file ddp.c.
References CG_CON0_DISP_ALL, CG_CON2_DISP_ALL, clrbits32, mmsys_cfg, mmsys_cfg_regs::mmsys_cg_con0, and mmsys_cfg_regs::mmsys_cg_con2.
Referenced by mtk_ddp_init().
Definition at line 13 of file ddp.c.
References mmsys_cfg_regs::disp_dither0_mout_en, DISP_DITHER0_MOUT_TO_DSI0, DISP_DSI0_FROM_DITHER0, mmsys_cfg_regs::disp_dsi0_sel_in, DISP_OVL0_GO_BLEND, mmsys_cfg_regs::disp_ovl0_mout_en, DISP_OVL0_MOUT_TO_RDMA0, DISP_RDMA0_FROM_OVL0, mmsys_cfg_regs::disp_rdma0_sel_in, mmsys_cfg_regs::disp_rdma0_sout_sel, DISP_RDMA0_SOUT_TO_COLOR0, mmsys_cfg, mmsys_cfg_regs::mmsys_ovl_con, and SET32_BITFIELDS.
Referenced by main_disp_path_setup().
Definition at line 33 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 100 of file ddp.c.
References disp_dither, height, PQ_EN, PQ_RELAY_MODE, SET32_BITFIELDS, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 76 of file ddp.c.
References disp_gamma, height, PQ_EN, SET32_BITFIELDS, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 112 of file ddp.c.
References aal_config(), ccorr_config(), color_start(), disp_config_main_path_connection(), disp_config_main_path_mutex(), dither_config(), gamma_config(), height, KiB, ovl_layer_smi_id_en(), ovl_set_roi(), postmask_config(), rdma_config(), and width.
Referenced by mtk_ddp_mode_set().
Definition at line 136 of file ddp.c.
References disp_clock_on(), SMI_LARB0, SMI_LARB_PORT_L0_OVL_RDMA0, and write32().
Definition at line 144 of file ddp.c.
References BIOS_INFO, edid::framebuffer_bits_per_pixel, edid_mode::ha, height, main_disp_path_setup(), edid::mode, OVL_INFMT_RGBA8888, ovl_layer_config(), printk, rdma_start(), edid_mode::refresh, edid_mode::va, and width.
Definition at line 43 of file ddp.c.
References disp_ovl, SET32_BITFIELDS, and SMI_ID_EN_VAL.
Referenced by main_disp_path_setup().
Definition at line 88 of file ddp.c.
References disp_postmask, height, PQ_EN, PQ_RELAY_MODE, SET32_BITFIELDS, width, and write32().
Referenced by main_disp_path_setup().