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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA591C433F5 for ; Tue, 28 Sep 2021 12:55:27 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CF4D1611CC for ; Tue, 28 Sep 2021 12:55:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CF4D1611CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 35ACC8317A; Tue, 28 Sep 2021 14:55:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1632833724; bh=2Zgk+9ra2Vr/7jUUmr49zTxq5qTEsHbXF35avSBTeII=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=r2FYEoKMJcoAID/Y6gczvPFxVfZf1jPKIfloVdhVDplI6inDSeBfHCcrPs8/noAGu XXZI9aJju0aBwamjzD7bm2kXq0RFrFVvMBygxeKyHpAlUiNyReQaosKFHSyAfTc34a JNncKtaBZ/zWmZvuYwfH5GTUmGo9HuNbyDurlaXFY/I5v4rGCv+nS1nv14oJ472FXl Xrfg8KbPV1uVqsBBH4D4aa31rPFDhgAR4F2o+SqkDC/RPHBA2jFPtxfgWrnyKlmRmm EbXxgYAPLR8cOFwwSfVZLEdPL4/pCM1VfTq86azEdtJjQDcf5CJ1mxrlfw6lKx3jv7 gOcaKzhewHUEQ== Received: from crub (p54833cd5.dip0.t-ipconnect.de [84.131.60.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 212FA8317A; Tue, 28 Sep 2021 14:55:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1632833721; bh=2Zgk+9ra2Vr/7jUUmr49zTxq5qTEsHbXF35avSBTeII=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=zKm7ekLATpDATjgMrZdTPuGxBukL4heZJS63F/4FU8FAr0MYiZXr23zfroGKzRXgc BxCuRk62Vd4+8s/CiCENMW4bk8Ia7IfqDrDH1bRnWzWw2+scntKxMY7rOfEGcevKQR 68D1iYvoygrYHGn4UZJwspZkHyIXqoFMadeaV/bP2yUmfloVExUAmGzkSWGK/AokqS MfNJXqnSER7+7JwK+kdj1GIs5MKFACvvnARL+T9IPmV89ZuZOuQtEOUrD0/Wndoq0u DTk5RmwYPIeH8RXESsqdPfcz+01hkZeZEPdJ9xfvyJDkPlZNSE8e9DqH8YuCZywXJS QAWuuLED0wyaw== Date: Tue, 28 Sep 2021 14:55:19 +0200 From: Anatolij Gustschin To: Tim Harvey Cc: u-boot , Fabio Estevam , Stefano Babic Subject: Re: imx6 DM_VIDEObroken Message-ID: <20210928145519.649314fd@crub> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hey Tim, On Mon, 27 Sep 2021 17:25:58 -0700 Tim Harvey tharvey@gateworks.com wrote: > Anatolij, > > Since commit d37618d18d49 ("imx: convert gwventana board to DM_VIDEO") > video support for IMX6 based Ventana boards has been broken. Back then I've tested similar DM_VIDEO conversion changes on i.mx6q nitrogen6q board and on i.mx6d/i.mx6s wandboards, it was okay if the board configuration uses the video console output during the boot sequence (i.e. configured to show splash screen or to output strings on vidconsole). > I find that while the bind function for fsl_imx6q_ipu is called the > probe never is (ipuv3_video_probe). Do you know why this is? Is video console output used during the boot? If not, then it might be the reason. With DM, the devices are probed when a subsystem actually tries to use them. You can try to trigger probing via switching to the video console output, i.e.: => setenv stdout vidconsole > > I see that with commit 57f065fee2a4 ("video: ipuv3: add DM_VIDEO > support") you mention that DTS files must include > 'u-boot,dm-pre-reloc' for soc/ipu nodes to enable driver binding to > ipu device but I haven't been able to get that to make a difference > nor have I found a board that does this. You did add those props to > imx6qdl.dtsi at one point but they are no longer there. Does your board dts include imx6qdl-u-boot.dtsi ? The u-boot,dm-pre-reloc properties were moved to this U-Boot specific dtsi in 7932b1c9fdb73393aa110249c89bd426533c0649 (imx: imx6qdl: dtsi: move U-Boot specific change to u-boot.dtsi) > There must have been several other IMX6 boards with video support that > were affected by this so perhaps I'm missing something simple. I did not test it recently, it looks I'll have to do it before the new release. -- Anatolij