Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3374052pxb; Mon, 4 Oct 2021 00:29:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfNentnZssCX5hIxq2keEis+Bj0ZtXKk9pyzZgX8vuur65YE/RT3r1nfVzFlgk6TQGOwtK X-Received: by 2002:a05:6402:2756:: with SMTP id z22mr1430509edd.264.1633332593206; Mon, 04 Oct 2021 00:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633332593; cv=none; d=google.com; s=arc-20160816; b=zyJZKM+4ORkAb+u0RxGB6ZnE164vgwGBLp4FUmfYM71F8/cQ0ccRhAW3TCdu0xR8iZ eQgxGIUbU9KjO+Vdsx8h3KDpy+LolOQ+OvhmWuFEIFvl8PWVXkNDDOmHVi39uKNa678J /L0KxmGyWA0Av1j9gscVivXP2v+5L1NHjTFB4TCi/gH/Wf66iZ6K2h9TxnWjgmrxnIpL 6RRLjn8zXpx8nz3R6Gd8UdhIZkxR4D1VXuPZaxa7Zzow/iCQT6u/rqcFCk3kD2HoDu0R P6GRFxU+WPnWpMszYSZqnu2+ezUMLJZHL+xy7nvZO+tjRq+/FuOnRonxchQnsziKFLc/ TW7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=wnz8tUgKYqLDR+UnxJe9LsBJtfDOEgmWimEs0E7BWFQ=; b=y5gMcq4MyyIJ/6AXQoRPItHWaDNX7JPn/nLVeWeGLRg775Dbv0gYJoxVSWckiiI7qd osm3vgrOYGsQQs3S6s1HGBLJzzf4Qy8PMHcD6OeoCNoJD1xNGTzXJ9NlMM8iuqPfyFxN /5xsyAvRd61LxNHYutBrZxxTEp34HIWT0FzyIkMH3IjrC4WNhu5GOKaeE3IYR321sUun 1B5tS4w/1OCgAjN0HH1+i+P2vciojg6mwQp6V9E9yN8dkxEUPmdr6YKDoH5xKByZXR6d D4IAuTpIyfFwZ99+erCvUT3UB0+WXy3BwfPPBFSnAQKQFvk+I2l7cGCaHL59pTRNpH4T aZqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hz24si17641800ejc.119.2021.10.04.00.29.27; Mon, 04 Oct 2021 00:29:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbhJDH3x (ORCPT + 99 others); Mon, 4 Oct 2021 03:29:53 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:34188 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbhJDH3w (ORCPT ); Mon, 4 Oct 2021 03:29:52 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id B77F2FB04; Mon, 4 Oct 2021 09:28:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DjWnXxsmFTU6; Mon, 4 Oct 2021 09:28:00 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Marek Vasut , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Thierry Reding , Sam Ravnborg , Ondrej Jirman , Lucas Stach , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/5] mxsfb/nwl/panels: media bus format fixes Date: Mon, 4 Oct 2021 09:27:33 +0200 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit b776b0f00f24 ("drm: mxsfb: Use bus_format from the nearest bridge if present") added bus format probing to mxsfb this exposed several issues in the display stack as used on the Librem 5: The nwl bridge and the panels didn't bother to set any media bus formats and in that case mxsfb would not pick a reasonable default. This series aims to fix this. This series includes the patch from https://lore.kernel.org/dri-devel/YVLYh%2FSgBritG%2FRJ@qwark.sigxcpu.org/ with a `dev_warn` added. The patches are against 5.15-rc3. I've marked a single patch with a 'fixes' which is enough to unbreak the display stack in 5.15. All patches of this series can be applied independently. Changes from v1: - Review comment by Marek Vasut https://lore.kernel.org/dri-devel/67e6056a-6157-795d-908d-d65cc803c03d@denx.de/ Improve warning message - Move mxsfb patches to the end of the queue and the actual nwl fix to the front. Guido Günther (5): drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts drm/panel: mantix: Add media bus format drm/panel: st7703: Add media bus format drm: mxsfb: Print failed bus format in hex drm: mxsfb: Set proper default bus format when using a bridge drivers/gpu/drm/bridge/nwl-dsi.c | 35 +++++++++++++++++++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 8 ++++- .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 9 +++++ drivers/gpu/drm/panel/panel-sitronix-st7703.c | 8 +++++ 4 files changed, 59 insertions(+), 1 deletion(-) -- 2.33.0