From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80519CD1288 for ; Mon, 1 Apr 2024 13:12:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:From:Cc:To :Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=AUx/iQAQ4C4oZJY3NsuJLYGQeSYmes/DU8E6zf9t1GA=; b=ubKfLbkewaxu4m mTBhdCL9Rz3hS+znX7A932jk/j+9VJWdN+RYJBI+tTadVQBJWbuPa1xwll4CiraXuUAKe5bkG5QU3 O8PAFGYb20My8nnFTuP7ymEFwsQCncn3/EK/MKxhtKCpq5BgaMSZ3HE9/ab/WaIZqGWmEUZzfI5/8 a8XIM8jYGnARcBnBjB7PKvhafdXEsAgeYCxii+oBThmII6qm7EbU5/ias21ddu/yd9b55Siki3IDA 5T/1gUlvPVUWk3Wb3h6X37wBLGcc7VTgZ45roYOrv4PqSTkuWuFW4lZETU5Hh4MujTwSBD+UkovUi 6wMtnDdjo+QOezyyEzNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrHST-00000007rN9-2cAE; Mon, 01 Apr 2024 13:12:17 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrHSQ-00000007rJm-0ope for linux-arm-kernel@lists.infradead.org; Mon, 01 Apr 2024 13:12:15 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id F19B560BC4; Mon, 1 Apr 2024 13:12:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 436BCC43399; Mon, 1 Apr 2024 13:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711977131; bh=eHsozHMQ7QtkJFYA+A8f8zFMihC1C9yhJ7LCwmQ00kM=; h=Subject:To:Cc:From:Date:From; b=m7Tcyl7W29SGyJlq93qLWhswmfmHEKBD/XNBsvzvZp3mFWsnJZTYeetkL7RScUIqO 53kk5GdnEP0NRjnEowEypXCWJjehxawsJolhHnQCWep9CMBFhSxHTEKTsjK1Nr1bw8 icBZ27tvinbT1fcvXKWdyoUgtipskzes8YxVwIGc= Subject: Patch "drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()" has been added to the 4.19-stable tree To: airlied@linux.ie,boris.brezillon@collabora.com,cniedermaier@dh-electronics.com,daniel@ffwll.ch,dri-devel@lists.freedesktop.org,festevam@gmail.com,gregkh@linuxfoundation.org,kernel@pengutronix.de,linux-arm-kernel@lists.infradead.org,linux-imx@nxp.com,maarten.lankhorst@linux.intel.com,marex@denx.de,max.krummenacher@toradex.com,p.zabel@pengutronix.de,s.hauer@pengutronix.de,shawnguo@kernel.org Cc: From: Date: Mon, 01 Apr 2024 15:12:08 +0200 Message-ID: <2024040108-path-headboard-57cf@gregkh> MIME-Version: 1.0 X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240401_061214_393760_8DA0FD2B X-CRM114-Status: GOOD ( 16.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a note to let you know that I've just added the patch titled drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check() to the 4.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-imx-parallel-display-remove-bus-flags-check-in-imx_pd_bridge_atomic_check.patch and it can be found in the queue-4.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From 6061806a863e8b65b109eb06a280041cc7525442 Mon Sep 17 00:00:00 2001 From: Christoph Niedermaier Date: Tue, 1 Feb 2022 12:36:43 +0100 Subject: drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check() From: Christoph Niedermaier commit 6061806a863e8b65b109eb06a280041cc7525442 upstream. If display timings were read from the devicetree using of_get_display_timing() and pixelclk-active is defined there, the flag DISPLAY_FLAGS_SYNC_POSEDGE/NEGEDGE is automatically generated. Through the function drm_bus_flags_from_videomode() e.g. called in the panel-simple driver this flag got into the bus flags, but then in imx_pd_bridge_atomic_check() the bus flag check failed and will not initialize the display. The original commit fe141cedc433 does not explain why this check was introduced. So remove the bus flags check, because it stops the initialization of the display with valid bus flags. Fixes: fe141cedc433 ("drm/imx: pd: Use bus format/flags provided by the bridge when available") Signed-off-by: Christoph Niedermaier Cc: Marek Vasut Cc: Boris Brezillon Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam Cc: NXP Linux Team Cc: linux-arm-kernel@lists.infradead.org To: dri-devel@lists.freedesktop.org Tested-by: Max Krummenacher Acked-by: Boris Brezillon Signed-off-by: Marek Vasut Link: https://patchwork.freedesktop.org/patch/msgid/20220201113643.4638-1-cniedermaier@dh-electronics.com Signed-off-by: Maarten Lankhorst Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/imx/parallel-display.c | 8 -------- 1 file changed, 8 deletions(-) --- a/drivers/gpu/drm/imx/parallel-display.c +++ b/drivers/gpu/drm/imx/parallel-display.c @@ -235,14 +235,6 @@ static int imx_pd_bridge_atomic_check(st if (!imx_pd_format_supported(bus_fmt)) return -EINVAL; - if (bus_flags & - ~(DRM_BUS_FLAG_DE_LOW | DRM_BUS_FLAG_DE_HIGH | - DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE | - DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE)) { - dev_warn(imxpd->dev, "invalid bus_flags (%x)\n", bus_flags); - return -EINVAL; - } - bridge_state->output_bus_cfg.flags = bus_flags; bridge_state->input_bus_cfg.flags = bus_flags; imx_crtc_state->bus_flags = bus_flags; Patches currently in stable-queue which might be from cniedermaier@dh-electronics.com are queue-4.19/drm-imx-parallel-display-remove-bus-flags-check-in-imx_pd_bridge_atomic_check.patch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel