pmos/device/linux-lg-dory/02_fix_mdss_fb_refresh_rate.patch
drebrez 3c988d76af Add LG G Watch (dory) support (#595)
* Add LG G Watch (dory) support

* Use github.com mirror instead of googlesource.com to have fixed checksum

* Fix kernel compilation and remove unnecessary initfs-hook for framebuffer settings
2017-09-19 01:15:04 +02:00

14 lines
565 B
Diff

diff --git a/drivers/video/msm/mdss/mdss_fb.c b/drivers/video/msm/mdss/mdss_fb.c
index 60ac9cc..926e4a4 100644
--- a/drivers/video/msm/mdss/mdss_fb.c
+++ b/drivers/video/msm/mdss/mdss_fb.c
@@ -1921,7 +1921,7 @@ static int mdss_fb_register(struct msm_fb_data_type *mfd)
var->left_margin = panel_info->lcdc.h_back_porch;
var->right_margin = panel_info->lcdc.h_front_porch;
var->hsync_len = panel_info->lcdc.h_pulse_width;
- var->pixclock = panel_info->clk_rate / 1000;
+ var->pixclock = 1000000 / 60;
/*
* Populate smem length here for uspace to get the