linux-variscite/defconfig: Add CONFIG_PRINTK_TIME
PATCH 1/2 linux-variscite/defconfig: Add CONFIG_PRINTK_TIME
It helps finding boot performance gaps and does not cost much
Signed-off-by Andreas Müller <[email protected]>
--- recipes-kernel/linux/linux-variscite-4.1.15/defconfig | 1 + 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-variscite-4.1.15/defconfig +1 -0
@@ -1,3 +1,4 @@ +CONFIG_PRINTK_TIME=y CONFIG_KERNEL_LZO=y CONFIG_SYSVIPC=y CONFIG_FHANDLE=y
Signature · 1 line
2.7.4
PATCH 2/2 linux-variscite: allow non CEA modes on HDMI
had similar patch in meta-variscite-community
Signed-off-by Andreas Müller <[email protected]>
--- ...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
recipes-kernel/linux/linux-variscite-4.1.15/0001-mxc_hdmi-mxc_hdmi-allow-EDID-to-select-non-CEA-modes.patch new file +36 -0
@@ -0,0 +1,36 @@ +From c22800b44ce62956f10cdbf55f003a278f35ebfe Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +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 <[email protected]> +--- + 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 +
recipes-kernel/linux/linux-variscite_4.1.15.bb +1 -0
@@ -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 \ "
Signature · 1 line
2.7.4