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=-5.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 1AE42C35647 for ; Fri, 21 Feb 2020 12:25:29 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E4C2A24650 for ; Fri, 21 Feb 2020 12:25:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="bC+9GGNM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E4C2A24650 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 623236E296; Fri, 21 Feb 2020 12:25:28 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABC216E296 for ; Fri, 21 Feb 2020 12:25:27 +0000 (UTC) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 01LCPNHa056652; Fri, 21 Feb 2020 06:25:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1582287923; bh=PErpWyl3WkVcGDiQZJOeU+J6K7FFR+7LnRsXDcFD0+A=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=bC+9GGNMeI4njCeUhTkrYVs6y5LKGqohiUoZAEMysaj4y3+aNXGRp+XHGey85URJp RvTKP95we/B2wAv03U8R1cH95hTpfaB/Qg2qGhGiV/Z22qdJD6TkRWkriRFp+vT5zi 7hASU2vzGfyac85PiE3eG2GKtQ1LUV5vHkbO61Nc= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 01LCPNk7047276 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 21 Feb 2020 06:25:23 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 21 Feb 2020 06:25:21 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 21 Feb 2020 06:25:21 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 01LCPKfL037061; Fri, 21 Feb 2020 06:25:20 -0600 Subject: Re: [PATCH v6 45/51] drm/omap: dpi: Register a drm_bridge To: Laurent Pinchart , References: <20200216210308.17312-1-laurent.pinchart@ideasonboard.com> <20200216210308.17312-46-laurent.pinchart@ideasonboard.com> From: Tomi Valkeinen Message-ID: <5b2665bb-313b-2ac6-7bc8-1c552ba34e62@ti.com> Date: Fri, 21 Feb 2020 14:25:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200216210308.17312-46-laurent.pinchart@ideasonboard.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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: Sam Ravnborg , Sebastian Reichel , Boris Brezillon Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 16/02/2020 23:03, Laurent Pinchart wrote: > In order to integrate with a chain of drm_bridge, the internal DPI > output has to expose its operations through the drm_bridge API. > Register a bridge at initialisation time to do so and remove the > omap_dss_device operations that are now unused. > > Signed-off-by: Laurent Pinchart > --- > Changes since v5: > > - Rebased on top of drm_bridge_state > > Changes since v3: > > - Drop unneeded lock > > Changes since v2: > > - Unregister bridge if port initialisation fails > --- > drivers/gpu/drm/omapdrm/dss/dpi.c | 209 +++++++++++++++++------------- > 1 file changed, 116 insertions(+), 93 deletions(-) Reviewed-by: Tomi Valkeinen Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel