Fix refresh rate on sony-amami (#348)
Patch added to hardcode pixclock in framebuffer driver
This commit is contained in:
parent
8eeb3fdc0e
commit
5a32e48eef
2 changed files with 17 additions and 2 deletions
|
@ -22,7 +22,7 @@ case $pkgver in
|
||||||
*.*.*) _kernver=${pkgver%.*};;
|
*.*.*) _kernver=${pkgver%.*};;
|
||||||
*.*) _kernver=$pkgver;;
|
*.*) _kernver=$pkgver;;
|
||||||
esac
|
esac
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
pkgdesc="Sony Xperia Z1 Compact kernel"
|
pkgdesc="Sony Xperia Z1 Compact kernel"
|
||||||
url="https://github.com/sonyxperiadev/kernel"
|
url="https://github.com/sonyxperiadev/kernel"
|
||||||
|
@ -34,6 +34,7 @@ source="
|
||||||
$pkgname-$_hash.tar.gz::https://github.com/sonyxperiadev/kernel/archive/${_hash}.tar.gz
|
$pkgname-$_hash.tar.gz::https://github.com/sonyxperiadev/kernel/archive/${_hash}.tar.gz
|
||||||
$_config
|
$_config
|
||||||
compiler-gcc6.h
|
compiler-gcc6.h
|
||||||
|
mdss_fb_refresh_rate.patch
|
||||||
"
|
"
|
||||||
subpackages=""
|
subpackages=""
|
||||||
license="GPL2"
|
license="GPL2"
|
||||||
|
@ -105,4 +106,5 @@ package() {
|
||||||
|
|
||||||
sha512sums="cd4af23a9a6898e7f1807758f8ba0c9e99b0e31e4452df2fe05632da1f28366773e403d17d81872ff00d78e620d079aa510759b6763b13e6e74392be0d726ea3 linux-sony-amami-d78970c1afd9fad52cb4402c7bcb9701e8a06d41.tar.gz
|
sha512sums="cd4af23a9a6898e7f1807758f8ba0c9e99b0e31e4452df2fe05632da1f28366773e403d17d81872ff00d78e620d079aa510759b6763b13e6e74392be0d726ea3 linux-sony-amami-d78970c1afd9fad52cb4402c7bcb9701e8a06d41.tar.gz
|
||||||
dd345d9f7f499ecbba274c274351fe174cd189f000b3459ca7e7e2d234740bc1fc0ed5ce69eaac8509f5867efd2699df35d64b03d1643da01ba1401e599bbaa7 config-sony-amami.armhf
|
dd345d9f7f499ecbba274c274351fe174cd189f000b3459ca7e7e2d234740bc1fc0ed5ce69eaac8509f5867efd2699df35d64b03d1643da01ba1401e599bbaa7 config-sony-amami.armhf
|
||||||
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h"
|
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h
|
||||||
|
a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 mdss_fb_refresh_rate.patch"
|
||||||
|
|
13
device/linux-sony-amami/mdss_fb_refresh_rate.patch
Normal file
13
device/linux-sony-amami/mdss_fb_refresh_rate.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/drivers/video/msm/mdss/mdss_fb.c b/drivers/video/msm/mdss/mdss_fb.c
|
||||||
|
index b37fd1e07ac1..1f091a261d22 100644
|
||||||
|
--- a/drivers/video/msm/mdss/mdss_fb.c
|
||||||
|
+++ b/drivers/video/msm/mdss/mdss_fb.c
|
||||||
|
@@ -2668,7 +2668,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;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Store the cont splash state in the var reserved[3] field.
|
Loading…
Reference in a new issue