Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4835102pxb; Tue, 28 Sep 2021 05:18:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysm4buJedbXVnolnGfXWAXYCxFi1AL2Nz4UKXlLSqBvKOwKaQsmt9HAOiUvBPO4KozeOc2 X-Received: by 2002:a17:906:1856:: with SMTP id w22mr6608435eje.393.1632831502457; Tue, 28 Sep 2021 05:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632831502; cv=none; d=google.com; s=arc-20160816; b=XL+VC0+SFaoVnUnPGdo64vOx84Xj/sVpy6S8TykEi3+NNJTG05/1SoSfw+XrZaSpud Yi/L1G33OLkUNmPJ4zc+AWLvmuD9BOtplJH0pyh4X5toyQAm0YUVwTu8+adZZZKNxpqi ODemdQNdk1zJbIThO7q3AFdLeG6tIw9DDTIQDuT2FrIY/JzScIIMJF8m5q0gW3DshG+v v/wMnUW2QWF/2782UhdsFnu13T0iZT5pIxgX2MIN8Q+Bw79G7mMVYX3Biqg+rE9zFQ1O F4EW01zRjC35B89vy6U1ri1UkpLJWmmDrULcBAhTHk3/n8ideRWdPTm5e+2WYrYmutjX 90SA== 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=beRSixLarYu0oR+jlB8SdXBgycb722Za0CEVWLAttTk=; b=Isy+h3O2JcdfHR2Ax2r0g6UIiXubbynvSOBbNYV5LX+Kz3I46DZtMjplmEDOWJvtYq 5FMPbR52+EmCmTUs9XuH2O84zY9r2uiivhEotc6GIko1nUOKFbUWZMQXsMYoUmdGSw7r PjOZi0Bskz1hFcwPLgR2a+8oiljs9gWCr+/m2l15alkq1M/P7fFDHVZ92Q4K+XpoZTCN on6BsJuLKS+QQ+oWi5WxWoLBCOACxlE3UAM/V+xw4P2/ArURDidgd+zqx0I2y2373LTD 3QRW6TYZcHZjFJUFgEQptoczRpKSIur3d6jVFRSkTa5FZgXkeSYB9nwGo6UNSPodUllJ SufA== 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 c11si22596040ejm.510.2021.09.28.05.17.56; Tue, 28 Sep 2021 05:18:22 -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 S240516AbhI1MSH (ORCPT + 99 others); Tue, 28 Sep 2021 08:18:07 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:46204 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240426AbhI1MSD (ORCPT ); Tue, 28 Sep 2021 08:18:03 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id DB2B3FB08; Tue, 28 Sep 2021 14:16:20 +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 23JBK4b2CRQh; Tue, 28 Sep 2021 14:16:19 +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 v1 0/5] mxsfb/nwl/panels: media bus format fixes Date: Tue, 28 Sep 2021 14:16:07 +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. Guido Günther (5): drm: mxsfb: Print failed bus format in hex drm: mxsfb: Set proper default bus format when using a bridge drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts drm/panel: mantix: Add media bus format drm/panel: st7703: Add media bus format drivers/gpu/drm/bridge/nwl-dsi.c | 35 +++++++++++++++++++ drivers/gpu/drm/mxsfb/mxsfb_kms.c | 7 +++- .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 9 +++++ drivers/gpu/drm/panel/panel-sitronix-st7703.c | 8 +++++ 4 files changed, 58 insertions(+), 1 deletion(-) -- 2.33.0