Android7.0修改LCD帧率(屏幕刷新率)

--- a/kernel-3.18/drivers/misc/mediatek/lcm/px080ij21110717a_wuxga_dsi_vdo/px080ij21110717a_wuxga_dsi_vdo.c
+++ b/kernel-3.18/drivers/misc/mediatek/lcm/px080ij21110717a_wuxga_dsi_vdo/px080ij21110717a_wuxga_dsi_vdo.c
@@ -361,7 +361,7 @@ static void lcm_get_params(LCM_PARAMS *params)
        params->dsi.horizontal_active_pixel = FRAME_WIDTH;
 
        params->dsi.ssc_disable = 1;
-       params->dsi.PLL_CLOCK = 400;
+       params->dsi.PLL_CLOCK = 380;
        params->dsi.cont_clock = 1;
 
     params->dsi.esd_check_enable =1;
diff --git a/vendor/mediatek/proprietary/bootable/bootloader/lk/dev/lcm/px080ij21110717a_wuxga_dsi_vdo/px080ij21110717a_wuxga_dsi_vdo.
index 7b74be1..b2fe0d7 100644
--- a/vendor/mediatek/proprietary/bootable/bootloader/lk/dev/lcm/px080ij21110717a_wuxga_dsi_vdo/px080ij21110717a_wuxga_dsi_vdo.c
+++ b/vendor/mediatek/proprietary/bootable/bootloader/lk/dev/lcm/px080ij21110717a_wuxga_dsi_vdo/px080ij21110717a_wuxga_dsi_vdo.c
@@ -181,7 +181,7 @@ static void lcm_get_params(LCM_PARAMS *params)
                params->dsi.horizontal_active_pixel                     = FRAME_WIDTH;
                
        params->dsi.ssc_disable                                                 = 1;
-               params->dsi.PLL_CLOCK = 400;
+               params->dsi.PLL_CLOCK = 380;
                params->dsi.cont_clock= 1;
 
         params->dsi.esd_check_enable =1;

你可能感兴趣的:(Android系统)