htc-ace: patch framebuffer to report refresh rate of 60Hz (!268)
This allows Xorg to configure display mode correctly. [ci:skip-build]: already built successfully
This commit is contained in:
parent
3fb645e916
commit
9150a7c966
2 changed files with 19 additions and 2 deletions
13
device/linux-htc-ace/03_msm-fb-pixclock.patch
Normal file
13
device/linux-htc-ace/03_msm-fb-pixclock.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/drivers/video/msm/msm_fb.c b/drivers/video/msm/msm_fb.c
|
||||
index 015c3da18..34decdea8 100644
|
||||
--- a/drivers/video/msm/msm_fb.c
|
||||
+++ b/drivers/video/msm/msm_fb.c
|
||||
@@ -1517,7 +1517,7 @@ static int msm_fb_register(struct msm_fb_data_type *mfd)
|
||||
mfd->var_yres = panel_info->yres;
|
||||
mfd->var_frame_rate = panel_info->frame_rate;
|
||||
|
||||
- var->pixclock = mfd->panel_info.clk_rate;
|
||||
+ var->pixclock = 1000000 / 60;
|
||||
mfd->var_pixclock = var->pixclock;
|
||||
|
||||
var->xres = panel_info->xres;
|
|
@ -9,6 +9,7 @@
|
|||
# - enable devtmpfs (needed for udev -> touch support in weston)
|
||||
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
|
||||
# - disable KINETO_GAN (caused problems when used with networkmanager, dhcpcd)
|
||||
# - patch framebuffer to report refresh rate of 60Hz
|
||||
|
||||
_vendor=htc
|
||||
_flavor=htc-ace
|
||||
|
@ -21,7 +22,7 @@ case $pkgver in
|
|||
*.*.*) _kernver=${pkgver%.*};;
|
||||
*.*) _kernver=$pkgver;;
|
||||
esac
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
arch="armhf"
|
||||
pkgdesc="HTC Desire kernel from OpenDesireProject"
|
||||
url="https://github.com/OpenDesireProject/android_kernel_htc_msm7x30"
|
||||
|
@ -34,6 +35,7 @@ source="
|
|||
$_config
|
||||
compiler-gcc6.h
|
||||
02_gpu-msm-fix-gcc5-compile.patch
|
||||
03_msm-fb-pixclock.patch
|
||||
"
|
||||
subpackages=""
|
||||
license="GPL2"
|
||||
|
@ -105,4 +107,6 @@ package() {
|
|||
sha512sums="72fc35e1c7fe848ae5c1139176d4c45ef042d494403ab38e5fa98e3620fce3253ffc4bf7151738c7dd47967f2ad96b034a9365dc68f1c025aef87e985d5b1776 linux-htc-ace-887cd64b8361ac89ac56810460947a537112bdc9.tar.gz
|
||||
751cb710c963223032ecb81f2ac89c92bee276ba3c4a2626f41fd794eff51053a169f78e08e0e0f87c64d5a2dcce9fb47436f878cdb468b5bcee7d8e5b9be317 config-htc-ace.armhf
|
||||
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h
|
||||
2962e853aea3bec3cfea762584a6722023c5c9041994065a7ee75b6c4584121890d6dd1ac74317a2bb8069bff49583a9cccd73cca539665a76713465e05a2cf6 02_gpu-msm-fix-gcc5-compile.patch"
|
||||
2962e853aea3bec3cfea762584a6722023c5c9041994065a7ee75b6c4584121890d6dd1ac74317a2bb8069bff49583a9cccd73cca539665a76713465e05a2cf6 02_gpu-msm-fix-gcc5-compile.patch
|
||||
6a4079863ca09f8bca1dd9c80487860a8f6fc6c20d18961bc54988bb1831517e36092605cc593e5e1531ebb80eb76d0b1a006c339a7e334dc0d85bd91b20c72a 03_msm-fb-pixclock.patch
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue