Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B9E99E00724; Mon, 14 Nov 2016 07:54:02 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (schnitzeltony[at]googlemail.com) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [74.125.82.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [74.125.82.65 listed in dnsbl.sorbs.net] Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 10533E007A2 for ; Mon, 14 Nov 2016 07:53:59 -0800 (PST) Received: by mail-wm0-f65.google.com with SMTP id u144so16462105wmu.0 for ; Mon, 14 Nov 2016 07:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=P5n4bqiPk188UQsfvlUm3kcbFD5KgjI/EtnohaQficE=; b=j5TJiuDWlk8DAFXRYzsoxEA/gBtLGN8HuRTqb1wE649vCVV4jIq1mfYguyvi7Glhc/ edbiDBOD8oRbNA9TfzY5vgyIkyZjhrd6PnY9rhSFCW2HoMHQwRdEpUhIKHFo0HqPPUxX X2wq1x8uH4GTZPJjb9vwaiVKkMsvoKJ2UZXJhC80fPstN4oZimck7UGcQsNaxeiEiiEw t/zLY36CCjRodVhdEwx2ksFap5NdAvw3hqdA8yRz9NfiEIL3DI39SRp0iTB271QFFYkf 0gwbc3OUb2tOQ/ZYyRGlu26FLh/0n4Vf52N+EAH4HJ8BVDQHjwwi2uqJS1i0R4j+adR7 czLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P5n4bqiPk188UQsfvlUm3kcbFD5KgjI/EtnohaQficE=; b=K8rjHEtgcH5tm6+/yLa37fZ7ItzSNAHwcZ2hAfc4PMCxBMolmnjL/NPo2/uk4NwIJh wIMr8Dnu2l82Vz3xA5LwO5wNeKoY9xls63Lgny0VX3JRKW/0OfXx3gZEpFS0wOU1e4Fc NPY+nmVDU7vRvNl0M41+kPgOLwQXJWP7k8ZmO1UEj7LaOozqclwMIEr+lvawe973oqjt G8zvts7EmmqltQUSOgExlcpgMbk3/4o9SWcfrsNN06xKlN1iHLWVR39uqrctBca6cPam XilaPMS2pWC+6vvayHivYKVXEL5BLmGl/m1Kt3Ay04LtMrx425lSXcHOJNdd9CMEQ/vK 71wA== X-Gm-Message-State: ABUngvdqLCQpzcFrm0tOadFTMqrfB//e0BIfdfqzBYz9zE8fSyYjDzMKd8P/gXA7GY6f/A== X-Received: by 10.28.92.21 with SMTP id q21mr11558155wmb.71.1479138838373; Mon, 14 Nov 2016 07:53:58 -0800 (PST) Received: from mueller-a-nb-linux.zera.local (ip-95-222-156-64.hsi15.unitymediagroup.de. [95.222.156.64]) by smtp.googlemail.com with ESMTPSA id x140sm4766228wme.19.2016.11.14.07.53.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Nov 2016 07:53:57 -0800 (PST) From: =?UTF-8?q?Andreas=20M=C3=BCller?= To: meta-freescale@yoctoproject.org Date: Mon, 14 Nov 2016 16:53:49 +0100 Message-Id: <1479138829-12529-2-git-send-email-schnitzeltony@googlemail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479138829-12529-1-git-send-email-schnitzeltony@googlemail.com> References: <1479138829-12529-1-git-send-email-schnitzeltony@googlemail.com> MIME-Version: 1.0 Subject: [3rdparty][PATCH 2/2] linux-variscite: allow non CEA modes on HDMI X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2016 15:54:02 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit had similar patch in meta-variscite-community Signed-off-by: Andreas Müller --- ...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?= +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 +--- + 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