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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFB41C38A2D for ; Fri, 17 Apr 2020 12:59:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEEBF2063A for ; Fri, 17 Apr 2020 12:59:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="DpdK2agN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730553AbgDQM67 (ORCPT ); Fri, 17 Apr 2020 08:58:59 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:51354 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730197AbgDQM6z (ORCPT ); Fri, 17 Apr 2020 08:58:55 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0869497D; Fri, 17 Apr 2020 14:58:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1587128333; bh=e+lZnXOFmwYAafs1rUwGAffn/mSqK6KsiLIDdoGiaJg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DpdK2agNgtfCcwmOGIPA2g5tWkaxjdb6QreWcZ8zk+idfwNZc52qPt0h05weJJJXn oxo5dWQmaJTkhR2m3KxBX/YQrZRZNkuXGiWyeppAY4+4cGGCuNBq/eHiuQ/3sLUnCP z0huaf/6k8sgep2mz0GUXphFZHZxNrByGIxdjuS4= Date: Fri, 17 Apr 2020 15:58:40 +0300 From: Laurent Pinchart To: Maxime Ripard Cc: "H. Nikolaus Schaller" , Discussions about the Letux Kernel , linux-omap , Linux Kernel Mailing List , "open list:DRM PANEL DRIVERS" Subject: Re: [drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional! Message-ID: <20200417125840.GB4748@pendragon.ideasonboard.com> References: <20200417124422.fl35igitvd7thpr5@gilmour.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200417124422.fl35igitvd7thpr5@gilmour.lan> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hello, On Fri, Apr 17, 2020 at 02:44:22PM +0200, Maxime Ripard wrote: > On Fri, Apr 17, 2020 at 02:18:11PM +0200, H. Nikolaus Schaller wrote: > > Hi Maxime, > > I have started to test v5.7-rc1 and can't fully boot the GTA04 > > device any more. > > > > What I see in the log is: > > > > [ 28.567840] [drm:simple_bridge_attach [simple_bridge]] *ERROR* Fix bridge driver to make connector optional! > > [ 28.567871] omapdrm omapdrm.0: unable to attach bridge /ocp@68000000/dss@48050000/encoder@48050c00 > > [ 28.786529] omapdrm omapdrm.0: omap_modeset_init failed: ret=-22 > > [ 28.841552] omapdrm: probe of omapdrm.0 failed with error -22 > > > > This device uses the ti,opa362 chip which did have a dedicated > > omapdss driver before (which is removed now) and which seems to > > be supported by the simple_bridge now. > > > > The opa362 is sitting in the video out path from > > > > omapdrm -> venc -> opa362 -> video-out-connector. > > > > What does this error mean? How can it be fixed? > > -22 is usually EINVAL, which can be pretty much anything. A good thing to do > would be to bisect to see which actual commit broke it, but if I was to bet on > something I guess it would be > > https://lore.kernel.org/dri-devel/20200226112514.12455-1-laurent.pinchart@ideasonboard.com/ Would "[PATCH 0/2] drm: bridge: simple-bridge: Enable usage with DRM bridge connector helper" solve it ? -- Regards, Laurent Pinchart