All of lore.kernel.org
 help / color / mirror / Atom feed
* [3rdparty][PATCH 1/2] linux-variscite/defconfig: Add CONFIG_PRINTK_TIME
@ 2016-11-14 15:53 Andreas Müller
  2016-11-14 15:53 ` [3rdparty][PATCH 2/2] linux-variscite: allow non CEA modes on HDMI Andreas Müller
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Müller @ 2016-11-14 15:53 UTC (permalink / raw)
  To: meta-freescale

It helps finding boot performance gaps and does not cost much

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 recipes-kernel/linux/linux-variscite-4.1.15/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-kernel/linux/linux-variscite-4.1.15/defconfig b/recipes-kernel/linux/linux-variscite-4.1.15/defconfig
index e651bbe..fb34241 100644
--- a/recipes-kernel/linux/linux-variscite-4.1.15/defconfig
+++ b/recipes-kernel/linux/linux-variscite-4.1.15/defconfig
@@ -1,3 +1,4 @@
+CONFIG_PRINTK_TIME=y
 CONFIG_KERNEL_LZO=y
 CONFIG_SYSVIPC=y
 CONFIG_FHANDLE=y
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [3rdparty][PATCH 2/2] linux-variscite: allow non CEA modes on HDMI
  2016-11-14 15:53 [3rdparty][PATCH 1/2] linux-variscite/defconfig: Add CONFIG_PRINTK_TIME Andreas Müller
@ 2016-11-14 15:53 ` Andreas Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Müller @ 2016-11-14 15:53 UTC (permalink / raw)
  To: meta-freescale

had similar patch in meta-variscite-community

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 ...c_hdmi-allow-EDID-to-select-non-CEA-modes.patch | 36 ++++++++++++++++++++++
 recipes-kernel/linux/linux-variscite_4.1.15.bb     |  1 +
 2 files changed, 37 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-variscite-4.1.15/0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch

diff --git a/recipes-kernel/linux/linux-variscite-4.1.15/0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch b/recipes-kernel/linux/linux-variscite-4.1.15/0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch
new file mode 100644
index 0000000..32b5e4a
--- /dev/null
+++ b/recipes-kernel/linux/linux-variscite-4.1.15/0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch
@@ -0,0 +1,36 @@
+From c22800b44ce62956f10cdbf55f003a278f35ebfe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Mon, 14 Nov 2016 10:23:45 +0100
+Subject: [PATCH] mxc_hdmi: mxc_hdmi: allow EDID to select non CEA modes
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+I don't want to buy a new monitor to use screen resolutions other than 640*480
+on variscite imx boards.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ drivers/video/fbdev/mxc/mxc_hdmi.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/video/fbdev/mxc/mxc_hdmi.c b/drivers/video/fbdev/mxc/mxc_hdmi.c
+index c1b5126..dabdc5e 100644
+--- a/drivers/video/fbdev/mxc/mxc_hdmi.c
++++ b/drivers/video/fbdev/mxc/mxc_hdmi.c
+@@ -1801,8 +1801,8 @@ static void mxc_hdmi_edid_rebuild_modelist(struct mxc_hdmi *hdmi)
+ 		mode = &hdmi->fbi->monspecs.modedb[i];
+ 
+ 		if (!(mode->vmode & FB_VMODE_INTERLACED) &&
+-				(mxc_edid_mode_to_vic(mode) != 0)) {
+-
++			mode->xres <= 1920 &&
++			mode->yres <= 1080) {
+ 			dev_dbg(&hdmi->pdev->dev, "Added mode %d:", i);
+ 			dev_dbg(&hdmi->pdev->dev,
+ 				"xres = %d, yres = %d, freq = %d, vmode = %d, flag = %d\n",
+-- 
+2.7.4
+
diff --git a/recipes-kernel/linux/linux-variscite_4.1.15.bb b/recipes-kernel/linux/linux-variscite_4.1.15.bb
index 194ddfc..a9a365f 100644
--- a/recipes-kernel/linux/linux-variscite_4.1.15.bb
+++ b/recipes-kernel/linux/linux-variscite_4.1.15.bb
@@ -13,6 +13,7 @@ SRCREV = "1e7785b94784f23703dabeff3072a0a89e2bc90d"
 SRC_URI = " \
     git://github.com/varigit/linux-2.6-imx.git;protocol=git;branch=${SRCBRANCH} \
     file://Fix-the-compile-issue-under-gcc6.patch \
+    file://0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch \
     file://defconfig \
 "
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-14 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 15:53 [3rdparty][PATCH 1/2] linux-variscite/defconfig: Add CONFIG_PRINTK_TIME Andreas Müller
2016-11-14 15:53 ` [3rdparty][PATCH 2/2] linux-variscite: allow non CEA modes on HDMI Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.