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 3A249C19F2C for ; Tue, 2 Aug 2022 13:52:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236637AbiHBNwR (ORCPT ); Tue, 2 Aug 2022 09:52:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236538AbiHBNwP (ORCPT ); Tue, 2 Aug 2022 09:52:15 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C69B225E8E for ; Tue, 2 Aug 2022 06:52:10 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id y13so12074143ejp.13 for ; Tue, 02 Aug 2022 06:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=BwabfrmKwaXUPfLOc0/xFNk7TwdvzAmRAZLjnCecg3eGFOpbuCPTb99uRYNiJDeN/i pWY80JnwJ/rhXVCW1KReEMwjUNtqWIEN9Skv0RcjmNAkhQUv1pH3tg9Z4WL54qq1eB6H gbCFQL74Ea3UBH0CKyJMbJJmJs/r54zc8GTD8nC4hzrZ5ADvoNAdBXlGrJzoDpI9UhVQ C3Iov+WX1d+RKaI/roFmqXWXvNjkgfthmIcIcIKHqToPg6YiUJJdNJv+n2NUHXGuuI1M ts4Ij8QC7vwjyBRPO74AZyAzmqZKZLRacvL2b1oT0hhfEzSF/Ug825EEQJYcwFa8emQl 2Uhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=TTA/uB3IT5XBzItBgR9JEYCie6+8VnI2DWiwCdyUJQ/9bS3HGdCPGfkQstFttD3m+v v+ymGE6C2pCVSAMr8cwnvtqKU72UC9aaHMYNyEyoanZYgXBlSsaBASjSwT9jUwset6+F OzhM+nji6C+rXaiGt+GAzlIOwlxhfFqkjq+eHOvpAPzciKeztzcU2lGWBDCJLlD15jAX g/JtnCy4ZlHp/QwpKp/q09JdTR9w/2edc07rsXaA+G/Z2MKONfQTVaDiLbWuuBXbUm85 yQa3Uh6nlih4QaYC3fHmnIMGTxYXrB0AXLevWNf1Y7EZswLUjbQTkyPq0eSogs7bSPa3 xbNQ== X-Gm-Message-State: AJIora9p6I6EYMM4aVUTTvBx8ths+4J3X+GLEaDLtIEBihJvBxMXk3/k TGOJZ9zq9OHFYuJRJIdS8+A1Ip72Obnt65D9Qck= X-Google-Smtp-Source: AGRyM1shdJmsktY8zrcXEWcL4rBfP+9PL5Kqswpu3FBaUufmuBcYlYGatVQ8fWVuu6PBCAyYLpwcd/aMQkLJe1qA6Bs= X-Received: by 2002:a17:907:6e12:b0:72e:6774:cb80 with SMTP id sd18-20020a1709076e1200b0072e6774cb80mr15871363ejc.504.1659448328964; Tue, 02 Aug 2022 06:52:08 -0700 (PDT) MIME-Version: 1.0 References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> In-Reply-To: From: Adam Ford Date: Tue, 2 Aug 2022 08:51:57 -0500 Message-ID: Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors To: Marco Felsch 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 2, 2022 at 7:13 AM Adam Ford wrote: > > On Tue, Aug 2, 2022 at 3:08 AM Marco Felsch wrote: > > > > 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? > > Sure, > > https://www.spinics.net/lists/dri-devel/msg358301.html > > > > > > 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 have a couple patches applied to mine which mimic some of the stuff > that NXP did. Since I have access to a programmer manual, i was able > to confirm some of the 7535 specific stuff and the low-refresh rate > changes in their kernel appear appropriate and I also created a second > table of default settings for the 7535 and if the type is set > properly, i'll use the newer table instead of the older one. If anyone > wants any of these patches, I can certainly share them, but I am not > certain they make any difference. > > There are a few other items in the programmer manual that I want to > attempt to implement once I have a chance to further review the > document. > > > > > 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 I did some reading about the internal timing generator. It appears that it's required when video formats use fractional bytes, and it's preconfigured to run at 720p by default, but registers 28h through 37h configure it for other video modes. Are you thinking the imx8mm DSI generator would do it better? > > such frequencies you can check the hdmi clk-lane. I noticed that this is > > sometimes wrong. > > I am doing this from my home office as a side project, so I don't have > a scope, but I can try to revert the other patch and try to disable > the internal timing generator when I get home tonight. I'll report my > findings. > > > > > 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 562BEC00140 for ; Tue, 2 Aug 2022 13:53:22 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KUUmIKbzueTNLD8pT5gwySueTTsVRg9zFPCnRfM1V6o=; b=2WY333aRw/382J K/tQZ97vmw3qQab3Uu2kv3Fn1LA7/EVCANDEmRzuOYoiqJQCQAprmy6Qv7xPZ1L/gBU0cskg3hfaO JR0lCxTacGUuYyGos1LieX/xxAeMjMyJlQkCziLpOT107F5EweAbr+CPXJnn6HVFno4FPOSw9yk8t ucfLrc2g4cS0fjIf7tjrWb1c1vpUBRjcoemcV1xJNozo5K2pEnWHXgtaW0d6PnrJH0mxSTEtO9pel 7HXMOe0b3kCeHmH+Io7pZpnDiuhaO/F2VxwuhSjnZZcr5bTT0ogtBm9qXwvORxeckKDzyuusfz8Ml 0U/ttvU8Iav4sCyOmJyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIsJk-00Eejk-Gl; Tue, 02 Aug 2022 13:52:16 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIsJg-00EeeZ-TY for linux-arm-kernel@lists.infradead.org; Tue, 02 Aug 2022 13:52:15 +0000 Received: by mail-ej1-x633.google.com with SMTP id dc19so3344055ejb.12 for ; Tue, 02 Aug 2022 06:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=BwabfrmKwaXUPfLOc0/xFNk7TwdvzAmRAZLjnCecg3eGFOpbuCPTb99uRYNiJDeN/i pWY80JnwJ/rhXVCW1KReEMwjUNtqWIEN9Skv0RcjmNAkhQUv1pH3tg9Z4WL54qq1eB6H gbCFQL74Ea3UBH0CKyJMbJJmJs/r54zc8GTD8nC4hzrZ5ADvoNAdBXlGrJzoDpI9UhVQ C3Iov+WX1d+RKaI/roFmqXWXvNjkgfthmIcIcIKHqToPg6YiUJJdNJv+n2NUHXGuuI1M ts4Ij8QC7vwjyBRPO74AZyAzmqZKZLRacvL2b1oT0hhfEzSF/Ug825EEQJYcwFa8emQl 2Uhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=YykNCsjd91rPZgng505VqyxB4GnGc5nO9Q3GYLJGklS55srIkosb2GLWwbNXYDMVJN mtVTXfIE01w5QSuZsYBdQItgUL9tjhznOUNJeaDe4VFsIMtH1siorTm8E3NimLDj56yq 3sxJNTCJIh0O1C/5wINkPHjXSTDUtW1L4S/OH0GFYuX0N+zUz1n4dw4YpOHAlBhbshpA cSTvNdqcjayW0YmLdNxHRLy5F4jSDSvzUGE44vlHv/1pKjPVIss0ibC3mMPm5x4vvpUI Vi1K36jTikvB6sGSU99WevPWkWtla3Hv04yh7ommRp4b6+WGKruH4LonD67L52lbbIMS +7og== X-Gm-Message-State: AJIora+24BqkUDvGt1is0GQCtyui/bd118mZpujZGHOCjLGknrF1ZHTN gCPc0DlUQN7C6WtQuFyOrb5SY4YYav2lSla3c5Y= X-Google-Smtp-Source: AGRyM1shdJmsktY8zrcXEWcL4rBfP+9PL5Kqswpu3FBaUufmuBcYlYGatVQ8fWVuu6PBCAyYLpwcd/aMQkLJe1qA6Bs= X-Received: by 2002:a17:907:6e12:b0:72e:6774:cb80 with SMTP id sd18-20020a1709076e1200b0072e6774cb80mr15871363ejc.504.1659448328964; Tue, 02 Aug 2022 06:52:08 -0700 (PDT) MIME-Version: 1.0 References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> In-Reply-To: From: Adam Ford Date: Tue, 2 Aug 2022 08:51:57 -0500 Message-ID: Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors To: Marco Felsch 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220802_065213_011179_2224FE61 X-CRM114-Status: GOOD ( 44.11 ) 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 On Tue, Aug 2, 2022 at 7:13 AM Adam Ford wrote: > > On Tue, Aug 2, 2022 at 3:08 AM Marco Felsch wrote: > > > > 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? > > Sure, > > https://www.spinics.net/lists/dri-devel/msg358301.html > > > > > > 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 have a couple patches applied to mine which mimic some of the stuff > that NXP did. Since I have access to a programmer manual, i was able > to confirm some of the 7535 specific stuff and the low-refresh rate > changes in their kernel appear appropriate and I also created a second > table of default settings for the 7535 and if the type is set > properly, i'll use the newer table instead of the older one. If anyone > wants any of these patches, I can certainly share them, but I am not > certain they make any difference. > > There are a few other items in the programmer manual that I want to > attempt to implement once I have a chance to further review the > document. > > > > > 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 I did some reading about the internal timing generator. It appears that it's required when video formats use fractional bytes, and it's preconfigured to run at 720p by default, but registers 28h through 37h configure it for other video modes. Are you thinking the imx8mm DSI generator would do it better? > > such frequencies you can check the hdmi clk-lane. I noticed that this is > > sometimes wrong. > > I am doing this from my home office as a side project, so I don't have > a scope, but I can try to revert the other patch and try to disable > the internal timing generator when I get home tonight. I'll report my > findings. > > > > > 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 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 93988C00140 for ; Tue, 2 Aug 2022 13:52:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69C3911B864; Tue, 2 Aug 2022 13:52:24 +0000 (UTC) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by gabe.freedesktop.org (Postfix) with ESMTPS id B582811B8A5 for ; Tue, 2 Aug 2022 13:52:10 +0000 (UTC) Received: by mail-ej1-x632.google.com with SMTP id kb8so11493935ejc.4 for ; Tue, 02 Aug 2022 06:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=BwabfrmKwaXUPfLOc0/xFNk7TwdvzAmRAZLjnCecg3eGFOpbuCPTb99uRYNiJDeN/i pWY80JnwJ/rhXVCW1KReEMwjUNtqWIEN9Skv0RcjmNAkhQUv1pH3tg9Z4WL54qq1eB6H gbCFQL74Ea3UBH0CKyJMbJJmJs/r54zc8GTD8nC4hzrZ5ADvoNAdBXlGrJzoDpI9UhVQ C3Iov+WX1d+RKaI/roFmqXWXvNjkgfthmIcIcIKHqToPg6YiUJJdNJv+n2NUHXGuuI1M ts4Ij8QC7vwjyBRPO74AZyAzmqZKZLRacvL2b1oT0hhfEzSF/Ug825EEQJYcwFa8emQl 2Uhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=tygEmQo2fM88im/5bVVcHB1T0VfpleA6ie9m/bYh6CA=; b=BvJIs1IBOuVry+9boNXfqLO9SlmZtuoev6jQMWFHpKeJdbBeQKlfDkPWfmixOwYWOD dNCZ+OcFqy2MFUoQG6LVSI5mIlGY2kz3bEVEFWxjO5gZ0oAyCZ8oliL3F5yCPJSQA7Fz y+JnWu85p9Bg3yoKtFu+7IDTjnbGLpOj5mxBLJhYUrtDuiUYdghYIpo22o917Wbt4NGO 2VvfEYzxF0zGpOVuIpihDS1z3rN01/8CqXKfmIiR6zJmfM+wShL69lz0DlRGlAkvLbcw Kamg/iJlHDExOsjxOwI4G1oxx4NmDg/2AuANjEFwqfpGY1V/BQIo9skiL443/gA3O19Y OpcQ== X-Gm-Message-State: AJIora/nNSQWeKP711fPmtZ65Apm/J56tsEDWOd++X+0jMQljrJg+rT0 PdJJq9rBMYFn5HdMw/LRS+whmImyoRMdfvtZNlc= X-Google-Smtp-Source: AGRyM1shdJmsktY8zrcXEWcL4rBfP+9PL5Kqswpu3FBaUufmuBcYlYGatVQ8fWVuu6PBCAyYLpwcd/aMQkLJe1qA6Bs= X-Received: by 2002:a17:907:6e12:b0:72e:6774:cb80 with SMTP id sd18-20020a1709076e1200b0072e6774cb80mr15871363ejc.504.1659448328964; Tue, 02 Aug 2022 06:52:08 -0700 (PDT) MIME-Version: 1.0 References: <20220801225538.qtdb5zd66g6ipewz@pengutronix.de> <20220802080820.jyf3tfpgcj3pvbtp@pengutronix.de> In-Reply-To: From: Adam Ford Date: Tue, 2 Aug 2022 08:51:57 -0500 Message-ID: Subject: Re: imx8mm lcdif->dsi->adv7535 no video, no errors To: Marco Felsch Content-Type: text/plain; charset="UTF-8" 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" On Tue, Aug 2, 2022 at 7:13 AM Adam Ford wrote: > > On Tue, Aug 2, 2022 at 3:08 AM Marco Felsch wrote: > > > > 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? > > Sure, > > https://www.spinics.net/lists/dri-devel/msg358301.html > > > > > > 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 have a couple patches applied to mine which mimic some of the stuff > that NXP did. Since I have access to a programmer manual, i was able > to confirm some of the 7535 specific stuff and the low-refresh rate > changes in their kernel appear appropriate and I also created a second > table of default settings for the 7535 and if the type is set > properly, i'll use the newer table instead of the older one. If anyone > wants any of these patches, I can certainly share them, but I am not > certain they make any difference. > > There are a few other items in the programmer manual that I want to > attempt to implement once I have a chance to further review the > document. > > > > > 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 I did some reading about the internal timing generator. It appears that it's required when video formats use fractional bytes, and it's preconfigured to run at 720p by default, but registers 28h through 37h configure it for other video modes. Are you thinking the imx8mm DSI generator would do it better? > > such frequencies you can check the hdmi clk-lane. I noticed that this is > > sometimes wrong. > > I am doing this from my home office as a side project, so I don't have > a scope, but I can try to revert the other patch and try to disable > the internal timing generator when I get home tonight. I'll report my > findings. > > > > > 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 > > >