Loading drivers/video/fbdev/msm/mdp3_ctrl.c +8 −0 Original line number Diff line number Diff line Loading @@ -865,6 +865,14 @@ static int mdp3_ctrl_dma_init(struct msm_fb_data_type *mfd, te.hw_vsync_mode = panel_info->mipi.hw_vsync_mode; te.tear_check_en = panel_info->te.tear_check_en; te.sync_cfg_height = panel_info->te.sync_cfg_height; /* * for MDP3, max value of CFG_HEIGHT is 0x7ff * for MDP5, max value of CFG_HEIGHT is 0xffff */ if (te.sync_cfg_height > 0x7ff) te.sync_cfg_height = 0x7ff; te.vsync_init_val = panel_info->te.vsync_init_val; te.sync_threshold_start = panel_info->te.sync_threshold_start; te.sync_threshold_continue = panel_info->te.sync_threshold_continue; Loading drivers/video/fbdev/msm/mdp3_dma.c +1 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,7 @@ int mdp3_dma_sync_config(struct mdp3_dma *dma, vsync_clk_speed_hz = MDP_VSYNC_CLK_RATE; cfg = total_lines << VSYNC_TOTAL_LINES_SHIFT; cfg = te->sync_cfg_height << VSYNC_TOTAL_LINES_SHIFT; total_lines *= te->frame_rate; vclks_line = (total_lines) ? vsync_clk_speed_hz / total_lines : 0; Loading Loading
drivers/video/fbdev/msm/mdp3_ctrl.c +8 −0 Original line number Diff line number Diff line Loading @@ -865,6 +865,14 @@ static int mdp3_ctrl_dma_init(struct msm_fb_data_type *mfd, te.hw_vsync_mode = panel_info->mipi.hw_vsync_mode; te.tear_check_en = panel_info->te.tear_check_en; te.sync_cfg_height = panel_info->te.sync_cfg_height; /* * for MDP3, max value of CFG_HEIGHT is 0x7ff * for MDP5, max value of CFG_HEIGHT is 0xffff */ if (te.sync_cfg_height > 0x7ff) te.sync_cfg_height = 0x7ff; te.vsync_init_val = panel_info->te.vsync_init_val; te.sync_threshold_start = panel_info->te.sync_threshold_start; te.sync_threshold_continue = panel_info->te.sync_threshold_continue; Loading
drivers/video/fbdev/msm/mdp3_dma.c +1 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,7 @@ int mdp3_dma_sync_config(struct mdp3_dma *dma, vsync_clk_speed_hz = MDP_VSYNC_CLK_RATE; cfg = total_lines << VSYNC_TOTAL_LINES_SHIFT; cfg = te->sync_cfg_height << VSYNC_TOTAL_LINES_SHIFT; total_lines *= te->frame_rate; vclks_line = (total_lines) ? vsync_clk_speed_hz / total_lines : 0; Loading