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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10406C00140 for ; Tue, 2 Aug 2022 08:08:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236398AbiHBIIk (ORCPT ); Tue, 2 Aug 2022 04:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236389AbiHBIIg (ORCPT ); Tue, 2 Aug 2022 04:08:36 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 023004D80D for ; Tue, 2 Aug 2022 01:08:35 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oImx1-0003jR-7i; Tue, 02 Aug 2022 10:08:27 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oImwu-0007oM-Cu; Tue, 02 Aug 2022 10:08:20 +0200 Date: Tue, 2 Aug 2022 10:08:20 +0200 From: Marco Felsch To: Adam Ford Cc: Fabio Estevam , Marek Vasut , Stefan Agner , Jernej Skrabec , Daniel Vetter , Jonas Karlman , David Airlie , dri-devel , Neil Armstrong , NXP Linux Team , Robert Foss , Linux Kernel Mailing List , Pengutronix Kernel Team , Laurent Pinchart , Andrzej Hajda , Marek Szyprowski , Shawn Guo , Sascha Hauer , arm-soc , Jagan Teki , robert.chiras@nxp.com, laurentiu.palcu@nxp.com Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors Message-ID: <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adam, Fabio, On 22-08-01, Adam Ford wrote: > On Mon, Aug 1, 2022 at 8:53 PM Fabio Estevam wrote: > > > > On Mon, Aug 1, 2022 at 10:39 PM Adam Ford wrote: > > > > > I managed to get my HDMI output working. I had the lanes set to 2 > > > instead of 4. Once I switched to 4-lanes, the monitor came up in > > > 1080p. I haven't yet been able to get other modes to work. > > > > Ok, good. On another thread, you mentioned that you were also trying > > to get LVDS to work via SN65DSI83. > > > > Does LVDS work for you on this branch? > > I haven't tried with Marek's latest suggestion. In the other thread > he mentioned a burst mode and setting the DSI speeds to higher > frequencies, but the patch he had didn't look like it would apply > cleanly, so I will need to dig into that a bit further. Can you provide me a link to this thread? > Since my company doesn't really ship the LVDS displays with the kits, > the HDMI is the default video, so I've been focusing on it. > > To answer Marco's question, I was able to revert "MLK-21958-13: > drm/bridge: adv7511: Limit supported clocks" and still get a display > at 1080p, but all the other resolutions I tried appear to come up > blank. Cool so now you have the same state as we are. I think that the most important one is the blanking calc. Can you try to revert "drm/bridge: adv7511: Repair bus_flags and bus_format" and check if you can get a output still? Also something to try would be to disable the internal timing generator by specifying 'adi,disable-timing-generator'. Also if you have an oscilloscope for such frequencies you can check the hdmi clk-lane. I noticed that this is sometimes wrong. Regards, Marco > I didn't try every one. With that revert, more options come > available, but 1440x900 and 800x600 were options I tried > unsuccessfullyl. > > adam > 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 0813AC19F29 for ; Tue, 2 Aug 2022 08:08:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 03B7A8B501; Tue, 2 Aug 2022 08:08:41 +0000 (UTC) Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8FA2E113D47 for ; Tue, 2 Aug 2022 08:08:32 +0000 (UTC) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oImx1-0003jR-7i; Tue, 02 Aug 2022 10:08:27 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oImwu-0007oM-Cu; Tue, 02 Aug 2022 10:08:20 +0200 Date: Tue, 2 Aug 2022 10:08:20 +0200 From: Marco Felsch To: Adam Ford Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors Message-ID: <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , David Airlie , dri-devel , Laurent Pinchart , Andrzej Hajda , Marek Szyprowski , Marek Vasut , Jernej Skrabec , Jagan Teki , robert.chiras@nxp.com, laurentiu.palcu@nxp.com, NXP Linux Team , Jonas Karlman , Sascha Hauer , arm-soc , Linux Kernel Mailing List , Robert Foss , Pengutronix Kernel Team , Shawn Guo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Adam, Fabio, On 22-08-01, Adam Ford wrote: > On Mon, Aug 1, 2022 at 8:53 PM Fabio Estevam wrote: > > > > On Mon, Aug 1, 2022 at 10:39 PM Adam Ford wrote: > > > > > I managed to get my HDMI output working. I had the lanes set to 2 > > > instead of 4. Once I switched to 4-lanes, the monitor came up in > > > 1080p. I haven't yet been able to get other modes to work. > > > > Ok, good. On another thread, you mentioned that you were also trying > > to get LVDS to work via SN65DSI83. > > > > Does LVDS work for you on this branch? > > I haven't tried with Marek's latest suggestion. In the other thread > he mentioned a burst mode and setting the DSI speeds to higher > frequencies, but the patch he had didn't look like it would apply > cleanly, so I will need to dig into that a bit further. Can you provide me a link to this thread? > Since my company doesn't really ship the LVDS displays with the kits, > the HDMI is the default video, so I've been focusing on it. > > To answer Marco's question, I was able to revert "MLK-21958-13: > drm/bridge: adv7511: Limit supported clocks" and still get a display > at 1080p, but all the other resolutions I tried appear to come up > blank. Cool so now you have the same state as we are. I think that the most important one is the blanking calc. Can you try to revert "drm/bridge: adv7511: Repair bus_flags and bus_format" and check if you can get a output still? Also something to try would be to disable the internal timing generator by specifying 'adi,disable-timing-generator'. Also if you have an oscilloscope for such frequencies you can check the hdmi clk-lane. I noticed that this is sometimes wrong. Regards, Marco > I didn't try every one. With that revert, more options come > available, but 1440x900 and 800x600 were options I tried > unsuccessfullyl. > > adam > 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 061E3C00140 for ; Tue, 2 Aug 2022 08:09:53 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=twfVdRzgWqbGq4u0pBekPxJaBQNon50/gCXCqJGS704=; b=KxAgAQWxoYbVS1 sCI7SbsVnQRUzNfo9SCFklZxjliDCsR7hHwugn8qTfJ8PMQ4LD0cQuqWpjeCcMoo55vGXTZ6RmfRW sLg5nApBUTCdtmYYPZeU31buRM42Zcw0TZH437SmekaWIS69l+i+X/xnBOfFt2hF8nUdG3ScQddvN oa5LzhwWwi3cawOiPqIKVnCdh07lfVG0VBw6mhypMXjdhKhuR2QKMXXoArdqSeU/M1/k2n+Ubbv7F F0DSJVNsMJray4UTdCwjb9fp0zlhWxV/T3vV3gpqFRu/86GXz8kvgJeVE9xgSGTetfwonRSB5Iogo Z2idAyAn6/ptyeRu0VxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oImxR-00BgQm-5V; Tue, 02 Aug 2022 08:08:53 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oImxM-00BgLO-Ol for linux-arm-kernel@lists.infradead.org; Tue, 02 Aug 2022 08:08:51 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oImx1-0003jR-7i; Tue, 02 Aug 2022 10:08:27 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1oImwu-0007oM-Cu; Tue, 02 Aug 2022 10:08:20 +0200 Date: Tue, 2 Aug 2022 10:08:20 +0200 From: Marco Felsch To: Adam Ford Cc: Fabio Estevam , Marek Vasut , Stefan Agner , Jernej Skrabec , Daniel Vetter , Jonas Karlman , David Airlie , dri-devel , Neil Armstrong , NXP Linux Team , Robert Foss , Linux Kernel Mailing List , Pengutronix Kernel Team , Laurent Pinchart , Andrzej Hajda , Marek Szyprowski , Shawn Guo , Sascha Hauer , arm-soc , Jagan Teki , robert.chiras@nxp.com, laurentiu.palcu@nxp.com Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors Message-ID: <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220802_010848_980245_D3630953 X-CRM114-Status: GOOD ( 25.49 ) 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 Hi Adam, Fabio, On 22-08-01, Adam Ford wrote: > On Mon, Aug 1, 2022 at 8:53 PM Fabio Estevam wrote: > > > > On Mon, Aug 1, 2022 at 10:39 PM Adam Ford wrote: > > > > > I managed to get my HDMI output working. I had the lanes set to 2 > > > instead of 4. Once I switched to 4-lanes, the monitor came up in > > > 1080p. I haven't yet been able to get other modes to work. > > > > Ok, good. On another thread, you mentioned that you were also trying > > to get LVDS to work via SN65DSI83. > > > > Does LVDS work for you on this branch? > > I haven't tried with Marek's latest suggestion. In the other thread > he mentioned a burst mode and setting the DSI speeds to higher > frequencies, but the patch he had didn't look like it would apply > cleanly, so I will need to dig into that a bit further. Can you provide me a link to this thread? > Since my company doesn't really ship the LVDS displays with the kits, > the HDMI is the default video, so I've been focusing on it. > > To answer Marco's question, I was able to revert "MLK-21958-13: > drm/bridge: adv7511: Limit supported clocks" and still get a display > at 1080p, but all the other resolutions I tried appear to come up > blank. Cool so now you have the same state as we are. I think that the most important one is the blanking calc. Can you try to revert "drm/bridge: adv7511: Repair bus_flags and bus_format" and check if you can get a output still? Also something to try would be to disable the internal timing generator by specifying 'adi,disable-timing-generator'. Also if you have an oscilloscope for such frequencies you can check the hdmi clk-lane. I noticed that this is sometimes wrong. Regards, Marco > I didn't try every one. With that revert, more options come > available, but 1440x900 and 800x600 were options I tried > unsuccessfullyl. > > adam > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel