From patchwork Tue Nov 26 13:15:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262273 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ACDA4109A for ; Tue, 26 Nov 2019 13:16:14 +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 9499E2071E for ; Tue, 26 Nov 2019 13:16:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9499E2071E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 44E6789CAF; Tue, 26 Nov 2019 13:16:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10065.outbound.protection.outlook.com [40.107.1.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id D0FCA89CAF for ; Tue, 26 Nov 2019 13:16:10 +0000 (UTC) Received: from HE1PR08CA0077.eurprd08.prod.outlook.com (2603:10a6:7:2a::48) by DBBPR08MB4410.eurprd08.prod.outlook.com (2603:10a6:10:d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:08 +0000 Received: from VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by HE1PR08CA0077.outlook.office365.com (2603:10a6:7:2a::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:08 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT059.mail.protection.outlook.com (10.152.19.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:07 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:07 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c1139fa09dcf615f X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id F7D55C45-E4BE-456B-8874-7F153F58846F.1; Tue, 26 Nov 2019 13:16:02 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TtOBf7SlgXOQSOJgtGeFEFolh2pnsf4RhROmt7DjLIajy9hKZJIq1qsqpLHUNLeU842zxWnWR8LIvlwP0+zDUfkDa71uLLpsi2B8FpvTvxzIg3A2jPPpqi6ekCgJQYr56CgCG32e3GU3JHv1qY0medQH3lcPh94sWuhdnkWlETGwqmcytFEf4QC9UqgnrigPzrfgA7Rq9TSaGerLe6Ssq4DGlAFJ9aRGcCJKQ7RwsjHoCXYUfHdakGt709FpQy2naWWFog/c85oesACyae5MQUYwU/47bZz5PATrt8CtroI7bPZESRxn+EWOyOC3+ytV2yW8kBEJ4v05W4j6bHKJfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lozbmKQolmfEpGhORJ6KkPbrizY8PP9qfhnG2x9TOEw=; b=UGdtSe3zFVuJ94+gYhNkZr6+9UcIyJMdsOPYc1C1sTBR+7KtykfruFBRsEXW0+UqrSJXOigxF5FTSGrBTxNfZGOyQrB+biFd5TDu8HZVtdX8ATAu9WAB9Ib3igGMV+y/0a5uo/mUdH9TzpZHfG/h19eSJMQjpuHXW6qNp2CVrfbcLLt5zDlzZU9WuEsvr4PlszCaTFvrljDUEoCUIkYnJ+Kiuhx+mKWDhoIsgNXTJIfRsL8UH9aglkseflDHEPh8bjsl7TB7mWCH+frG7HKeKRyifGoybssUO67RcG5abEwOZt0C+oFNYPx/IXGKLQ11hwZmSOSZIAVXG5QgqldeOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:00 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:00 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 01/30] drm: Introduce drm_bridge_init() Thread-Topic: [PATCH 01/30] drm: Introduce drm_bridge_init() Thread-Index: AQHVpFukMd5nbiwRlEK6zRU7NBRujQ== Date: Tue, 26 Nov 2019 13:15:59 +0000 Message-ID: <20191126131541.47393-2-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f061b75b-75ec-47c6-2216-08d77272cc78 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DBBPR08MB4410: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:2803;OLM:2803; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(5024004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pkFiXarJUqAfX5ax59j9bvPQfxDgOCg7YpKcF5pNm5x77H6QsiHQQ8wEZK07Ekf/lfdSpgrrnYNIJg67rvmr1kZSNxw5dMqe0Z0oporjEsSMb1+nQ8MbPeBeXYSKYEn2WKx1jN2Z1c7nbiHCVGRNpXRXXD1QmPTu6C0KxCvTSE4IrIoLsRNxdJ0jbyDWSagg4jl7l6nLpMB3nbZgtcHVHdq3MnMIukQoRLGtlm9O06DJ+ACPAmD+AuO2zZCPHVU2zmoqT5HbLXFyzyG3NFTL1Z+nYzwRYeNGw0d3fskacvKWjS8RmPjXnXgIHAkIaE9L8ng+qEU314pvMUKvie/O4d0hUH5fH8WUWGTbh+VM79lNa5tKelA8EfDPcMMATA8Isj4agLyRNrVDpke+k7qsOO60HEnNP0ZSMOrABm4jyaAIawF2Shg1yTEmemmBNv5q MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(136003)(376002)(396003)(199004)(189003)(106002)(2351001)(26005)(50466002)(6116002)(186003)(1076003)(305945005)(6506007)(3846002)(386003)(81156014)(5660300002)(47776003)(102836004)(99286004)(7736002)(25786009)(11346002)(76176011)(76130400001)(36756003)(66066001)(6916009)(336012)(70586007)(70206006)(446003)(86362001)(2616005)(6486002)(6512007)(2906002)(54906003)(23756003)(36906005)(2501003)(5640700003)(14454004)(4326008)(316002)(8746002)(107886003)(81166006)(8676002)(50226002)(8936002)(22756006)(26826003)(5024004)(478600001)(356004); DIR:OUT; SFP:1101; SCL:1; SRVR:DBBPR08MB4410; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 561161b2-5d04-4a7b-b109-08d77272c721 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q4i16YZ8bturndb/4B76JGPRC7AMGXBdXA0PheRqWtBCIbGmiS7KVgcZoYa77N0nc9Qj5YOKBi97WAYSeyFbTWvzgmcmIlD9ZtenYvwGWIil6RoQXXY88xUG4wMVxZHo9JgBCXZAVNZ8soJw2iPsXfqgP0TbxUrxfIb3GeYl0SYwN213h7o5spG4mhNeA8xpq3OsnemGau0OwlcCHmy0H3qscNcxCyhN60RN5gabapxbM1mkswPqi2sPC/1Ma2ZNz5vCGfdN7TV3nDZEzVO8TkutNAA7xVcS/hsiNUIsTK7fpMQ6MSbljKlxotXRsvoK/UOsWM/e1kG0AbKhwdrFxiJQe0TfwYJl3cvORibJVi5S2H6TeVIT/Lq16YYD6GTNnaX/MjMAnTTS5MX/9QRMPQhe/2Lf4Zm6XR+5U28wmYnYDr/eetXUyoXcZaOL30BM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:07.7426 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f061b75b-75ec-47c6-2216-08d77272cc78 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4410 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lozbmKQolmfEpGhORJ6KkPbrizY8PP9qfhnG2x9TOEw=; b=rPFinv9LH3xI19EM70ZoHgim8wNVn52VBD0kfRsH62AfldAxgysW4vDj+6YkULYq4hHu6JcOGdIOJEPre34GXyB7sKf9WxaBYmaOz6XbLhvtTCj6+z89UNkTVH7c9/qtCaGDVQc2hc9oukFpvr4/oZoUupZRkEkWHN4YmWPdKAI= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lozbmKQolmfEpGhORJ6KkPbrizY8PP9qfhnG2x9TOEw=; b=rPFinv9LH3xI19EM70ZoHgim8wNVn52VBD0kfRsH62AfldAxgysW4vDj+6YkULYq4hHu6JcOGdIOJEPre34GXyB7sKf9WxaBYmaOz6XbLhvtTCj6+z89UNkTVH7c9/qtCaGDVQc2hc9oukFpvr4/oZoUupZRkEkWHN4YmWPdKAI= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" A simple convenience function to initialize the struct drm_bridge. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/drm_bridge.c | 29 +++++++++++++++++++++++++++++ include/drm/drm_bridge.h | 4 ++++ 2 files changed, 33 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index cba537c99e43..cbe680aa6eac 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -89,6 +89,35 @@ void drm_bridge_remove(struct drm_bridge *bridge) } EXPORT_SYMBOL(drm_bridge_remove); +/** + * drm_bridge_init - initialise a drm_bridge structure + * + * @bridge: bridge control structure + * @funcs: control functions + * @dev: device + * @timings: timing specification for the bridge; optional (may be NULL) + * @driver_private: pointer to the bridge driver internal context (may be NULL) + */ +void drm_bridge_init(struct drm_bridge *bridge, struct device *dev, + const struct drm_bridge_funcs *funcs, + const struct drm_bridge_timings *timings, + void *driver_private) +{ + WARN_ON(!funcs); + + bridge->dev = NULL; + bridge->encoder = NULL; + bridge->next = NULL; + +#ifdef CONFIG_OF + bridge->of_node = dev->of_node; +#endif + bridge->timings = timings; + bridge->funcs = funcs; + bridge->driver_private = driver_private; +} +EXPORT_SYMBOL(drm_bridge_init); + /** * drm_bridge_attach - attach the bridge to an encoder's chain * diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index c0a2286a81e9..d6d9d5301551 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -402,6 +402,10 @@ struct drm_bridge { void drm_bridge_add(struct drm_bridge *bridge); void drm_bridge_remove(struct drm_bridge *bridge); +void drm_bridge_init(struct drm_bridge *bridge, struct device *dev, + const struct drm_bridge_funcs *funcs, + const struct drm_bridge_timings *timings, + void *driver_private); struct drm_bridge *of_drm_find_bridge(struct device_node *np); int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, struct drm_bridge *previous); From patchwork Tue Nov 26 13:16:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262285 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F3B35109A for ; Tue, 26 Nov 2019 13:16:33 +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 DBE5C2073F for ; Tue, 26 Nov 2019 13:16:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBE5C2073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 45A2C6E32E; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40078.outbound.protection.outlook.com [40.107.4.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id DF10B6E313 for ; Tue, 26 Nov 2019 13:16:16 +0000 (UTC) Received: from HE1PR08CA0049.eurprd08.prod.outlook.com (2603:10a6:7:2a::20) by AM0PR08MB4306.eurprd08.prod.outlook.com (2603:10a6:208:139::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:14 +0000 Received: from VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::201) by HE1PR08CA0049.outlook.office365.com (2603:10a6:7:2a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:13 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT059.mail.protection.outlook.com (10.152.19.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:13 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:08 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 31ebd2a57fed7892 X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.6 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8D7AB900-D71B-489F-BCC2-9D29B41A4481.1; Tue, 26 Nov 2019 13:16:02 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aRl5LC4OSqCc4HYT+IQ5O44rk/AhPl8oNMvnHF5Iyd5WTEHGjtlJZfwIR1IndkBzkxwZwd5ankj3TcdN6WUtu13Y+NhSkSjaREtML7BBLrYqNE6ZoJ95QRPgEqr8jo0VWaehPHhz05s2aIxK7FKZTgMnHiqei4T6fQYC1VQM7rfQAa4rD5PI2hE9+aDskIy2PbcTKq4dqbFAdj/oPwKU4R43sjGebcKk9/gbfBJrPLD4JrwlwFdSqFE2tKOmd0jpAvnRMdASX1DFEouGzsVXdeuoGdyD+zPUW3ITvDxGq7H+DkNOX6kPB5+EviuNZuekgxjFfQEoQz1zsnMqKvrl9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2w9IwS9h8Xe+mRvYuwjPJLzvhx/Jnmzx3UokA4i7RFI=; b=XOePaeIU/cmAJtncV5spBHQV6aWoEPau30ZE4j9Phb8SE3Ixil7BaKto9AN0lFRTiVYkvJNL7Idxq0rqlLoZyll4fAt94Hm2jqhNS+/ECzvYys9hqEABXX0Mx48Fi06udhRIaZZcNjRzp+forwDhPqdil4I2LhaiKjJRcNbu0TIjp8FFIOXV+dL6ApteaJ0CQ4eEE1sqheMizT3jFF9ijkrtZkU+1cOzpWwfpZn+6CB/+Hf1s7uGEQMbh+omxqrDquAKFQkjSJibaE2JZ+eqAGIYbFdxFakySkxuV3tNtdvZmepW6yXecfYUU7MBZ1d005p9BQpZ4sBCx1+GWx5a3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:00 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:00 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 02/30] drm/bridge: adv7511: Use drm_bridge_init() Thread-Topic: [PATCH 02/30] drm/bridge: adv7511: Use drm_bridge_init() Thread-Index: AQHVpFulRTJQhgMARkmWRCm2W3cWxg== Date: Tue, 26 Nov 2019 13:16:00 +0000 Message-ID: <20191126131541.47393-3-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: feae1f3c-4102-4eaf-8247-08d77272cfb7 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB4306: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: hUGY10/nULHWlcwgw/scw0/nznZBBFiHEgu1jAmQQe2wSWpQtdpIS564otz69+crfnJ5nPaL/FiXWeVW2HS/mBE1m1DfnQ6XxOSoH4661QlP54atbm7jX/BzklfIjMAFpFCA0uNNAYjF7aavQBiWTe86fG/2KwzIUww8Qn0RzguC6/1lq+Xx2I/xt8nihfGwY4Tp6ZSgHftAl1S74MMfLPLOLaGVw0vpNHmsdhdS8S0mrREv80cMQ387gBxsEHVXFZqV3V9QvOctRvua34rrW7S5HYlurD3L4a9j1+yyKKRQL76uvrWFTwG0wAWhJFjbds/0l4vTxaOmILkIlbRKpHtY0MjaZNndAIAA8vtlFt4h0zNarOp6S61w6XYcXU+qaVY6cr5IB5ijWC51uOo8h0V/F1xOIiYKdIY73Qy+G8e0EHVj7f5h2srajru9AP2u MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(346002)(396003)(136003)(199004)(189003)(2906002)(66066001)(50466002)(186003)(26005)(47776003)(478600001)(23756003)(14454004)(76130400001)(1076003)(4744005)(76176011)(106002)(70206006)(70586007)(102836004)(86362001)(5660300002)(316002)(36906005)(2501003)(7736002)(26826003)(6506007)(386003)(25786009)(336012)(54906003)(305945005)(22756006)(11346002)(81156014)(3846002)(6116002)(2351001)(6916009)(36756003)(8936002)(2616005)(50226002)(8746002)(8676002)(6486002)(4326008)(99286004)(5640700003)(107886003)(446003)(356004)(81166006)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4306; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 204063af-26b1-4d9f-3e1b-08d77272c7bd NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9Y3RmPAgRy058By2QEpHqhn1r0zyvjPgvhWFLhGJN2zNFhhDI3zpJZdM7VJt8VhduD/tTRGDyPAzsfgQ3BFxzo27/1JVozFSsNoRoAh5TuJB6cSjypZWQwBdXjJH9yn6lvkkBHSqbgqm683cSDXyZY/fV9v8WiXzGx67rIOSjtvp6gnJLKbwX/GErQU5TcRcBxyw+NW/xJ6MrcY07Efl9glCcO13vfokFDIwbmC1sWOxXW0DR/hAjSl/8LLPkRJGK1MjuG8iMLPZy37SaSz8s+ZvswJ368P5Wm/Y/LccVIUpH9JCvuDL5t3ri0WDB6p7esqqFUvFcPa3s/qjPNW3cdFv5kTy2gndHLPWLnCOa2afjUe33ybGpTCnqe+kC/GTZ0bGuw/OS0K67/aBWUVvCyuZ5ZCpT4DKcgSjbgYEoF2Wg7T7fd2AioOLHWRcJl+O X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:13.1581 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: feae1f3c-4102-4eaf-8247-08d77272cfb7 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4306 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2w9IwS9h8Xe+mRvYuwjPJLzvhx/Jnmzx3UokA4i7RFI=; b=Bll5d6fmRH0yG0paS2A2N7B6RAMf48kNB26Z4sujqxvLwG3S4VprSzPy0jq+LhlfuYNmh0CBpgClxjYSP/tesDV52yQ1uZKkZpJdsGpWCxdjL5/bxf+CuJ9E5aWux3pX6lmcnnzo09Wdb5QMjxynnjJLId0oj0hl6Uci+8V38dQ= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2w9IwS9h8Xe+mRvYuwjPJLzvhx/Jnmzx3UokA4i7RFI=; b=Bll5d6fmRH0yG0paS2A2N7B6RAMf48kNB26Z4sujqxvLwG3S4VprSzPy0jq+LhlfuYNmh0CBpgClxjYSP/tesDV52yQ1uZKkZpJdsGpWCxdjL5/bxf+CuJ9E5aWux3pX6lmcnnzo09Wdb5QMjxynnjJLId0oj0hl6Uci+8V38dQ= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Clark , Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , Wolfram Sang , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd , Sam Ravnborg , Matt Redfearn Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index 9e13e466e72c..73600d8766f8 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -1216,9 +1216,8 @@ static int adv7511_probe(struct i2c_client *i2c, const struct i2c_device_id *id) if (ret) goto err_unregister_cec; - adv7511->bridge.funcs = &adv7511_bridge_funcs; - adv7511->bridge.of_node = dev->of_node; - + drm_bridge_init(&adv7511->bridge, dev, &adv7511_bridge_funcs, + NULL, NULL); drm_bridge_add(&adv7511->bridge); adv7511_audio_init(dev, adv7511); From patchwork Tue Nov 26 13:16:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262281 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0862C109A for ; Tue, 26 Nov 2019 13:16:30 +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 E3FE82075C for ; Tue, 26 Nov 2019 13:16:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3FE82075C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 4FF746E330; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0616.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::616]) by gabe.freedesktop.org (Postfix) with ESMTPS id 201FD6E32A for ; Tue, 26 Nov 2019 13:16:13 +0000 (UTC) Received: from VI1PR08CA0168.eurprd08.prod.outlook.com (2603:10a6:800:d1::22) by DB8PR08MB4985.eurprd08.prod.outlook.com (2603:10a6:10:bf::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:10 +0000 Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by VI1PR08CA0168.outlook.office365.com (2603:10a6:800:d1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:10 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:09 +0000 Received: ("Tessian outbound a8f166c1f585:v33"); Tue, 26 Nov 2019 13:16:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ae0827d16706ec77 X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.8 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5BCFF590-9839-44B7-81BC-84FF2EEDCFAF.1; Tue, 26 Nov 2019 13:16:03 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AOEiwG0rYLuSYKaauLV7oePvrJlQu7DrskAkwXOXyh1ppDnoYRzQ3e12lysKMDRjBit6n9XFDCEngYCct6Aoke9Y8mMoj2UXsFVmNpeg2zDN1wq3FOXNdeVJ/a7gWkefylANp+XeQSkEymkB+CPhU/wEPDtVOa/Kz4OLz57+NkIM3mqHDUb1dviRPwntG3l+0ff8fc8bj40kqV0NOfgzQEdDHCZHYVDGUwK2wJ9GLyGctYNEee+OCNDkgpaPg3QOHlzYy8MkXnJKt1cw9Kz557p8fntiH/JAuRKAf0vcvhD5pOP3dnwmzV36KhWenzcXk0Rp3bHhEleT+H6CsIeyCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BdLraPscYl7N5ZnI1D+z6wvdTqf7jpr4JBWbRvcBLpA=; b=i+X5n40YxhjsCGYiEpo9c8hEtPAMcJERLAWqJh0VSB19sPSG2UnBf0tjW+g+XxCW367PRVopBTv7q0XSJwBNIM6eCYCLb5Q6XyJVkGIPPxhx32iYuH9Wu/Tnqaenoy2bT+YWdLWmJPnz0CeoCuB5T1L6CBVRAGgU30HOcj8Ymk/HOZlPlR6AYL+DhS7/+JLph8+sGvwoZJInFF8ii1bytQfyi9IpvGHe20BuJSzo8aeDdIn+b1gZ6QrnwO0Fumw8FTlxHNOrS6jv6k0tJjRqfJNrANkTODmSzXWQCTn5HtPcGCM5A0c0nCdRvHk6r9muA+ntQsCjEhKerl+fSG2bvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:01 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:01 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 03/30] drm/bridge: anx6345: Use drm_bridge_init() Thread-Topic: [PATCH 03/30] drm/bridge: anx6345: Use drm_bridge_init() Thread-Index: AQHVpFumWN2LaRa5802T6cP9cvsh+w== Date: Tue, 26 Nov 2019 13:16:01 +0000 Message-ID: <20191126131541.47393-4-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3bd79e25-8211-402b-e333-08d77272cdbb X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DB8PR08MB4985: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1443;OLM:1443; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(14444005)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0ONJWPJOth+Ob6G8gvodfCmi8+R02t70ub+3Ab8nu/DDw/CR4Ibie/oYV5Uxjg5GMWc91PViq4ky0jsK5Y8fCxf21KwOe2mm3Sk4WrJ/1l4PVERLdGgJqCkUtYoceJONU2/XLzdGhmsnpfK0rouNczDKe48+6yzh8eRMmq4K8Ps3joTUo0mhYTkQAALqzAUoxVL/Xu9bbj1V+5y/jl4P6BsA3I1qcIw+hcc3SN9ebcFGesF6tP/2oCVALlWLRilZJdKpDrm2dq2BB4L+xjQ22Xb2ViKMou1CMcXDgR0AV55XUtCGSnklCVcsn5fpHfxylxx3H7zToWjnjJ5JQguNbkP1cPZlCthjVwRxWt5/owP1qN9TAMlfGTIDkRq9S2GyRKd0kTemCu3J2w2vdeQVGyGV1pw+PwaPvVloDHEkPDWvjSxnMksqOt64701I+1t1 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(376002)(396003)(346002)(39860400002)(189003)(199004)(81156014)(5660300002)(23756003)(14444005)(26005)(50466002)(2351001)(76176011)(1076003)(7736002)(47776003)(99286004)(76130400001)(305945005)(102836004)(86362001)(6486002)(66066001)(70206006)(106002)(386003)(6506007)(22756006)(6916009)(107886003)(2501003)(70586007)(36906005)(54906003)(316002)(4326008)(186003)(356004)(2906002)(8746002)(50226002)(6512007)(446003)(478600001)(26826003)(6116002)(3846002)(25786009)(8676002)(2616005)(5640700003)(81166006)(8936002)(36756003)(336012)(11346002)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR08MB4985; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 742e748e-4191-45ce-d2dc-08d77272c866 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2y6yNoKvgD++8EKGgERU1JsD3Jvte2Foixcr/noBxDD27UCtKDQ0O+CFW6TZQ5UhokSMcxvYQbPOB3nazqupTESaAONCGwDCFSapR1Y2kYHxmlBduxiCIFqMK6eQkI4EmW63gQrQIxq5qYrIh1ryy9hKMC1z+C6VEodvJDPBM4FpcxUbePDU8Jz1h1M78D7SlhLZ1BUUK4ndUeMmxQyO3B/PCccH0b1572Bc/rOD2CVCh0AgibxrDUO6qURBHIczgVkcw3F3vi4q/jasKWxx/DaXrU936e8fVOXBV0xeNpLoaR1T4zmSlr1d24c969ZVBgfe65YiEsbiL1l9FBBL9rSGf48aFGfwOF2lY+T3IJeUZkIpcvcB0hqMMExe10Xt/keK9qitb4PKIqMynYNCg7IHW4IG+z8wSgG6866buh2x77DFcr+1Hc8hKulglI4N X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:09.8004 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3bd79e25-8211-402b-e333-08d77272cdbb X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4985 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BdLraPscYl7N5ZnI1D+z6wvdTqf7jpr4JBWbRvcBLpA=; b=D1v+wKUvBEXmmvZ7h86PluO3iyk0BLQBh9rXYyQp7cvu0zpXVUvg7xQdsdwoMlKgwvNbmddDxbpfBItZqWfrMJxoom1uWz6q+8u6MuVbuw+xpggFOyKHjhQLX8RzfbUDHNy3GqnxQgQEarE3rTUCrFMm5w2LBPxTxSfXcniyNLU= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BdLraPscYl7N5ZnI1D+z6wvdTqf7jpr4JBWbRvcBLpA=; b=D1v+wKUvBEXmmvZ7h86PluO3iyk0BLQBh9rXYyQp7cvu0zpXVUvg7xQdsdwoMlKgwvNbmddDxbpfBItZqWfrMJxoom1uWz6q+8u6MuVbuw+xpggFOyKHjhQLX8RzfbUDHNy3GqnxQgQEarE3rTUCrFMm5w2LBPxTxSfXcniyNLU= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , Icenowy Zheng , "linux-kernel@vger.kernel.org" , Vasily Khoruzhick , Torsten Duwe , Laurent Pinchart , nd , Maxime Ripard Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c index b4f3a923a52a..130d5c3a07ef 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c @@ -696,8 +696,6 @@ static int anx6345_i2c_probe(struct i2c_client *client, mutex_init(&anx6345->lock); - anx6345->bridge.of_node = client->dev.of_node; - anx6345->client = client; i2c_set_clientdata(client, anx6345); @@ -760,7 +758,8 @@ static int anx6345_i2c_probe(struct i2c_client *client, /* Look for supported chip ID */ anx6345_poweron(anx6345); if (anx6345_get_chip_id(anx6345)) { - anx6345->bridge.funcs = &anx6345_bridge_funcs; + drm_bridge_init(&anx6345->bridge, &client->dev, + &anx6345_bridge_funcs, NULL, NULL); drm_bridge_add(&anx6345->bridge); return 0; From patchwork Tue Nov 26 13:16:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262275 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 759D313A4 for ; Tue, 26 Nov 2019 13:16:18 +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 5DA0A2075C for ; Tue, 26 Nov 2019 13:16:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DA0A2075C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 18B376E328; Tue, 26 Nov 2019 13:16:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00087.outbound.protection.outlook.com [40.107.0.87]) by gabe.freedesktop.org (Postfix) with ESMTPS id EDE556E328 for ; Tue, 26 Nov 2019 13:16:12 +0000 (UTC) Received: from VI1PR08CA0202.eurprd08.prod.outlook.com (2603:10a6:800:d2::32) by AM0PR08MB3457.eurprd08.prod.outlook.com (2603:10a6:208:d7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:10 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VI1PR08CA0202.outlook.office365.com (2603:10a6:800:d2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19 via Frontend Transport; Tue, 26 Nov 2019 13:16:10 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:10 +0000 Received: ("Tessian outbound af6b7800e6cb:v33"); Tue, 26 Nov 2019 13:16:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fb4723f78734d0df X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.10 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2F217A09-623C-49E8-B37E-CF4052EFEC4C.1; Tue, 26 Nov 2019 13:16:04 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3cQlI4zvt/+OHU2pVh7hfwxsWrAp+SdV84i6igsmMBc21N2A2JhI5Oikn4FpAre6PLk6fDVYHPMJCEsSN475wBn5V2bq4ethfRHYxQFUQTxcEyuwvnJhZumvVvGZ/daiE8vxM2ThyPALlecGd8EzXuW9fARvruh8kV+5BPX/WEZgz0OguZFzK+4zRIUPxncgPDN4xg7nlkQ2LWqWZ+BGx0pqTJLPv9Vno8OurFINTOS13+N9IQT4N0r1Dc08piuKuO2xOnRvPJqMP+ULbu9dIWVpBEfz0IPdQ6Z1IXhjF30CncOPGY7+JwqA9HTnIS7/mqbGIsDBTp4oScyo6J9sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fd38oFLWy/vll1uYa5+Hk1oRG4a6AluP5w8w6ULnIGg=; b=fBkCVjFBPQRxFklSClWSnCHRYiwzyzrpJ14s1a59AV40jyqtDi4OyuvKEsZ5Vy4Z90PI3ZNTapxF89F1hsS1vxPLBbSi81AvR0AIXS9tz7cvOdCeKlm2hn+LS1XKm/xkIskDekn3ba9URqzV+pSZkQFd7gha1IJJFZV0fcTQQVOsmoQRafzVb9HTrRBjI/gt4me4lAbdxbYeJEFXA+/A73olDGd4MBV6cmeYrSyWer5NwNxSOWBsiKAJcWNKQ8e6pyePkVUHOb2CNSByo0/FuQkVcHwThDsswTNX0DtExCbNuvHp95joN+4HMf1XDlA4yGE8TJKLAGl9NHaPKDbv/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:02 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:02 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 04/30] drm/bridge: anx78xx: Use drm_bridge_init() Thread-Topic: [PATCH 04/30] drm/bridge: anx78xx: Use drm_bridge_init() Thread-Index: AQHVpFumHisFg0Uva0+DP6hJJNbsSA== Date: Tue, 26 Nov 2019 13:16:02 +0000 Message-ID: <20191126131541.47393-5-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 65b223b5-d00d-45d6-ea8b-08d77272cdd6 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB3457: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:386;OLM:386; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(14444005)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: COB1H5tODTimTBTb62Oj7IlBN8//512Ypw9ICiugdIem+geE+UwM9smcvo4amELaMbOiRxxhyF9wMRjYQr367vQF9bOout7fvizAivxfBq4fTMMhOMd6tSmXjx5YPZ7m+PqeO3+Gxi33Rd4myDI4VsjPWUX7Ib6RixvZrFBozR61czgSReMS+o4WQJ3mFMBinaV4G8XqZ0J97udaPtvOo8l48lNYG904toH6hSfFxMAbcUegoakALTLfssWsdKa39r73ycd9dWE9NfzGARdVSdjoi0MSVOgnsmNrtQ+8J7IqOBbA3UyLCSl1axvxjVcQhupG6/8dllKRBFihX6AMyImtqysIuPwoGqAKETivYmOLFv/SVogRXpHL8nKDcnesrax5oX1lXIxqVCBtvpiWRkrWb5v9OunLjrlU2aXd4dwJNi36wY4Vym1WKEyh/Bt2 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(136003)(346002)(199004)(189003)(47776003)(36756003)(186003)(102836004)(7736002)(26005)(2906002)(14444005)(26826003)(76176011)(11346002)(99286004)(356004)(107886003)(2351001)(6116002)(3846002)(106002)(305945005)(336012)(316002)(36906005)(25786009)(50466002)(70206006)(70586007)(23756003)(386003)(76130400001)(86362001)(1076003)(5640700003)(4326008)(81166006)(8746002)(8936002)(54906003)(8676002)(81156014)(50226002)(6506007)(6916009)(446003)(14454004)(22756006)(5660300002)(6512007)(6486002)(478600001)(66066001)(2616005)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3457; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: adc0ef46-da66-43ce-c287-08d77272c913 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ckb7DcKemV8/9OU7X4EUvLUx42+mNsDPdasHxBioVdjN1xA7LldaQknRLq4pTp0MIUPTZTOCyoZvwhPlfHhbDhwSnkJfdtV+8f37Sry8rjdClcRe9yuMCcr2TPuSBFNX1/WWc1jSwxO2/xsHowPKU4b+Wmj2NmZBDUvKKA1NgferikGiQZ2I78jPQ6GPf09IlVNNPCvV0l3pAGyIWZuGnyuP1+QLTjWCCB4G6ERnlBNorbobKUA6hlYROD09FwmJFCyGT9yx+ahphb9EVR39q3D8W4K9iIu1ge4QNLnq6zMD3wUc0m83G9mDYo3ejEcgQdJsN/ROm57bGzbvfpE343glhuTUbIC+OGid27HNpUX1gRja7ndvqosp7HrUt7kmlHRmLejKfpV/P0TPF4uRhyTXJD0+VEudM6eXcgkQjz79Fe3AT3NdJuqNHILpnjDJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:10.0556 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65b223b5-d00d-45d6-ea8b-08d77272cdd6 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3457 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fd38oFLWy/vll1uYa5+Hk1oRG4a6AluP5w8w6ULnIGg=; b=g/X/NnbDW5lKwUPqbDN8I0DiX6mdGtaTQe+jRqPIp1nH2Xq8lnuL+VevTA3mrG0FQAIru1T36jmG4u+XBoCMw2Ql7wIwpH1BldNGUJfg4loqQ/Kfm9LEm6qVwC8AbBGoiLrm/kLA8yc81fPhuMN6hH2b7k800O1XwkmteoFTBdE= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fd38oFLWy/vll1uYa5+Hk1oRG4a6AluP5w8w6ULnIGg=; b=g/X/NnbDW5lKwUPqbDN8I0DiX6mdGtaTQe+jRqPIp1nH2Xq8lnuL+VevTA3mrG0FQAIru1T36jmG4u+XBoCMw2Ql7wIwpH1BldNGUJfg4loqQ/Kfm9LEm6qVwC8AbBGoiLrm/kLA8yc81fPhuMN6hH2b7k800O1XwkmteoFTBdE= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , Icenowy Zheng , "linux-kernel@vger.kernel.org" , Boris Brezillon , Laurent Pinchart , nd , Sam Ravnborg , Brian Masney Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c index 41867be03751..e37892cdc9cf 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c @@ -1214,10 +1214,6 @@ static int anx78xx_i2c_probe(struct i2c_client *client, mutex_init(&anx78xx->lock); -#if IS_ENABLED(CONFIG_OF) - anx78xx->bridge.of_node = client->dev.of_node; -#endif - anx78xx->client = client; i2c_set_clientdata(client, anx78xx); @@ -1321,8 +1317,8 @@ static int anx78xx_i2c_probe(struct i2c_client *client, goto err_poweroff; } - anx78xx->bridge.funcs = &anx78xx_bridge_funcs; - + drm_bridge_init(&anx78xx->bridge, &client->dev, &anx78xx_bridge_funcs, + NULL, NULL); drm_bridge_add(&anx78xx->bridge); /* If cable is pulled out, just poweroff and wait for HPD event */ From patchwork Tue Nov 26 13:16:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262287 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1678109A for ; Tue, 26 Nov 2019 13:16:35 +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 A9C032073F for ; Tue, 26 Nov 2019 13:16:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A9C032073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 C9F826E343; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30071.outbound.protection.outlook.com [40.107.3.71]) by gabe.freedesktop.org (Postfix) with ESMTPS id 21CAC6E313 for ; Tue, 26 Nov 2019 13:16:15 +0000 (UTC) Received: from DB6PR0802CA0034.eurprd08.prod.outlook.com (2603:10a6:4:a3::20) by HE1PR0801MB1852.eurprd08.prod.outlook.com (2603:10a6:3:7c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:11 +0000 Received: from VE1EUR03FT019.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by DB6PR0802CA0034.outlook.office365.com (2603:10a6:4:a3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:11 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT019.mail.protection.outlook.com (10.152.18.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:10 +0000 Received: ("Tessian outbound fee635499979:v33"); Tue, 26 Nov 2019 13:16:10 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6f32ef004a750f8f X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.12 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9DF367BD-3954-4A4F-80A4-5D274BA0F92C.1; Tue, 26 Nov 2019 13:16:05 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7DokPhzIyUsSD+HTofdA63KgF9Dv4ulNcpIXh/wfs6W0G3WNB/0VIUNTIOqqdvKdGRdBlbTkV5MjyA9VVgmto4B/robcGXeI32MNxzg/BHTJZriFGlsM60NndtJh0iAY1A7MabZwkv5a1x4yy7W403so7vIev3J6S09/iTrLlPainVP/Ci6qlF+kf27nFnqc7bsEX1e+0ikqWDFiUi/WohqNl0FmUO82/BRmfF9mowURLijoi0NgZb03T5Sk5NcW1G8bx2o4ZmCW5iFfwwLu7Otqb3JXCdlIH8jzNgUEYA5Gm8Q3723sZE0ZLibP69iCK7tiviHFG0cAlpUxyEhjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IdtA94mAshVXUemmMQnmXJ2MlYnOXP7KGT14dEW+wMo=; b=hFEuHie9sV68NX8FHv3ZhFeET7TNN8tx133gKDCzDf8UhBYXg9r8iOExEpmzzCH2nK1cvUrTU6s6cQXmteIbelx21G3BT1c4kWEPqejb9EUWvYicc5CRni+dI9bug81SqX+IZ378tMPCUq0jnYI7AEtjtZFhTuQeTsfmC5KhxMpcE91nCCf3KZXac+VMlUZ6teVILn4G6V0aKDp06PKLLRDegMcyFSfU+HeW1OzFJZayxRSELOtPjg3PRh2HM1yFTW1KpikqRNJN9mLL0hv5JebplKhV4G+/H/C4PUAqqHknnRN+YMl4aFMJ04XhkZFCRZLN53HLSU+GDE/DoKLmWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:03 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:03 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 05/30] drm/bridge: cdns: Use drm_bridge_init() Thread-Topic: [PATCH 05/30] drm/bridge: cdns: Use drm_bridge_init() Thread-Index: AQHVpFunfH94LB/Of02Me66l+5EISA== Date: Tue, 26 Nov 2019 13:16:03 +0000 Message-ID: <20191126131541.47393-6-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: dd4882c1-4d05-45e2-59e8-08d77272ce3c X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|HE1PR0801MB1852: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:669;OLM:669; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Z2F59TblmaSmxIdPDaLfjNldy8W1wcU/EOpogwnc7F0Ygdm698rPsa1KjzMLVH+8g+4amDp0DmzgBNjYOQQTRTqOmxrIiOU2SfiLOKJoYiDyLSHV2Fqr9ZZumTe3p5qiw2ccTZeTtDf8reqEHA0uJOzQn4RrtiXeq5rnkiZBco5kF7KT4I9O3ISDN/vLHnLQrfzFND1c2J3vWIOZFpsMK4TxXJvdGjfTnxdbBFtU60ABgzkOwSWkm7SaGAN1xBMya6G7HHPXf+3EidH8v+ox6/YYUM704D0HEdreOV8nv807XOGiCNbjHOlK1+NqG3W8ih6NQunVxe5lccc/U/qVbQRrRN0PdQPHYSlXNOPFOUmhdl2XAUn/kU9FW/Jvz7FDu+Lbw8Ma9PtNVIrt+slj4pPlUqFSAHiYNC6qKX8veRc0+MIYSAAZSvur1Pa9snNS MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT019.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(39860400002)(136003)(376002)(189003)(199004)(47776003)(6916009)(2501003)(50466002)(11346002)(50226002)(81166006)(66066001)(25786009)(8936002)(8746002)(81156014)(7736002)(14454004)(5640700003)(6486002)(8676002)(86362001)(305945005)(446003)(22756006)(2616005)(1076003)(6512007)(26826003)(2351001)(386003)(6506007)(26005)(106002)(54906003)(316002)(5660300002)(102836004)(23756003)(76176011)(356004)(478600001)(4326008)(36906005)(2906002)(4744005)(107886003)(186003)(76130400001)(99286004)(3846002)(6116002)(70206006)(70586007)(36756003)(336012); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1852; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: a688f0ef-d3c3-4ee0-d189-08d77272c9b2 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4qTz7IGVRe5zBuIinWFMLpIvq+6C5Dj6eSdIByQ0LmN+kftYpJn/tD5OFUfQIpKHTRXOymv01C9jeb42JDiwscRZ30/L1mPjap560kW5ZcNhl2vKaw3yQVyeGrPZUdcX4HbXtGYMk8Gr7Qjm4+nwj4W+ZG0lWkoRsB5PYuDaSNKVwDPyoXTGsnG9ZjdtHeqZWuq14LaJRzvHQnrKwes7iPOID7lwASE4WeMJ0sQSnO4wGlYB1T2F5xNk2m4skX9aQorM+7hjCv/ms/Yi3Iyj3S/ZcgZAARzkFsGf5yYjfeByrmk+2/N4TJ9kyy/GG9rYZdX9JC1BwjkEytS0Q3cdYdPbRonupaMIcXRIOLwqe9aHTGqxv+ue2A7Vo47h/MdWmjBbY7MkTDGJrvTVUPyh5TngATkYixr6L62REV6XXp5iFgiABBPmrHN4s06dZbj7 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:10.7033 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd4882c1-4d05-45e2-59e8-08d77272ce3c X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1852 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IdtA94mAshVXUemmMQnmXJ2MlYnOXP7KGT14dEW+wMo=; b=ufx+yy1E9PF1dxAolcA+WO3sszn0/nuzUUBUz8OtWkKEWGQAF6KCVQkTWa8AHDzco/AyVmlVfXMaX9aj4/AjA851TOejuQybxlalg2oqgscyP5F6THgBl4TmK/fatB4IyT4kLGJSsbU1+OMIWArOMdmoPL4wLDuMPs71VXlRtiQ= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IdtA94mAshVXUemmMQnmXJ2MlYnOXP7KGT14dEW+wMo=; b=ufx+yy1E9PF1dxAolcA+WO3sszn0/nuzUUBUz8OtWkKEWGQAF6KCVQkTWa8AHDzco/AyVmlVfXMaX9aj4/AjA851TOejuQybxlalg2oqgscyP5F6THgBl4TmK/fatB4IyT4kLGJSsbU1+OMIWArOMdmoPL4wLDuMPs71VXlRtiQ= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/cdns-dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c index 3a5bd4e7fd1e..58b2aa8b6c24 100644 --- a/drivers/gpu/drm/bridge/cdns-dsi.c +++ b/drivers/gpu/drm/bridge/cdns-dsi.c @@ -1233,8 +1233,8 @@ static int cdns_dsi_drm_probe(struct platform_device *pdev) * CDNS_DPI_INPUT. */ input->id = CDNS_DPI_INPUT; - input->bridge.funcs = &cdns_dsi_bridge_funcs; - input->bridge.of_node = pdev->dev.of_node; + drm_bridge_init(&input->bridge, &pdev->dev, &cdns_dsi_bridge_funcs, + NULL, NULL); /* Mask all interrupts before registering the IRQ handler. */ writel(0, dsi->regs + MCTL_MAIN_STS_CTL); From patchwork Tue Nov 26 13:16:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262295 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2CA5A14E5 for ; Tue, 26 Nov 2019 13:16:41 +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 10C4F20871 for ; Tue, 26 Nov 2019 13:16:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10C4F20871 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 2D5326E34A; Tue, 26 Nov 2019 13:16:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0601.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::601]) by gabe.freedesktop.org (Postfix) with ESMTPS id 089CE6E32B for ; Tue, 26 Nov 2019 13:16:20 +0000 (UTC) Received: from VI1PR08CA0167.eurprd08.prod.outlook.com (2603:10a6:800:d1::21) by DB6PR0801MB2087.eurprd08.prod.outlook.com (2603:10a6:4:77::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:15 +0000 Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::209) by VI1PR08CA0167.outlook.office365.com (2603:10a6:800:d1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:14 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:14 +0000 Received: ("Tessian outbound a8f166c1f585:v33"); Tue, 26 Nov 2019 13:16:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d50e3995147f7ce0 X-CR-MTA-TID: 64aa7808 Received: from 687810ec6074.14 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8B2EC3F5-2F8E-43AF-9D08-FBFB3D31EECF.1; Tue, 26 Nov 2019 13:16:05 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 687810ec6074.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QsFnUarmYnR30lUpDJ2zKvZgTqf5Hp5g8HlZ3axlWoxWTZyzQsEXUswYerm7jHSTluOrUBpyUa89yR8/fgCNxJdWhtwn+aJBXE5vQSUX/IsWmpazXnermmlaEIVlFpaXpy8POtk4S4LJZdKhETMFJE5FytnOvjYk6hrkxyi4/PAU8ZZO+nDj0Emvdsp9ZST68wezjQGL6127iOx8z8F2WbR4q9qewydRLt5v2ABuHN+JypyaPGMQJsHFFUWoLW1aEYC9gnYwB0V+cWAu7HZ1KgJbTCWbknpvtIrpee7xAAMsW8E+1L4w3ymqdYR9FodftBCy5PnGKrFlk/zCfu/VCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zsj1ZwfMocxMmhXuaRq5ay7fcHZ5bq2hDSJxGG7/gpQ=; b=LRodKbJI6dRvC8KiyYU2vtfexTtTuKYzEmsrMFEKEkaOBoEfGQVbxp96SN+aTzXwoelYFNahw175TEDsZdWYsQH4a0jMweVtlbP2QGGZ/Kp9Nbw02ppRo1pPbZOG/yh96kgtT+wSTHS02YxxmMXOo4D8KTZ61/Q/1jdg8xJ+KC1p4urZ7GGE8HVwGRLz6yrawk3KWMkDq/BYcyNOLtRYSwvSZZMtd7Om4fh8E/WJgPD91R+xUlWUnXXGwRQZyjjyPzVqA5zqvhlioEjhfOiSpvyjWL+6ExKWaQXFAy23zO8d5mucazvRcvqvAm+8QUgSW+v8YQ66lkaax04xHsViUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:04 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:04 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 06/30] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Topic: [PATCH 06/30] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Index: AQHVpFunvVd9IdaLvkq8Buf75d1N+A== Date: Tue, 26 Nov 2019 13:16:04 +0000 Message-ID: <20191126131541.47393-7-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6535f8ac-d37a-486a-d096-08d77272d0b4 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DB6PR0801MB2087: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:46;OLM:46; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: J9ToH+3qHLnxdOwX9CZA9rKmsXO6+evl51q4zjLdNcDKHrhIRYssK7ccZF8qIZ/A+ze6TJf07uJF1gEBwCALL85HlusXEv1OmJbqcvx2V4uUBdaw9J3m0HtXpW4Dg9oQNtCNUvabiZx/D34LYLqTHGgTr9IQjyuIeBE4GKIZsZTsWq30NqG1fsXNIBZ6fNYhq1tVmUX7/hSkLoWQ6fk21475Xjo/y2glB8bGZLBj9kth7yf66HiX3JtWe0FgBQ0qiihF/ahMouetuSIqeQkglP2NSYvDgdD1llvYqQVxfNcXtiu6CNxMu+lvIRVdQ8bR49iht7wW8Z44KtmVyoyTmUA2wFjVZFHiNIW9/DDDvBbtmk0R+krhscPdk6SYGWQURdD2pZddvqGpflGeSuA61vr0H4HCKennm/1Czt10njnCJJHGVagQ7LmWXT2BGLwe MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(396003)(189003)(199004)(8746002)(36906005)(446003)(54906003)(5660300002)(26005)(8936002)(2616005)(186003)(6512007)(50226002)(76176011)(86362001)(7736002)(107886003)(6486002)(99286004)(316002)(36756003)(50466002)(356004)(47776003)(66066001)(305945005)(6506007)(386003)(6916009)(106002)(3846002)(2351001)(2501003)(22756006)(2906002)(336012)(1076003)(4326008)(70206006)(81166006)(70586007)(81156014)(14454004)(11346002)(5640700003)(8676002)(102836004)(76130400001)(478600001)(4744005)(23756003)(26826003)(25786009)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2087; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: dde9866e-7058-470e-4971-08d77272ca46 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V4j5Z1ra3QyVAbUh8H7bK19j/N6xhBtJzYJ18kXLzJ/igIJJVJ+VhGavfc02nyzZIQ1XDdgE0TdoTwJBoa1qdE6sYRf4+Q4/0XChOMu1YgDug22K7ffUANuD0K0B/j+dAP4uYtUVc+ITMdTfee15rj9tV8fhwtDX2g8LpfMWVacUfDs7aF9505bzhuIQfwrq0K8st8q2kWUkmYTv7R6iXk2kGF7ym/gAaIoV/BfvB1pKrtXHSeVM0Gyx67KYPa13lz8Ln+L5NoRasjcYQ1YdmEFr+CR2aHXW4+FSqvLmasXEybaXV61zjghDxhIuv0KRBILcPB9Q5jQzSvpUsmTqz3EmsheK646ppRCwwOluAUQyHVVdgxE6K3wB4RKDLJYa5+2z+S9XPT1dj1XRhL9dmVAc8Fw8XVtgDBMCr5S4Y0LpBes9c9/MRzwAB1mKfAbS X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:14.8292 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6535f8ac-d37a-486a-d096-08d77272d0b4 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2087 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zsj1ZwfMocxMmhXuaRq5ay7fcHZ5bq2hDSJxGG7/gpQ=; b=MoOxntQ9NBrdex9YXgZ/fvjvXPv3EvezXcm9Q1NG1a1f63nJAx7PrDeOPmlxausWAUT7zEW05BswiKzxhxnhOignJmRolEUPT/lbuhgvdF81e0uVOUsYptKzJ7OE8DHEe6VwFN+3S+vtHutm8UOIfVK1xUo5+1PMgPHt5q02j9w= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zsj1ZwfMocxMmhXuaRq5ay7fcHZ5bq2hDSJxGG7/gpQ=; b=MoOxntQ9NBrdex9YXgZ/fvjvXPv3EvezXcm9Q1NG1a1f63nJAx7PrDeOPmlxausWAUT7zEW05BswiKzxhxnhOignJmRolEUPT/lbuhgvdF81e0uVOUsYptKzJ7OE8DHEe6VwFN+3S+vtHutm8UOIfVK1xUo5+1PMgPHt5q02j9w= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-dac.c index cc33dc411b9e..896f27272e38 100644 --- a/drivers/gpu/drm/bridge/dumb-vga-dac.c +++ b/drivers/gpu/drm/bridge/dumb-vga-dac.c @@ -205,10 +205,8 @@ static int dumb_vga_probe(struct platform_device *pdev) } } - vga->bridge.funcs = &dumb_vga_bridge_funcs; - vga->bridge.of_node = pdev->dev.of_node; - vga->bridge.timings = of_device_get_match_data(&pdev->dev); - + drm_bridge_init(&vga->bridge, &pdev->dev, &dumb_vga_bridge_funcs, + of_device_get_match_data(&pdev->dev), NULL); drm_bridge_add(&vga->bridge); return 0; From patchwork Tue Nov 26 13:16:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262277 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5AB113A4 for ; Tue, 26 Nov 2019 13:16:23 +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 994992073F for ; Tue, 26 Nov 2019 13:16:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 994992073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 AC2696E32A; Tue, 26 Nov 2019 13:16:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50056.outbound.protection.outlook.com [40.107.5.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBFDD6E313 for ; Tue, 26 Nov 2019 13:16:15 +0000 (UTC) Received: from DB6PR0802CA0029.eurprd08.prod.outlook.com (2603:10a6:4:a3::15) by AM6PR08MB3365.eurprd08.prod.outlook.com (2603:10a6:20b:42::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:12 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by DB6PR0802CA0029.outlook.office365.com (2603:10a6:4:a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:12 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT061.mail.protection.outlook.com (10.152.16.247) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:12 +0000 Received: ("Tessian outbound 37db47aaea47:v33"); Tue, 26 Nov 2019 13:16:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fb2c35bb90e50a6d X-CR-MTA-TID: 64aa7808 Received: from c7042a58f532.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id AF1CAC6A-F64B-481F-A03C-4766F511FEA1.1; Tue, 26 Nov 2019 13:16:06 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2055.outbound.protection.outlook.com [104.47.14.55]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c7042a58f532.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FimEEE1tbvB66/ZOYLl5BWXl3HPDaRfQK2Qa+X7Ua2KktSlaONXKwsTuPgNJcXpfqQ+XVWrpCTO8hyR9R/80HhqjRj57sKhOr9JuYFPCvUCze8JTCqu8utnUJFxyB+Kt51gBzbyP0BZlXZ7wSCZcJEBJRq2pcQlczcRLSS7zwyc9d4NOc35YStwUsN5bhhUQ8BYzpZuQs+raypFxoXbo9/kLOlqg8e0jasuqE8yeHb3bYLGeI6VkgTrB71bPuaRR2FSEDZKMM09UsQj8LNo5siQw2JBss1tNTlg78jH/csNB8OD+SmrwMEe0jI/EnCHGGEft9FEmBkPpEqHRSJtacw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E+gIcXwMEpaWbNQmu/uXel91VQjEKWqcp2Xv7hI8VDc=; b=mr+qrzyA4hGy/Zwn+QwxOBZEiNqGk951PBEkAcpZ4NP0z3DRWq67MZtv75AlR7r7GRqOv8/ib8cfPgpeTusNs2qF/6J9QnCvL9P+ApyYw6Op4Bk/qhu8G0KJ1ywHpU2HDJxDdfCkCGTC02pho+5qgDThAEKz1tSUjlmCqYnlHUwpH3BU3kzZ9Jwj8fBeLxmVzhnuEzNAu9ee9FeSjPaWB9sRsXdVIktaCufzK2Wl3yqScGMXEJfWncl3/vjVg16D0cdjQKJBYmVPXyADWqZdnNicX9wHPESG+Z294kTMdDcOROm5VHZmj/JpoC5/oDEyt+xojVvhXv8gulpfFL+NVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:05 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:05 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 07/30] drm/bridge: lvds-encoder: Use drm_bridge_init() Thread-Topic: [PATCH 07/30] drm/bridge: lvds-encoder: Use drm_bridge_init() Thread-Index: AQHVpFuoYtFUOEB7u0KcxEc0nk9UCg== Date: Tue, 26 Nov 2019 13:16:05 +0000 Message-ID: <20191126131541.47393-8-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a1b9d043-6883-4f0e-43dd-08d77272cf20 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM6PR08MB3365: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(5024004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: eD2mrTiLuGPjRqn5B4LlmZzN/gDFoYOWa65eBY4sekXK5BeFwci8RRQM0L4HWXAyx3NpJGtR9Aa0lxiAZyMiRbKKy3CNYXKJ9YKY6BIP4Lz01Xvpfri/lOq5uC9LCsRE7dveF1I9vPKnegc/4zA3etYhlZi/kXPUIjJ+yMwyTJDy2lFBmpTTWSwDDKot/T6FkuWEJcFKMEMBPesYoKtVMsXhv3FGDtVntZ6/vsbyeFdUJQVX1mXcMM2P7wkxL2SF7eZiKQsU09gaSk7Ell7DFvKT0GPyDkYaKnYQvMFMViXHasuKiVOhL8ZO+mCXyOBarINpFCkFDaLpswkrQYHuzjBu0qNS7PZRjuaN1h2tLN9iseou2Ovx+qd4yFhthIEazdM/VJ6wI8UiQsbnsWXs++oGM/DjH2hnmM2h1E8kQ5IMpuGraifa6NVaAjsjP5qt MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(136003)(39860400002)(199004)(189003)(76130400001)(6486002)(102836004)(81166006)(54906003)(25786009)(36906005)(316002)(8746002)(356004)(14454004)(26005)(2906002)(8676002)(81156014)(478600001)(8936002)(36756003)(106002)(5024004)(66066001)(2351001)(47776003)(4326008)(107886003)(26826003)(99286004)(6512007)(76176011)(6916009)(386003)(6506007)(2501003)(5640700003)(23756003)(50466002)(2616005)(446003)(11346002)(86362001)(1076003)(5660300002)(50226002)(70586007)(70206006)(336012)(22756006)(6116002)(3846002)(7736002)(305945005)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3365; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 35d4a9cc-2d83-438a-2535-08d77272cad9 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lSz8OTw67qecaPtTDKx6CrnFRXtzCXjQZlG9zyudeNweLXDRtKfBFGSderW9MmhGudlsvephqS0nRweSDnXsJLY8srjgvYisuqu8WDr2u/9cBCcmdx1sOiedh1acIR8dMRhDKiXReNYGDDOpZe5dwgyqk5Zoh/TYNsrjKBW2I5RezTS55RhXLNGJDR74hScomSfv2moqJXwCS0c8/EthclObaVdYiknhSsg24u3dpEfE7gpi1LRl/ohSi8YspFY2MGRXe9u7oI8w0ERobcLMIcZKV7D00O17jFOSRoizv0xI8eq7xlTN/1isA5JSQQ2b1SoMnjO+VAmF915BFDEcWIS7npBg1sOOFPYWUWLOJvVFIbptPNO2reuu8nRxIPhzUNY7K+LA2/ykKb2onX2XHJgCwxX23VPOoUYVpmZqyiu/b6tRcBohM2AQJ3m0Ed6S X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:12.2440 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a1b9d043-6883-4f0e-43dd-08d77272cf20 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3365 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E+gIcXwMEpaWbNQmu/uXel91VQjEKWqcp2Xv7hI8VDc=; b=xih1U9gI8sNryTEKsTyCueacJPhIOw/hONsM1qZz6so24onz6etOjL7teYZuMiy0lzPrmfKBv21NA0ot8YCBXdWqkal2LVY77u1EEE4RBwyDzSnqItNXBaXgP6/rXWAGKpOGTVWDfxTqlBsRBV8MWWYFqVx4VbYj0FZF7aKmlA4= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E+gIcXwMEpaWbNQmu/uXel91VQjEKWqcp2Xv7hI8VDc=; b=xih1U9gI8sNryTEKsTyCueacJPhIOw/hONsM1qZz6so24onz6etOjL7teYZuMiy0lzPrmfKBv21NA0ot8YCBXdWqkal2LVY77u1EEE4RBwyDzSnqItNXBaXgP6/rXWAGKpOGTVWDfxTqlBsRBV8MWWYFqVx4VbYj0FZF7aKmlA4= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/lvds-encoder.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/lvds-encoder.c b/drivers/gpu/drm/bridge/lvds-encoder.c index e2132a8d5106..155406510416 100644 --- a/drivers/gpu/drm/bridge/lvds-encoder.c +++ b/drivers/gpu/drm/bridge/lvds-encoder.c @@ -112,11 +112,10 @@ static int lvds_encoder_probe(struct platform_device *pdev) return PTR_ERR(lvds_encoder->panel_bridge); /* The panel_bridge bridge is attached to the panel's of_node, - * but we need a bridge attached to our of_node for our user - * to look up. + * but we need a bridge attached to our of_node (in dev->of_node) + * for our user to look up. */ - lvds_encoder->bridge.of_node = dev->of_node; - lvds_encoder->bridge.funcs = &funcs; + drm_bridge_init(&lvds_encoder->bridge, dev, &funcs, NULL, NULL); drm_bridge_add(&lvds_encoder->bridge); platform_set_drvdata(pdev, lvds_encoder); From patchwork Tue Nov 26 13:16:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262323 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA9A5109A for ; Tue, 26 Nov 2019 13:17:08 +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 A318E2075C for ; Tue, 26 Nov 2019 13:17:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A318E2075C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 EF5616E3AC; Tue, 26 Nov 2019 13:16:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140042.outbound.protection.outlook.com [40.107.14.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id DBF2C6E358 for ; Tue, 26 Nov 2019 13:16:30 +0000 (UTC) Received: from HE1PR08CA0071.eurprd08.prod.outlook.com (2603:10a6:7:2a::42) by AM6PR08MB3879.eurprd08.prod.outlook.com (2603:10a6:20b:8c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:28 +0000 Received: from VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::200) by HE1PR08CA0071.outlook.office365.com (2603:10a6:7:2a::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:28 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT059.mail.protection.outlook.com (10.152.19.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:28 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b69359a9aa1b7bd6 X-CR-MTA-TID: 64aa7808 Received: from eb4165d38a59.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8F49B243-D0E0-4A24-A9E0-E1DA024E1BED.1; Tue, 26 Nov 2019 13:16:08 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2058.outbound.protection.outlook.com [104.47.14.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id eb4165d38a59.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G6718M6WIG7cznXs21aajtfzYW649KgFYmnuuofdSy4g/DvXdwMCpmhMp//d9RdlD9ur8/LgPgeqfzeyafteeACEK01JrB7dvHabsIb0EgGdPMn9pLyNEpauWpA0ZUgVg1P3CmtkvnjJk6kmGAcLu0c0mvTcAYp3MUnQ6HsFaZYSzCXJd4DEvFOhRg1Yyli8vaQGYPlE08h3HEz9dqBZDgzDs7Se1WWmwfoYYJ437Qt9Y+SXmq7ajkVVOR8dYqUwoFUdJEUfyXZlwo16IjRimcGOJHIkovKanpQT6HrUAjGVYiGKjwfVZRBwr6w/LNUWs5KA4SrTIcCHnRK018dpWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=528OVsPgmledT3KzwsU137Xb39xXYhXTngkZrmxaBXM=; b=UVRHQI5NSR5z9Z2tmeofrDay4MVQ0KobLR9uetxScQiMbU3atw1g2CgHZftlx/ZUR5EQ3H1E1ZmoSx3t5e5MVUuuRf5vljRw/mtelBFTXcT68x42bMkgn97vkmJ37YSbZs9LIUvq9jsCq/9ezwiOhuh1Dxf2iHT0YfhrhUziq/aGYHMltTzoCrdZBhzj4qKAV00ORwReB/1TyVvIZom/H1sm4FT67LcTbxKLgZLEAxVJWWKIiithlx+AtfR3DW6YJUUrh/w9hJlSWS+3zDlcJCn1mVhdFHzD4i/QZgrgLvAOqV9wvnFHKPPuYp5HTVc2wb+b65KeXgpqOJ06pPpq2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:06 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:06 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 08/30] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Topic: [PATCH 08/30] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Index: AQHVpFupoTyMiBGaqE2PqP/t3pS+oQ== Date: Tue, 26 Nov 2019 13:16:06 +0000 Message-ID: <20191126131541.47393-9-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d9b51a94-232c-4e42-0212-08d77272d893 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM6PR08MB3879: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(14444005)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 4VUgw8KHe+8hT3ET9hAb5BZeNLc32X1H66UjnzLNyB57x+IkhAd5bSvIvThkYG8QarEGl7Pb9kTyW6sGXNOjut3etc2aumEj32RAMqFku/1BUYlV9LKgCXMWejLoALeMa0FGds4RmJQVjOiV4qjqDISCLMUnqB5RyOroepAnLvFchKMBk03K7g2NFDuaKi6bHez/Js5Y5yiFf9N5xoqXbNpf9pM++7sawQ+n86urLPQApz+WWFzJnIU/qcNSrDNUEOBYe0JeW5PkAXNpBEIVvT2nnkFJla9/d4bisZkq5EJbhA1yaw69kbfoTn/okynj2HopKs8XENNsnoh24k76YVF6NJgEfpxr7pghCJpDySXjj3z50qruadB53BM+pa+twA9XU26aHd+xgrV5VtFlduI0fkCWnc9fUEMhZqFOQRUVyp89h+7E6F93C6s6Jnmz MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(39860400002)(136003)(199004)(189003)(8936002)(2501003)(14444005)(2351001)(6916009)(356004)(7736002)(305945005)(76130400001)(5660300002)(50226002)(66066001)(47776003)(107886003)(4326008)(478600001)(26826003)(14454004)(76176011)(1076003)(316002)(81156014)(8676002)(36756003)(81166006)(5640700003)(25786009)(106002)(6512007)(336012)(54906003)(6506007)(386003)(26005)(4744005)(102836004)(70586007)(6486002)(86362001)(2616005)(6116002)(3846002)(23756003)(99286004)(70206006)(50466002)(446003)(11346002)(2906002)(186003)(8746002)(22756006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3879; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: cc23e328-4222-4a2f-1e6d-08d77272cb79 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5+dKqz8ZHSFu05akHQwTRq0K6IaTxW7N3icVLM9jOoXFDNP6j6ubjMD6KaaAM5aJFHrsw4SEHGHlGuRbORHM3vnbl9nwKYPgSB/qw8iJqDxzKHWD7Q0/+F7/GTh8kWfLpbPApeCcQxn/Rhf5mHXP3/K0Gifs4OFuhC7EK7whIBKL0IhdyzmBi0BxaxCVXNOF1diLHFgTPNehabC/KLc1S9ZDoCEV0X6RhrYXTqMAYod0UeUxjF5X1ebYMXAnwtBUYW9qS5/VGhwRUFhFD/FNFYajJdGK5/TSg7BSziNsd5pknx5eXq7EQr6T3xJqVT3RT8BOJm2dxow+ZStxY/GG+ypYcQqSIMppKgeSh6qv1inhzEvx3Jn6tX8FaBp9BqhQd0lJ2a+60WojiSuBEBCuoAxM6cjG4KVD0uF6qcbXZ56l6hRRoOAYq9l/jQ1U8kqU X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:28.0504 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d9b51a94-232c-4e42-0212-08d77272d893 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3879 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=528OVsPgmledT3KzwsU137Xb39xXYhXTngkZrmxaBXM=; b=u/dgm9lyzcBsToTjvghYaxq4lZMMS3j5Sj+5lyhOdLGlxxLh/Fuybw1oR0pVUKwCz6WXBpAtm7MnEDOmdw6M0VzmcjaSPCmsApaGE0QEMox/WegEraquHCNQkL2gPGUdqOdq2ClN2f0ZtgKNXt6dC4b6xqVL0HdIckDuCOrwpks= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=528OVsPgmledT3KzwsU137Xb39xXYhXTngkZrmxaBXM=; b=u/dgm9lyzcBsToTjvghYaxq4lZMMS3j5Sj+5lyhOdLGlxxLh/Fuybw1oR0pVUKwCz6WXBpAtm7MnEDOmdw6M0VzmcjaSPCmsApaGE0QEMox/WegEraquHCNQkL2gPGUdqOdq2ClN2f0ZtgKNXt6dC4b6xqVL0HdIckDuCOrwpks= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Martyn Welch , Neil Armstrong , David Airlie , Peter Senna Tschudin , "linux-kernel@vger.kernel.org" , Jonas Karlman , Laurent Pinchart , nd , Martin Donnelly Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c b/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c index e8a49f6146c6..d567cd63810f 100644 --- a/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +++ b/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c @@ -303,8 +303,8 @@ static int stdp4028_ge_b850v3_fw_probe(struct i2c_client *stdp4028_i2c, i2c_set_clientdata(stdp4028_i2c, ge_b850v3_lvds_ptr); /* drm bridge initialization */ - ge_b850v3_lvds_ptr->bridge.funcs = &ge_b850v3_lvds_funcs; - ge_b850v3_lvds_ptr->bridge.of_node = dev->of_node; + drm_bridge_init(&ge_b850v3_lvds_ptr->bridge, dev, &ge_b850v3_lvds_funcs, + NULL, NULL); drm_bridge_add(&ge_b850v3_lvds_ptr->bridge); /* Clear pending interrupts since power up. */ From patchwork Tue Nov 26 13:16:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262301 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 250D3109A for ; Tue, 26 Nov 2019 13:16:46 +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 08F752073F for ; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08F752073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 30D266E34B; Tue, 26 Nov 2019 13:16:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60054.outbound.protection.outlook.com [40.107.6.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 238586E32A for ; Tue, 26 Nov 2019 13:16:17 +0000 (UTC) Received: from AM6PR08CA0009.eurprd08.prod.outlook.com (2603:10a6:20b:b2::21) by AM5PR0802MB2513.eurprd08.prod.outlook.com (2603:10a6:203:a0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:14 +0000 Received: from AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by AM6PR08CA0009.outlook.office365.com (2603:10a6:20b:b2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:14 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT038.mail.protection.outlook.com (10.152.17.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:14 +0000 Received: ("Tessian outbound 512f710540da:v33"); Tue, 26 Nov 2019 13:16:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4942229eebfaa73c X-CR-MTA-TID: 64aa7808 Received: from eb4165d38a59.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1DAE1596-2200-417D-A62D-830D93F26AF2.1; Tue, 26 Nov 2019 13:16:08 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2058.outbound.protection.outlook.com [104.47.14.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id eb4165d38a59.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bRQZ/GzVZm4JljAeFh8AuwTyTW00rDhlzi3DFhW85S3V/zRbPxzJfFyMnioegmWfdkyReVtGuzL80+HNOb7XrMsNKZ3qPzDnlTBhKwcfJn1NUg++uAOFyjhDE858D2MBMo3pOXYNcx+uzSn+pZTFk5KnYueKjBA7B9EgCuOhKBpqtffsEyCwR9+d/D/ndqm9wPe/rfO4zAbncO6NPXd1gWaSzpGy0B21y8l3cdTEJodKKYeZMHI4MJV2cXUdMTVPxfJlEb9jHORrzZeQ551t+TUR57TIYyhOjn6Za9sP9dbsJr+PEpYiUcwKBKoJ1XLykMvvBVwJkJ5en2pL7CqmZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D4D/5bCj6TvVVRDvDiedXMOypvZfwR1Fa0QcscRNJGw=; b=JU/c04osgz9ZPI9ERwihRNfyV9/KMRbPxXMuDB5rkGzaWxu2bC0u2AiyVbTNJ7GnNuUlR1rXv1WloI3EihABx1tnu6VSo8PFZ9Sjl3U3kegs+1SqqnCkMF/tLqeF/Fa/PV3xH6nb58ClDo3Ez5bbpHNHY6AOgNwThVhH3+gWi0kE9WIbCkcbcOtjlQqP+D9ZAsGUiKtchz/rxbpqqzf4xVZLsctNpM+wGY+H5FxAqpC7zk8WXH+XUhofpeMyAXKRDng/jOy/FpGde5Y977Or1gFXwYIPCse18SPIrDuRSECCI+NrA4XKIqK1AGyN6sonimczJ6jGD5q34AEwCjhAJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:07 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:07 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 09/30] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Topic: [PATCH 09/30] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Index: AQHVpFupslWOenScmkW8ORjTGjHPqQ== Date: Tue, 26 Nov 2019 13:16:07 +0000 Message-ID: <20191126131541.47393-10-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a4fcc98c-24d3-4c01-3408-08d77272d04f X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM5PR0802MB2513: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: kh/C7PCVsvfDVv3zTNKSmefSypczC4D8M7sHoEktOhaSzLiG2usy39fE7J+tU0Atv9D/vk+u8eVw7wD/PKmZjI6v+u8T9J1Kbl26ALFFupVS8iG9jnF/M6gE95STzVOArfX6I4QlrKWQSxxgQQyZlJcatiwyNwov421hCCzYCdMwOkzAi3ogfU+5gdW07bDLRb9cw4a7+umDWpnkmDlYvczs3357AS/EsndN1V1d1xF4yEeGxTH4IG5TyJvHY51CQ52gsjdMANewTP7YzBiXo3IZ/YdrTGZ84SnWR6aV8NPReegtwqdpA+CxGxBmRKYogPfdAl3m9zPeFtNSwQbwAjmxX/jct6SWKx5Eyv5K2EjVwFoEJDFQAuv/ZI0gKdD26tNvRxdOhvVVkt95ntT7jZ/RQfPOgLp1egB0WklLFW31Kc0e0F7jnlzFGwM4Hgx/ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(39860400002)(136003)(376002)(189003)(199004)(22756006)(66066001)(50466002)(54906003)(316002)(2501003)(102836004)(36906005)(386003)(6506007)(7736002)(2351001)(36756003)(5660300002)(26005)(11346002)(2616005)(99286004)(336012)(1076003)(446003)(86362001)(106002)(76176011)(4744005)(186003)(478600001)(305945005)(26826003)(14454004)(76130400001)(81156014)(50226002)(5640700003)(8676002)(6512007)(6486002)(70586007)(25786009)(70206006)(6916009)(2906002)(8936002)(8746002)(23756003)(3846002)(356004)(47776003)(6116002)(4326008)(107886003)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2513; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: c551a330-582c-4e98-9ad9-08d77272cc0a NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3ntjL9vb9qvGSuBnd1OVzEI9SHQRPvf10ywMkwteNqJcf22hM7v2kFMAWj2/fncdv4PPP42v5cfCts9vWJ2QsIRBOWBuDcOXwEF+DSAkqSHWRu7EY0jT2hRMIEIq6crXvFBSqqHllWUOqNIUYd/Ag+tONUzTEzikXNffzdb73yiflibHMgsa6ixds6CNUEKAKAxZimHf+XzXeylmoLWjXm5UerCPzbnjus/e+Yek8yluEmb9ZMhnX7dOciqRJ05r1g6CY6sx3cjSiXTtaf/3OsonFGCMbTFX14INBwV9umr9lIrT8nQec5FmewzYyUnbXj9KMpU75xz0l+83UUsJ5tKqolT9iRu01Baqmu7VpZ5QyywlpPrrSYjRCB99m/TF4BqzZxu0lMrl35ut9mqoQU5SKzSopVNKU00NSZ1MVG+4cRfoCCVa/sbATkM9txrE X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:14.2283 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4fcc98c-24d3-4c01-3408-08d77272d04f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2513 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D4D/5bCj6TvVVRDvDiedXMOypvZfwR1Fa0QcscRNJGw=; b=sqVVTiQIqqcaEvn1va8KsqQk/m12iCkPETnYuxNhHWWdeWBxxu+42NvaOzeQn7hszs0AQaFF7Cb1Hcp19K0jgg5CMVPLJFCVUeQioCAJQy2a97SyW5tOpBPoMPwCoHx1jvBb8vC/yjJyd7JjzglgUf7tET2n7erOOs38aC8X9oY= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D4D/5bCj6TvVVRDvDiedXMOypvZfwR1Fa0QcscRNJGw=; b=sqVVTiQIqqcaEvn1va8KsqQk/m12iCkPETnYuxNhHWWdeWBxxu+42NvaOzeQn7hszs0AQaFF7Cb1Hcp19K0jgg5CMVPLJFCVUeQioCAJQy2a97SyW5tOpBPoMPwCoHx1jvBb8vC/yjJyd7JjzglgUf7tET2n7erOOs38aC8X9oY= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index 57ff01339559..2656a188b434 100644 --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c @@ -320,8 +320,8 @@ static int ptn3460_probe(struct i2c_client *client, return ret; } - ptn_bridge->bridge.funcs = &ptn3460_bridge_funcs; - ptn_bridge->bridge.of_node = dev->of_node; + drm_bridge_init(&ptn_bridge->bridge, dev, &ptn3460_bridge_funcs, + NULL, NULL); drm_bridge_add(&ptn_bridge->bridge); i2c_set_clientdata(client, ptn_bridge); From patchwork Tue Nov 26 13:16:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262279 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 23F75109A for ; Tue, 26 Nov 2019 13:16:28 +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 07DAC2071E for ; Tue, 26 Nov 2019 13:16:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07DAC2071E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 039896E32B; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40075.outbound.protection.outlook.com [40.107.4.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5BD1D6E313 for ; Tue, 26 Nov 2019 13:16:18 +0000 (UTC) Received: from VI1PR08CA0186.eurprd08.prod.outlook.com (2603:10a6:800:d2::16) by VE1PR08MB5215.eurprd08.prod.outlook.com (2603:10a6:803:10a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:15 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by VI1PR08CA0186.outlook.office365.com (2603:10a6:800:d2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:15 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:15 +0000 Received: ("Tessian outbound a8f166c1f585:v33"); Tue, 26 Nov 2019 13:16:15 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 51c551ae3758d5a3 X-CR-MTA-TID: 64aa7808 Received: from 968035f9f19d.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id A4DF99FB-5B7C-4452-B961-7A65C670F671.1; Tue, 26 Nov 2019 13:16:10 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2052.outbound.protection.outlook.com [104.47.10.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 968035f9f19d.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pqsx+q7WO6s7kCgm44ng7zRUM3Gnv11VAn0ggNwNTawiJ9FQ4MMUZjne5dxj6gwrqzHRoKBwpTWxnPhr1KCcfioNCc6e+WaCrNafWvmEYfpBOT++uVXeAyy1C+2QqIW1jIEWryaVNWNJCVt20vRFl9UeAV83JCzadGyzmR8haQ5UAcdIJ3CQocYXkc0d8la18yzsLSmGWOzxiQ3dQ8/+HJffmqAR5HOyQyR9EnjctaUpT/MgQAkMxlHrWtSU0Rh22saicd2A06uJjhu/ZPjH7FXtTeiVd3L32kpSAZ4Q3zIA9ZQXPp2zxwkWAkEPrrxoh+esbmmNMHO60WOkbMmGtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gKX2QEoiMcI48kOVP6yPNKCVpbRPSGyLW7NiFE2+cdA=; b=crCVIXr9Syiv1xmtQnEKT+ThJqSX7Jnwfjj9gPEb4QNilDu8eCDyOxm2fQIox43GjXWPQ8y/njYLlWLpJRB2+e58vzN/lxbOu7OiRlCT/oWikChLsOIdfvJenkpRK1Sht8VbQfW9vmT6xZ0DywnOHi8Oh1spiFcMUdtUafepR6DohK5atMMoiEv2hRIcrlndcYdOpP9D/o9OXQmx1IRJheVgQeLdcaAkmW1VNEOura9LrseOqAWCchHecmxRCOpJQrc0lTHjATLqlyHc0sRl7OW7PI7jjgZjtE6WB9/ToSOUX0xHSoZ+glvlpV+0jffe4IyD7cFJ9rDJtrNmMtBSJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:08 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:08 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 10/30] drm/bridge: panel: Use drm_bridge_init() Thread-Topic: [PATCH 10/30] drm/bridge: panel: Use drm_bridge_init() Thread-Index: AQHVpFuq5irvJSnAN0+ujiTuPMRYMw== Date: Tue, 26 Nov 2019 13:16:08 +0000 Message-ID: <20191126131541.47393-11-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a80afabc-3da7-46fb-309f-08d77272d112 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|VE1PR08MB5215: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:176;OLM:176; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: A3NozrP8WLfq2LchbEEdCkQfd3zsfHgS7FCm7JLug0RzxG1F6ANw/7utf44ziNKp/Uz6VY9jIQ6Ctjui5HsB2cbPXqaylwPDux8TuxkS7fVwTQYE5eXT1hegtZhFtSYLrKxUj4e6HxgIogmauyd3/Ymuz/3AkqSs5/qvYhJFzceT9kgwI/d4NqfBLFEzSRtKlBh/cqJstiZb6Ua3IkTvh6firUkZ7Lf/5wtK36wgEE+Z2FLwz2dfj+rAp0lLThCKZ1dPtTqG3WaWVdfqioIFR1F8iD7DJm296ln8JflVqZX4Q1r/HRqJhKiuOQyyTnM2NOLiGbXI+RlMDJliGa1t3KexdgEopqUWypjgkKOn2KgcR58j5uSWQxC1c3RmNVcxxpMtPH7V1hB65nHPA5x0DBt1AJOG4iwGrZmeN7n+9bpNw/78OJCr6KZZ7+0sd6XM MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(376002)(396003)(39860400002)(189003)(199004)(478600001)(76176011)(50466002)(2501003)(2351001)(99286004)(11346002)(26005)(186003)(76130400001)(5640700003)(1076003)(22756006)(356004)(47776003)(102836004)(107886003)(23756003)(6506007)(386003)(66066001)(4326008)(5660300002)(6486002)(6512007)(2616005)(7736002)(36906005)(14454004)(86362001)(336012)(70206006)(70586007)(316002)(25786009)(26826003)(305945005)(2906002)(8746002)(8676002)(81166006)(50226002)(3846002)(6116002)(8936002)(54906003)(6916009)(81156014)(106002)(446003)(4744005)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5215; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: e08b4ffd-ff82-4325-222b-08d77272ccba NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: br0vK/LgxlZ9EcRwt7iP+SCX9vLpGbY6cKtBZkR7h8nfSDGxtOSYVvMzSTcZzc7h6+NrMXUlvE3SIKFGCfsqU6MJQxfNWX5ZB+vuX7SLYVj89fOt8JtIX/omFy72PD8a0IG0erlyrIM6hTVe2ty8G/pgAeDAI7bgq8sNiK9ktidaYq8cAbVnpfVylLwBzhuWB3hMzgFnDUdd+2wqrRgpDRu0wqzLyXkoy2mD1ZO1js9vi28xnYaMzCNDxSqWvKDgX7ACcTp+88tLecRbmvpAjgBp3r71Uh6KcKm8/DOpcOGs7wbqpU9+k29+IKaKXObXt+qA1ZqY44xDEoSb805fDiwEfS3E1OveUsmDwlwLr2zl361o/GuuEMFSLIocSfUTxpTmHH5rRcGa5owje8m7Dz7A5QZ1PtRfFd99hWy9SMW2yNgAF4L8C0fbQecrrrm8 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:15.5092 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a80afabc-3da7-46fb-309f-08d77272d112 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5215 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gKX2QEoiMcI48kOVP6yPNKCVpbRPSGyLW7NiFE2+cdA=; b=fND/uxG6DmCfQDDILWaeafM+Hw6cyX1VXsbrWPN/n2BDe70Neb8wTV9Bh14r0j8mUw3qBkkQL/pFn9yAs/AX38n5ZRfzVCs5mYAGhrA2KmD7HeUEGUv1OeQW0bRGmMUlnF1MqDOqcckyl6CiERIH/UPkmPhWJTYeEq1bSfeRGvk= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gKX2QEoiMcI48kOVP6yPNKCVpbRPSGyLW7NiFE2+cdA=; b=fND/uxG6DmCfQDDILWaeafM+Hw6cyX1VXsbrWPN/n2BDe70Neb8wTV9Bh14r0j8mUw3qBkkQL/pFn9yAs/AX38n5ZRfzVCs5mYAGhrA2KmD7HeUEGUv1OeQW0bRGmMUlnF1MqDOqcckyl6CiERIH/UPkmPhWJTYeEq1bSfeRGvk= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/panel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index f4e293e7cf64..91d68d0337cc 100644 --- a/drivers/gpu/drm/bridge/panel.c +++ b/drivers/gpu/drm/bridge/panel.c @@ -192,11 +192,8 @@ struct drm_bridge *drm_panel_bridge_add_typed(struct drm_panel *panel, panel_bridge->connector_type = connector_type; panel_bridge->panel = panel; - panel_bridge->bridge.funcs = &panel_bridge_bridge_funcs; -#ifdef CONFIG_OF - panel_bridge->bridge.of_node = panel->dev->of_node; -#endif - + drm_bridge_init(&panel_bridge->bridge, panel->dev, + &panel_bridge_bridge_funcs, NULL, NULL); drm_bridge_add(&panel_bridge->bridge); return &panel_bridge->bridge; From patchwork Tue Nov 26 13:16:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262289 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AC5C213A4 for ; Tue, 26 Nov 2019 13:16:37 +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 9380E20872 for ; Tue, 26 Nov 2019 13:16:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9380E20872 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 8C4A36E340; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on060b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::60b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9AE216E32A for ; Tue, 26 Nov 2019 13:16:19 +0000 (UTC) Received: from VI1PR08CA0096.eurprd08.prod.outlook.com (2603:10a6:800:d3::22) by VI1PR0801MB1822.eurprd08.prod.outlook.com (2603:10a6:800:5c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:17 +0000 Received: from VE1EUR03FT024.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::206) by VI1PR08CA0096.outlook.office365.com (2603:10a6:800:d3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:17 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT024.mail.protection.outlook.com (10.152.18.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:17 +0000 Received: ("Tessian outbound 512f710540da:v33"); Tue, 26 Nov 2019 13:16:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fffb61ce6bbc02b2 X-CR-MTA-TID: 64aa7808 Received: from 0334c95094c9.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9D6D01C9-52D0-4AC9-BFD7-3E0C84E4FAC9.1; Tue, 26 Nov 2019 13:16:11 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2050.outbound.protection.outlook.com [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0334c95094c9.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n0wCYST6tErq5F47pDNzbOqQfMhb9NkEfGrEm9n30BBpRVTrglxvdAvm9J0yOb5j6r8PmTkl23sk0YyFB7Sv/0jHliD+Fee93TSk2HMQZRLSAHKWhP9wnQxQh7yDM79NovXP45JW6k70RebEnUipNZTCXkeDoTZomyjHbQAhPAOPk7pgrHVhe3ZAAWaK0rUEk2nd7sdaIocznWWMKwrInENKqt2jeq0PU06OQHof3pcP7oCQ2SS8LFovrT3dUBQvvGd4U099o3YVOQL/fEJM81GH1FbVtYKuhvOgK0H9Q7OgzJYl10dp3EfrCvU67b5PBR/o0UjmjBm6KCZA3rTrRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Br0IlITciAKMvoJF61FmiO4/HJaoP04jFIkFIztPEYA=; b=Uk87qBZ8z7gUaOlCqOcH9Vu4EwdVbPWd8/2WTzrXwCW1oMGE2pt9OTdzRf5tOijBf1NhfxGkv293rH9XCxtRT6TbQXbv1TIfN5Y6rONr+U+6YY0Qt/cGIcPO3Sd4e88Fr4W/1HSletMn3zl0pKlP9CpsIRS8vjSy9rVJJTvEI6TUzgIT7EQ31oN/175AjaIx60aBXxqhCyaLPHPQnkr3GoPxjKPmjR1DhhNzNoxTcmHXWrb+EVElR2Oz8uOIzahJvk5JCK2NwzXclFKWsPqeScivrZgKIb3KU4GFcMfQyH662f8wzpS53y/50ErV+wmhun3QwIPcxtfXhzoU0IwyuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:09 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:09 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 11/30] drm/bridge: ps8622: Use drm_bridge_init() Thread-Topic: [PATCH 11/30] drm/bridge: ps8622: Use drm_bridge_init() Thread-Index: AQHVpFurg5txLQ+NAkCgI2Ac0kEZ+Q== Date: Tue, 26 Nov 2019 13:16:09 +0000 Message-ID: <20191126131541.47393-12-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5e89cf2a-f0c8-4985-03b3-08d77272d246 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|VI1PR0801MB1822: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pTxPhTopEbIKcwrYDQLgGUtBKDndqB41AqImQqeneDxjNqe3pirM3MWVk1UWnY/JL+ywhpTjzlJY8hjkvmmNU5yvvneG/AbMDaQDUH2DGAtrlV5ndNEemZU6wnOuGPycV7cNUL3u5iDjRqXh7728dHQvX0xnLZ1Mpxo7QslW9mLR3ynZ36hBixdY5b7ic2w/e1orl0sEHkPV6oL0dd3MqOnBxDi+ey3wuKuWJG6XEq7K5e1PIG4oAMTWmOrgPFD6Gy0D76eAg2Oh4lPV2H1taXFirFrkdSpfj/65+THi7x/vShxwAw33l4cvJkN71hUIbSjiKYoRlRpBuLArjt7RPviYiohHWLOGzsuJulr0uYEBkHu3ZzVkpC0P7k+5vP8m9lZ0R1ZFF+ji2reYGUeI8CQc7j0YaN/Dui+/Kq/hOqLGFB1y1yTSkWWUwkjaSTyv MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT024.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(396003)(376002)(136003)(189003)(199004)(99286004)(6916009)(76176011)(102836004)(36756003)(66066001)(86362001)(7736002)(2906002)(50466002)(76130400001)(2351001)(26005)(186003)(2616005)(446003)(6116002)(3846002)(81156014)(81166006)(11346002)(6486002)(22756006)(336012)(5640700003)(26826003)(25786009)(107886003)(4744005)(6512007)(70206006)(2501003)(1076003)(54906003)(50226002)(8936002)(6506007)(386003)(23756003)(356004)(305945005)(36906005)(14454004)(316002)(4326008)(8746002)(8676002)(5660300002)(478600001)(70586007)(106002)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB1822; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 451d2042-b35a-4780-882e-08d77272cd55 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KQr/2UoalxiJkb7ClDncP6fhr9qwP8eWzEXzx57sYRO6bCcGgoNZ5DyXpa6kEmZKhSKFQaoFEDNR5jYpEwifezaAr8GaRBli8h+aa1oB6P4oGBSadQ4xt/NaqzOCGwBWxwYDfXTpoCW/Jr3/Lt4wN2+Qv+K683yXePEMYl5WmbpGnGw4+WsSZuY6/1wP7k+8P8ktWTDMG/lGhuWh1GxL3BCwYXug1qxSl7a4fIXdAKoTHUy4+ScyLh78h3cCD4qza764ckyr9V0NqcXtrFE1bt0GbKBGHwpA6ftc4D3NaxahlX+6yrqfw+GV+wY7qr3E5T8twPTmpSCXbcjvsvp0YJAt2LYNonSQtugeA+lKmkLykZqFOSeknefUC85bihZZmmAvZYFAi2QZgzxRP0MEY2/SCYV/Jyomr8YAB9g9jRWhoLljsK99bFFNmhyKrKZK X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:17.4735 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5e89cf2a-f0c8-4985-03b3-08d77272d246 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1822 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Br0IlITciAKMvoJF61FmiO4/HJaoP04jFIkFIztPEYA=; b=VhKEMutKzCHNWDbnslmhKSh2qKB+9LLi44FACy6k/QU/mNPy2xSye7+hFyOewP3hIPO3MyBOEH2+N1bmF0G9O8rFks3xfb8dhQC3ndoH3yl9LCdTf6xPka9y0tApgilZVStc6b+KNZBbbtXmKrhKoWFIWF+YwQ7dXQkk01/eQzI= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Br0IlITciAKMvoJF61FmiO4/HJaoP04jFIkFIztPEYA=; b=VhKEMutKzCHNWDbnslmhKSh2qKB+9LLi44FACy6k/QU/mNPy2xSye7+hFyOewP3hIPO3MyBOEH2+N1bmF0G9O8rFks3xfb8dhQC3ndoH3yl9LCdTf6xPka9y0tApgilZVStc6b+KNZBbbtXmKrhKoWFIWF+YwQ7dXQkk01/eQzI= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/parade-ps8622.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index b7a72dfdcac3..8454dbb238bb 100644 --- a/drivers/gpu/drm/bridge/parade-ps8622.c +++ b/drivers/gpu/drm/bridge/parade-ps8622.c @@ -588,8 +588,7 @@ static int ps8622_probe(struct i2c_client *client, ps8622->bl->props.brightness = PS8622_MAX_BRIGHTNESS; } - ps8622->bridge.funcs = &ps8622_bridge_funcs; - ps8622->bridge.of_node = dev->of_node; + drm_bridge_init(&ps8622->bridge, dev, &ps8622_bridge_funcs, NULL, NULL); drm_bridge_add(&ps8622->bridge); i2c_set_clientdata(client, ps8622); From patchwork Tue Nov 26 13:16:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262297 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D8C49109A for ; Tue, 26 Nov 2019 13:16:42 +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 C07FE2073F for ; Tue, 26 Nov 2019 13:16:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C07FE2073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 741D96E351; Tue, 26 Nov 2019 13:16:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20085.outbound.protection.outlook.com [40.107.2.85]) by gabe.freedesktop.org (Postfix) with ESMTPS id 87A116E33D for ; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) Received: from VI1PR08CA0100.eurprd08.prod.outlook.com (2603:10a6:800:d3::26) by AM0PR08MB3956.eurprd08.prod.outlook.com (2603:10a6:208:131::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:20 +0000 Received: from VE1EUR03FT024.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by VI1PR08CA0100.outlook.office365.com (2603:10a6:800:d3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:20 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT024.mail.protection.outlook.com (10.152.18.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:20 +0000 Received: ("Tessian outbound 512f710540da:v33"); Tue, 26 Nov 2019 13:16:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e12ce85a70890146 X-CR-MTA-TID: 64aa7808 Received: from 0334c95094c9.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 97330A3C-38B3-4381-BE2E-B672BD82A1DC.1; Tue, 26 Nov 2019 13:16:12 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2050.outbound.protection.outlook.com [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0334c95094c9.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LyNpqlmpgt1JMe0MajkSh80cAYEmqpfAqdopul+rG3Q6GbSERrd+84cT2p/4B4NRIGHHDFvNgGu6E0BVtNknU1WrrqhNVtqxYxay+35iQ0HZYEJMAzzPjGFmZW6GxcuBpc8V0e/yMl5f8mSbCUXrCxwSSKeatuh0hHOc3BSB8kk06hk4Gn2ixyHIIXTOFmVpJYZD0O8gnrknSXICW5+lJ4yc31pc/QTGMjcrX75cIelhPoQgPBL2B5g4e8YvjjABj1XuczpkKU3lpLO76MMCEFRiHDal6kl2FviSzTjwW/WoaoCG1Mzp+OMF1nwzXzV4e+9b7S6wvxxIu4ydHf1naA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YG65isiFDLr+qbpV61uGylAb5rk13yS4rBT9XdjMRJo=; b=Ve66c937Sfz3AGkeHhSHDPcy3kTo51V5W1/KZgf7H8a07VcXJ61THosiqxZbNxrOXd+VMy8olJfgS/ogllQHvNswf3vxnWkiKGSf0y7qerc8zB6pRMjTpokYrtvbtGb7VEh7PAC2v/No0SFDWa0UP2V/UgF1HEqFCMZ5whqegC6xYqWxJYXOCrAerilpmbf8H8s2f5lzjwUmWvHB59f6X5Go8mwK8iUKlDJ+82HaPWM+cyUZTMsV6gvbrHFJ6W+bBFnciNS3ph+ItCF1FJK/oXQ6gNdiENw0dkDcANuj7oHNr1hJ8DpRJeaZ+YcI0vhfASkXefCFOZsL2/zfxBYnog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:10 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:10 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 12/30] drm/bridge: sii902x: Use drm_bridge_init() Thread-Topic: [PATCH 12/30] drm/bridge: sii902x: Use drm_bridge_init() Thread-Index: AQHVpFurjxmagkJwXkOkEV0fENOC3Q== Date: Tue, 26 Nov 2019 13:16:10 +0000 Message-ID: <20191126131541.47393-13-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8898764f-595a-42ed-c7ef-08d77272d3ed X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB3956: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: jSVly2z3FOwpX1PQwHDHlh7BImRa8ioUlO2lM54z6Qb65j8KmKtA1nW+ZyLfNT2SqInwBeAcoNC5nyONFh3ZXf2uh4y6L+xVRhepffRvwIDoycZH9Q3y8Mj1RAJAIweWU8PN2q8aR0D2ayqfVN7aGgCE6PRamGEEAcpE20VxJ4bcybGx3id6v4mUYWu1SOIm3U39SC3dEA0VQUMji/hnQcCLcOthiZHxIiSSt3D2gjSu1XO4wUtAfd2N2+JrEJgRQhO2NRGaARROJsHscM+PRb0ZU7OXfRxa5Y0iL1325Tw5NXfo8uLBrxDRlaWyq7GsTKszNTbse+gJqJRpMixQ9HoDYsADIsHlwwztoldjF/Mi+uUzZD0Vp8dAX25yaMYxYaIkDYo0aRqSd1taV3JU0ELtFTgKw1ANVond/yytedsC+/PapLT5LFv74KNQkxUV MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT024.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(376002)(396003)(39860400002)(189003)(199004)(2501003)(7736002)(305945005)(6116002)(6916009)(316002)(2351001)(2616005)(36906005)(5640700003)(99286004)(356004)(81156014)(81166006)(1076003)(86362001)(478600001)(22756006)(14454004)(25786009)(26826003)(66066001)(3846002)(8746002)(8676002)(8936002)(2906002)(47776003)(54906003)(106002)(102836004)(26005)(6512007)(4744005)(386003)(36756003)(70586007)(6506007)(4326008)(76176011)(70206006)(76130400001)(446003)(6486002)(23756003)(11346002)(107886003)(186003)(50466002)(336012)(5660300002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3956; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: d08bbc98-40b4-4de8-b207-08d77272cde8 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o0Njcg2PYChh53CpNqj36d7SFKjW0sQQ54UrLIQVTKSoVsognPSncM/Aru3NQFk2BXVlbqG/2WJOHv6TKoacUIDT1gUxri86TE6BlyyNK/Kx4yI+c4TSE72Oplwe3I84fwxOu9LshE41JkcnxodxQzI9x9N0nwgabkA9e82RuGNQWV19DqO43landkn8ztGk3uq6hC4MAIGNGSnUPxwrpoQeGNbZ9GR3fgwsPJyjcwgXT3UGPDne7aEOyT2WHueDi8BPlIkjLAG2KNAHgILeq4u4XDnBRP6aI/EnO3lqp0nOL5p8aPkvDgbu8/CJ6LK6N2eJl80cmDtB91Zz4f6rUeVGLL12znaAxc/lm6J0b8DpNLkfmktH1YJsDtQ6dKD49Iy47t57FA247+rTyu6WMHKOcOXzr9IPQ4zqK/oRq78kEpMU9LzLYHaGF3Za6BLY X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:20.2567 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8898764f-595a-42ed-c7ef-08d77272d3ed X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3956 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YG65isiFDLr+qbpV61uGylAb5rk13yS4rBT9XdjMRJo=; b=6uTrHhEyryREh76cPkiJLlfivrTQozE7Dm4W20qo6TyednHOrrZGlO6AkBASQ9d6i+AjRnBFb7KN8AnnJE8X3fm0Pn3bI9bFKSzUl7+sD3uTiM9ytT9DQ1GSIbecX46wT/ZUbHAOIYdTSC/+RmB+PJ/TdEB/fGUDuTDApm6spuM= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YG65isiFDLr+qbpV61uGylAb5rk13yS4rBT9XdjMRJo=; b=6uTrHhEyryREh76cPkiJLlfivrTQozE7Dm4W20qo6TyednHOrrZGlO6AkBASQ9d6i+AjRnBFb7KN8AnnJE8X3fm0Pn3bI9bFKSzUl7+sD3uTiM9ytT9DQ1GSIbecX46wT/ZUbHAOIYdTSC/+RmB+PJ/TdEB/fGUDuTDApm6spuM= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/sii902x.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index b70e8c5cf2e1..2a9db621484d 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -1017,9 +1017,8 @@ static int sii902x_probe(struct i2c_client *client, return ret; } - sii902x->bridge.funcs = &sii902x_bridge_funcs; - sii902x->bridge.of_node = dev->of_node; - sii902x->bridge.timings = &default_sii902x_timings; + drm_bridge_init(&sii902x->bridge, dev, &sii902x_bridge_funcs, + &default_sii902x_timings, NULL); drm_bridge_add(&sii902x->bridge); sii902x_audio_codec_init(sii902x, dev); From patchwork Tue Nov 26 13:16:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262299 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7AD17109A for ; Tue, 26 Nov 2019 13:16:44 +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 632D42073F for ; Tue, 26 Nov 2019 13:16:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 632D42073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 65CCF6E34D; Tue, 26 Nov 2019 13:16:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02on0612.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::612]) by gabe.freedesktop.org (Postfix) with ESMTPS id 46C176E34D for ; Tue, 26 Nov 2019 13:16:23 +0000 (UTC) Received: from HE1PR0802CA0012.eurprd08.prod.outlook.com (2603:10a6:3:bd::22) by AM0PR08MB3172.eurprd08.prod.outlook.com (2603:10a6:208:66::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Tue, 26 Nov 2019 13:16:21 +0000 Received: from VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::205) by HE1PR0802CA0012.outlook.office365.com (2603:10a6:3:bd::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:20 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT060.mail.protection.outlook.com (10.152.19.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:20 +0000 Received: ("Tessian outbound af6b7800e6cb:v33"); Tue, 26 Nov 2019 13:16:18 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ea8e42550e4fef53 X-CR-MTA-TID: 64aa7808 Received: from 0334c95094c9.6 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C4D41ABE-9CCF-41DE-94CE-807225FF2535.1; Tue, 26 Nov 2019 13:16:13 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2050.outbound.protection.outlook.com [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0334c95094c9.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=igidyPR1rNyjclJgme61ZLyM8jf4rQ/pyj/T6loM9lz7cWYmVqrVIgWLUfC+Ukqe29tw8DC4JnOIOmUvkVYIPRNGJ5F1PbkZTmeMf+HHcuClqNbs1agBWCRX+5CjEYAzHBp1K98LNnBCGmdKNEZ8EV49U1PAtqd+SOes9q9Jx1Cax4izzGE2Lc7X0Mmpr44YrrqRpXL4G6qlfFwzf5FbkHHWHftRSQSaraMhExef7bLG8DOwMmXwubTrF4bGq5+NIBZzEJIg52Qt8DLOrCin5gltOPrT2fMBVeZ8NzkPDiJIc8wFZv71uJo5qy4FFLqBdBcgzzynt52wivfb2G67uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pok0SSk5Bh8w7qG9tzg8paAi0CtuxpzJ5qzAThY9f2U=; b=m13zfBdn1omJvt8a0NgPLHfFAv2pv0GhqXFdrlJOxBMIQVaIDieBgTjk6YUtEoO811N+PIaM8+AGkA7SrYoJAR/bBTPEhjbv48j55zalO3US6dthPlVcFXkTPt/0dNmgXsDLu/ra0Adrk+KiQ31emAK8CXvs8McWcec6rremhLtC0kyrPB1ctwfPkzry8g80BfC69n1vAf658/L4Fky6jMGC0wrOK8z9pHqwFByn3Ls3OtRcwvnfMqPys7PLXrV6CBHyBhrw2l465Y47EPR7mEYqkEq2xY6ylgJoFvBzDLt6RDLfV1AAIhHH5y5e7tF5Lh2Y/BPT57vr69NJgRm7Vw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:11 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:11 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 13/30] gpu: drm: bridge: sii9234: Use drm_bridge_init() Thread-Topic: [PATCH 13/30] gpu: drm: bridge: sii9234: Use drm_bridge_init() Thread-Index: AQHVpFusNtuVOQ8qhEu+Sa4u9CDFbw== Date: Tue, 26 Nov 2019 13:16:11 +0000 Message-ID: <20191126131541.47393-14-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5ccf5a02-0a6b-4e27-2f68-08d77272d40f X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB3172: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:949;OLM:949; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: jwTV1iyVExg5PHBt5Eop33DsUoWpNxg5dNg3PvKPbXnW/MJ0BMWX5lEzP3LX7rdtpYVvLKIYI2Fc/TlzF4X+FhVUH0kOHN/WmNJZKFaH+8XS+8ochp4iuJHOijNEYwfFCnaY11jwBM+kWOCFOHp4ykMbrpJp0f1XeX9Icc4oU54ax0OX8L+OZ7479HEy+Jp+89QuyNyvMOpbecCdPDn4KoHYuNEpC3JxGliBdwn04IPGGjIBq2gX4JvnhyVonrTqb7JA0cWVSwBAbpKEha5uu6tThJyEOrFWZSNuqkXDQ6KkYBYXbNj1cWJTE28ErGzDO91DL0WmILHhy6qabQaaieoyWKMz14kKIQt5Q0FT4MArzfIcUW+Q1PY1sWAdNOlW06yDWvhQiWQa8PJBSYUgRHoT9JlhwZIvyJAMLB2HCUQlE2V8KRlY5P/g+1RMxKKy MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(346002)(39860400002)(396003)(189003)(199004)(107886003)(76130400001)(5660300002)(36756003)(8936002)(50226002)(8746002)(50466002)(81166006)(70206006)(4744005)(23756003)(8676002)(6116002)(3846002)(305945005)(14454004)(7736002)(25786009)(81156014)(70586007)(26826003)(22756006)(1076003)(478600001)(66066001)(47776003)(2501003)(2906002)(2351001)(356004)(6512007)(5640700003)(6486002)(86362001)(11346002)(336012)(316002)(106002)(54906003)(186003)(36906005)(99286004)(2616005)(26005)(446003)(102836004)(4326008)(386003)(6506007)(6916009)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3172; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 812b9369-7264-40d5-c9f6-08d77272ce83 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5KoCs5eGJKBw451O/a6+xxCa6qzwrTIxvUTKd/H/TfV37F6Y+UItEVE4K6gJTw2ZtSIaW9+1X+wzpydDph+JumTNM/bLHsfbNYmV8wY0YMJyeVu38ddkXybXRvmKjUFbkR+PKOgMgW/gOQ3vkBdMzywjvANgBXEQr+v4ZpQ8LTqQdXzE6MwMR1IpUX/lv6bH7CHSFMBWj8c0JWKWF1jfztEfhN4D9DaMd/f+cAl88s6J2sisQ6bsN7N/yzUhhXNp8KrNWhuN4GjbCl+js5q3p7fvpj1uGXIiVamvjar6yHlx0mEI9nKqryRyKjOmnRRXkk7uwBhvCFRaefKojXyDaiQ0vV+7jGdMa8/x9ZW2sod3Q0otEsGQ6R2wva9nsj5CaEArt7c7rw6a+DLGgzysDkh0JITwx1e+a7ccsfoqCAsJzx5BrQyuDXq2yBa8oIVT X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:20.4736 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ccf5a02-0a6b-4e27-2f68-08d77272d40f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3172 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pok0SSk5Bh8w7qG9tzg8paAi0CtuxpzJ5qzAThY9f2U=; b=pusOmscyYufEpFSCf+1JxVugEIYknT9wzLJze/QxPGJ1neaqXGoNuuo/bUCPQ9nzrZY/YoiEbEvMwucCdGK67E1hAcWNy3eeUwype5UAe7QRWL+M5/36LOue/KaWoowLN2XMgAkLA72eYKNKUkQpjbMzyRNA9QKOWUWB0Cg3QeU= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pok0SSk5Bh8w7qG9tzg8paAi0CtuxpzJ5qzAThY9f2U=; b=pusOmscyYufEpFSCf+1JxVugEIYknT9wzLJze/QxPGJ1neaqXGoNuuo/bUCPQ9nzrZY/YoiEbEvMwucCdGK67E1hAcWNy3eeUwype5UAe7QRWL+M5/36LOue/KaWoowLN2XMgAkLA72eYKNKUkQpjbMzyRNA9QKOWUWB0Cg3QeU= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/sii9234.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index f81f81b7051f..bfd3832baa1a 100644 --- a/drivers/gpu/drm/bridge/sii9234.c +++ b/drivers/gpu/drm/bridge/sii9234.c @@ -925,8 +925,7 @@ static int sii9234_probe(struct i2c_client *client, i2c_set_clientdata(client, ctx); - ctx->bridge.funcs = &sii9234_bridge_funcs; - ctx->bridge.of_node = dev->of_node; + drm_bridge_init(&ctx->bridge, dev, &sii9234_bridge_funcs, NULL, NULL); drm_bridge_add(&ctx->bridge); sii9234_cable_in(ctx); From patchwork Tue Nov 26 13:16:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262283 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14FCD109A for ; Tue, 26 Nov 2019 13:16:32 +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 ED7072071E for ; Tue, 26 Nov 2019 13:16:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED7072071E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 8B5E16E32C; Tue, 26 Nov 2019 13:16:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0612.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::612]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25B836E32C for ; Tue, 26 Nov 2019 13:16:22 +0000 (UTC) Received: from AM4PR08CA0058.eurprd08.prod.outlook.com (2603:10a6:205:2::29) by VI1PR08MB2847.eurprd08.prod.outlook.com (2603:10a6:802:19::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Tue, 26 Nov 2019 13:16:19 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by AM4PR08CA0058.outlook.office365.com (2603:10a6:205:2::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:19 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:19 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ff11807944074eea X-CR-MTA-TID: 64aa7808 Received: from 1f05e3404f54.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C93E48AB-7CD8-460B-99B2-B8A7AA318EB5.1; Tue, 26 Nov 2019 13:16:14 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2056.outbound.protection.outlook.com [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1f05e3404f54.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UDhI7WIoxll0MHYZgVNDhNE7dKtyg1toiocS0iD+SmS2iRTRTiNZrasTG7n8pUGn8fIy23RPhqipEEUrGwFxidUr0Z+UbMg5Orz+r34ignruDMUbIJbTySOI4DLVxDVDQmd4+hPq3EW4dXlVUxOe35irvz7IV1/pmnfaO0CIoll9Zab5EbtgMLcgXSlZNfl+x/FqPb2/XfZuacg4xQgijLparghIbqca7wyn20EZYBtr7A+Fo1yGlABPiQjK9fwqbuZ7dRf09XsKFi01Ed2xKio4Pem6UvtQqZ+Ttx82h5zmzk2AEGSDpsAcXwfpTR8AyuGkfocGy6y2VzQ9WT7O+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6MgqguEy0jasCHbpHxT7B0woU2qwbfZInWMJIuCHW7o=; b=PRpTEmu10eQZK2cak1H/kBuh5Cn7EyTNf249/CaPw5M2yjvnxnEgew4Azl/Wd0lm9FYAGXjeiE+PoNXUAU6r8rQzHST9xLZIYDZ12MAYrfRxVJmTnY2uuEmP/Gwxf3KBcq9r5lv3uMhgmCgKh2xa7xUc8wEepQMOXR/sGwDLL4//7wT97iNOAwo6bSfewbdR60cXSjd4k/S0AN38AUvwQHc2155x4U3VMbe0S3MuZPDwEt2Z6zLlJRa+J1vffxQ9mv3tsffRi6BzOHy2XCBmYZgZDr9NRaJxkxDQI7qrJrFIz8s0MX2y3jlZ+6CA4TWhnDYyjhgTUpcmSTrDxZsiew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:13 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:12 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 14/30] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Topic: [PATCH 14/30] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Index: AQHVpFusBDgtM9ENkEKxMg8CrEW9Uw== Date: Tue, 26 Nov 2019 13:16:12 +0000 Message-ID: <20191126131541.47393-15-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9c1c8f72-3b60-4652-8047-08d77272d39e X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|VI1PR08MB2847: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Kr4JQXa2ZFf9DeYAr8nInYzhyyuXXX7oIDuvdph6ywA7fQDwpd9elpi3td5z7TEeSI9MtbCgu/GtCYY9vwXdBd2UTEjEgLaFWyxSQT8JCKE3CVJY2fjtGs6UT/Ggl/CP9xHNUFe5qbo8j793pc1xLhjEx0lZWo7+AYk82KRX5VS11Ax0688NpGj8D+V5UjCJVhKqa+PoXxAz6Roo1VSCvZjNH3zCDaoow7cCWdEOJK6A+3VR5ar3KZIFAtssFXHD23dlBGECAMnfXIw8ubjsFDRLPHIQIJ/z83244Ff4bQrif1La2ICmsvtadAHsxedSl1yUIMt63EA6zyN0a/06t1W6YKP/QFP5vKUJSKbLJxIT9Nl61C4uxeqfp9V3YwlKeIz8dtraSPLfUkXpmE33/OA/Hq3EHT4do4m768UqtkrgZ6/xuXsgoZcLUNzWY+yb MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(376002)(396003)(346002)(199004)(189003)(6506007)(386003)(478600001)(36906005)(316002)(66066001)(6916009)(106002)(86362001)(2616005)(36756003)(446003)(47776003)(305945005)(102836004)(25786009)(107886003)(2906002)(7736002)(6116002)(1076003)(26826003)(356004)(3846002)(5660300002)(99286004)(22756006)(11346002)(50466002)(336012)(4744005)(6486002)(26005)(186003)(8746002)(14454004)(76176011)(76130400001)(8676002)(81166006)(81156014)(2501003)(5640700003)(2351001)(6512007)(23756003)(70206006)(70586007)(50226002)(8936002)(54906003)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2847; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 00fea5f2-bb0f-4bbe-413e-08d77272cf20 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4ou+jrLo5CfK7OkOOcWt+4nT9FFqW0VkrgsT0yVJE23FLH09buixtpatJirxCAEGvOK515yv1J2xPpytJn5RuBPq8KsRqDkeotLlOSDg89rU3K/0GUqbQHA573XGGU/GA5u+sUBjZ5lpxRsrDwKc2AsfkW70x6iipD9A+h7PmyGlYQpjd3RApNoeLxSPI3QJikUlYnEfi09O8j0oghmu+GCqMR1OhnDqC4bqwSMEf7RAwxzLBgDmqJdh0pdxmRS05609qNkLP2wcWA6FfAjWKbKNZQcq0J4eacElUfLMZ9vFNGRxbWHqr4INKA2puf10lL/1FGRAqlTO79csbmA6yEG/0Ndv6y7ai46U9xUkAJvrl4NlFin8IVkwqiidQRSIqRH9yrJYfYhvfC2U0XS27xkIJb0bgTJ4NiZWGMBOpA2QXw9cejILtXgQLFC0gZem X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:19.7502 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c1c8f72-3b60-4652-8047-08d77272d39e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2847 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6MgqguEy0jasCHbpHxT7B0woU2qwbfZInWMJIuCHW7o=; b=7mdGnpAbAI9MuVi7PlT1ATzFNntIIl7eSuetpq+adU9L14NhWFX06ejRixfp+vlDd9sxYaFQ3/3XK6+VDq9bgydjfHwNgY877K0F0AhtatX9aEqh2HGYbAgFYpAIaDGQESdGPc3tL5G9N4wxwQDsAdwX+lni269cBJsUTNww7SY= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6MgqguEy0jasCHbpHxT7B0woU2qwbfZInWMJIuCHW7o=; b=7mdGnpAbAI9MuVi7PlT1ATzFNntIIl7eSuetpq+adU9L14NhWFX06ejRixfp+vlDd9sxYaFQ3/3XK6+VDq9bgydjfHwNgY877K0F0AhtatX9aEqh2HGYbAgFYpAIaDGQESdGPc3tL5G9N4wxwQDsAdwX+lni269cBJsUTNww7SY= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/sil-sii8620.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/sil-sii8620.c b/drivers/gpu/drm/bridge/sil-sii8620.c index 4c0eef406eb1..482dc2291350 100644 --- a/drivers/gpu/drm/bridge/sil-sii8620.c +++ b/drivers/gpu/drm/bridge/sil-sii8620.c @@ -2337,8 +2337,7 @@ static int sii8620_probe(struct i2c_client *client, i2c_set_clientdata(client, ctx); - ctx->bridge.funcs = &sii8620_bridge_funcs; - ctx->bridge.of_node = dev->of_node; + drm_bridge_init(&ctx->bridge, dev, &sii8620_bridge_funcs, NULL, NULL); drm_bridge_add(&ctx->bridge); if (!ctx->extcon) From patchwork Tue Nov 26 13:16:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262291 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57F6913A4 for ; Tue, 26 Nov 2019 13:16:39 +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 3C2482073F for ; Tue, 26 Nov 2019 13:16:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C2482073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 DD96B6E334; Tue, 26 Nov 2019 13:16:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on061a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::61a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 32EAA6E34C for ; Tue, 26 Nov 2019 13:16:23 +0000 (UTC) Received: from AM6PR08CA0022.eurprd08.prod.outlook.com (2603:10a6:20b:b2::34) by AM4PR0802MB2195.eurprd08.prod.outlook.com (2603:10a6:200:5d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:21 +0000 Received: from AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by AM6PR08CA0022.outlook.office365.com (2603:10a6:20b:b2::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:21 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT038.mail.protection.outlook.com (10.152.17.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:20 +0000 Received: ("Tessian outbound 512f710540da:v33"); Tue, 26 Nov 2019 13:16:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 14a54b3d4b260c8d X-CR-MTA-TID: 64aa7808 Received: from 1f05e3404f54.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id A14B7087-685A-4C15-A8D8-618B226C6238.1; Tue, 26 Nov 2019 13:16:15 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2056.outbound.protection.outlook.com [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1f05e3404f54.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hg5HC5WqpZBW1W5iW7RgTmYyvLi3EzhqdcVteoTkP5/xjzG6jjSSFMeWhpRlPaZm71bZ01ntdPDblfC1dwLAUXHqMa+CP+N8g9cPrcPKxCmYRbmb1gS5+3Y8KKX9skTme715TEyssbGYjw8ebYykSTsTJbcxcxPj0PGJynW7rb8Fslf1Z2B8UukfyyR/v8DTWfbMRwlY27ztPCzkklrfe+voH1QsLkW8vTxEcTZHuIogrK6qvJWUHbfpEfurOOxdM9yN37vJlFV3oygxBCAcwmeOTsvtLoRuPfu3wYyhhyLxDoDDTdiCtuWU24AJSKDGnyUS5aVmHv/a5vGO1j5cHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vilsu5jMSNUi3GIXJ8OzL1XJBLxVssM7Swc8d5oAicw=; b=TU/wxXzc65EkjrwiL42/5l9dk4jHK4ZRy4j269QTSujLHQH+meUL/Nd2tod4dmPf3mi2ovdnHYqceZYKEugvHVED5jODPxhEkWLijyD8d1XtzSNrwwncW21F1aOFYUGHvuJtz47kQ4VNnm8fXZCayPF1kqiET7B6RQmuE84Emw+3VeXnfeK4QVDNf4Q5esPNMr8ifOWbKpaFkcnx3Sel6ZBfnPLTMvcpjxh+BesnpjDRVifjvPmYApnZBtzXa6IVOCw7HJvEinxhwE7UbdgNHmjqKsdaPpBnr3Ml3uYCm9H9j+SgereHOG+2SJTO57NaD2tdTfymkUXa6eV5d/z5CA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:14 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:14 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 15/30] drm/bridge: dw-hdmi: Use drm_bridge_init() Thread-Topic: [PATCH 15/30] drm/bridge: dw-hdmi: Use drm_bridge_init() Thread-Index: AQHVpFutBY9NvXIj8kOLyzzzKOI9DA== Date: Tue, 26 Nov 2019 13:16:13 +0000 Message-ID: <20191126131541.47393-16-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e82555a3-a452-4228-2984-08d77272d44e X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM4PR0802MB2195: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:176;OLM:176; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 2zd+vT0h3SviPrE0eHCowk83FuOxGhECEAs6rMgVcYhXv1PHOItTfHL9b5myzw46+pzLBphmUctKLvvLu1Ih6aglWV785SRBc2vE6eRNhGv1rPcOJC9bcqfZG1uy1gGE31h6/GkDTE7s3lNE/jMbFeTzAqMzisXp+XrNX3ohmyY+0DH5bLY/hs7rTwq1UaOhzQ3+yl1ggQyvD+yjPJ2Go+/rRB0vxToM4JaVfmlsROdb7BxtTbMFETxHjstQ8EzUESTwZmf6k6WHh5o0wQIEicD2SFjnvec+ZczpOJldLHr/IVMUxE73pz0kYJDnK2zknnNAwLMqqgXqrUUawxl4Y3JS9pnjZb82Cbx/aMaQ1qnlNjDJ9JIEGeJuM1+k8P7PRBmfbYaF3LFJM+G3oQxTNJGypXM2oT5hz/DnvnzjVX0blhBZ9VB2sngLCRigeCeJ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT038.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(396003)(346002)(376002)(189003)(199004)(386003)(6506007)(70206006)(8676002)(26005)(36756003)(102836004)(14454004)(50226002)(81166006)(26826003)(1076003)(4326008)(54906003)(6486002)(336012)(66066001)(36906005)(47776003)(50466002)(316002)(81156014)(76176011)(6512007)(446003)(11346002)(2616005)(23756003)(186003)(25786009)(356004)(3846002)(6116002)(4744005)(6916009)(70586007)(8746002)(86362001)(5660300002)(99286004)(5640700003)(106002)(76130400001)(8936002)(22756006)(2351001)(2501003)(478600001)(305945005)(2906002)(7736002)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0802MB2195; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1f4c26f0-fb9a-48ec-f61a-08d77272cfef NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2/D24vIiudVlF8wymvLxtqCQsMdmQSXfDi7HCvPZgilF8ovybIxNn2oaQe0JYmkzKuFasb8+zN9QMiQJxIOgxyE0S+blD4hpkU7eV8qQDSbk0wbNnkntFZirAOEhf8MjYXr2TmsyPQZ5jc2Wxt8vHcTeMxepY1up9lO+lc/WfJlSc/7oUdkk5zkztK9xc9CfkCEwJWxZ4wYRs+Yh4rgSBFVB+j+9ezuSefRVjC6LbWiq/Gxu8F1YruvmnnqVp/us7m+KKquBd7Mx7u1YVrAEMEChA3W4DyfcvyBLTy0cmskSq1jpsyy7+KWQ92I+ndNRWm2O9V257CQDMtnsZuwaI5+1sRGwlMqS/WSCmtSp1NRYHCEB/P9KvmhNyXqUWvKy114dPIZuW46dCG+h3nSiO1HhuJ2Oje5pw9gOY2w7Crs1aWHHmW0BEyUrG9yBUqia X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:20.9344 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e82555a3-a452-4228-2984-08d77272d44e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2195 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vilsu5jMSNUi3GIXJ8OzL1XJBLxVssM7Swc8d5oAicw=; b=n6j5qno9iQAUpFoxgICFX2aqCqv76MB6uHcSJscFq5u10lFZ8t46hmHPUkT6XR8WwE/GVKay4mHNrp+pRhEDGRvM5WBLXRQ1XO0DLqaEkj3tOJZYXeYzP0wTmCWijILHT9EXnlYqfJ5k4+lYAXz96df1t9Gb/v9kGwAzFnx49dI= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vilsu5jMSNUi3GIXJ8OzL1XJBLxVssM7Swc8d5oAicw=; b=n6j5qno9iQAUpFoxgICFX2aqCqv76MB6uHcSJscFq5u10lFZ8t46hmHPUkT6XR8WwE/GVKay4mHNrp+pRhEDGRvM5WBLXRQ1XO0DLqaEkj3tOJZYXeYzP0wTmCWijILHT9EXnlYqfJ5k4+lYAXz96df1t9Gb/v9kGwAzFnx49dI= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , Douglas Anderson , "linux-kernel@vger.kernel.org" , Laurent Pinchart , Dariusz Marcinkiewicz , nd , Sam Ravnborg , Jerome Brunet Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index dbe38a54870b..6c71ffc9df5a 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -2898,11 +2898,8 @@ __dw_hdmi_probe(struct platform_device *pdev, hdmi->ddc = NULL; } - hdmi->bridge.driver_private = hdmi; - hdmi->bridge.funcs = &dw_hdmi_bridge_funcs; -#ifdef CONFIG_OF - hdmi->bridge.of_node = pdev->dev.of_node; -#endif + drm_bridge_init(&hdmi->bridge, &pdev->dev, &dw_hdmi_bridge_funcs, + NULL, hdmi); memset(&pdevinfo, 0, sizeof(pdevinfo)); pdevinfo.parent = dev; From patchwork Tue Nov 26 13:16:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262303 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5F96E13A4 for ; Tue, 26 Nov 2019 13:16:48 +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 43A732073F for ; Tue, 26 Nov 2019 13:16:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 43A732073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 5F4CD6E332; Tue, 26 Nov 2019 13:16:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-eopbgr120054.outbound.protection.outlook.com [40.107.12.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F9746E332 for ; Tue, 26 Nov 2019 13:16:25 +0000 (UTC) Received: from VI1PR08CA0162.eurprd08.prod.outlook.com (2603:10a6:800:d1::16) by PR2PR08MB4780.eurprd08.prod.outlook.com (2603:10a6:101:1a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:22 +0000 Received: from AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by VI1PR08CA0162.outlook.office365.com (2603:10a6:800:d1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16 via Frontend Transport; Tue, 26 Nov 2019 13:16:22 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT034.mail.protection.outlook.com (10.152.16.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:22 +0000 Received: ("Tessian outbound f7868d7ede10:v33"); Tue, 26 Nov 2019 13:16:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cdcfc23dc0b3637b X-CR-MTA-TID: 64aa7808 Received: from 206d54aa05cd.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6AB2C9AA-EDBB-45A7-90F3-A373C9AAD4DD.1; Tue, 26 Nov 2019 13:16:16 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2058.outbound.protection.outlook.com [104.47.10.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 206d54aa05cd.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qrar5kHH41BVuZLRO0jxVyDHRiocfjmimFLrDYuEnv6Y2pM0Shb9MFLgf1MEsyAGdhS+eG+bZoYeRBgLHLWq+m1ZmtjzVzyK65JhPgaP812NsYwjQt7HA0XAVgZy+b9BIy0cxWQVvQ6nx6JZJeHSgngWu7df84qVqoY3KW1miDi+sCMSjemzGht0ffzqky+HfXccDQ0a0oeQ5U3avFOQBi/AQoi53LMX6VFIXZOF9FVtq3fCFpK6CT2fA7QBAamGPBijs/B4ceN8/lwlGtW2zD5r4CXkjCRxOW03ZI5ugZKO9/JlZ3blkLlbxyjWIob86NqcS350Nd+OUectWDN9lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=277eEL94M2rHw20NJBX8K+BY/jR4YETRuPROMMFpHfU=; b=KrIQF50cu8q8cfulDMTBgeTVtfBWq0O3BbQgG8R+49zotCfJoHeglFtyEK4yEgAlLEwM6MMv/HsgKR4VwMRumrFkVG4URXm50jK/zrulUz2L9V4mRvj6Fyo1ZzM5ccN343vuBp8zWlNL4Q+evNFMf2vPh3DfzgtPBlXR/jrumpbdR09XuflvOx2zaWt12uRtc6wrKTb9x+EDUjix5l4Gc0G0ghwf40NMciM1YCf3JaKEcBaHLVFVuZP4TO08enqXIxW2hCov63A5onb3qFmq6N/rfy0N1k3SgnCurxAX54jg+HMrPKq9qwC0mpl+GGSrGqTGe2oQaT6mAkz6+UvP4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:15 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:15 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 16/30] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Topic: [PATCH 16/30] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Index: AQHVpFuuu7uz+7T4vkyXcqiSDJ7s7w== Date: Tue, 26 Nov 2019 13:16:15 +0000 Message-ID: <20191126131541.47393-17-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9fce6a58-9a3a-42a3-2e25-08d77272d50d X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|PR2PR08MB4780: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:176;OLM:176; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 1dEWGvytWJJ9YspW5ENK8y3MBEkBuSyp949tejwzIayrSy59ueAc5L5kC7pePLBS51lrJd/c7b1buHZeoPX+nWc4gnjhTef+Ck9jOcsZtPDqAmNWD2s5IE0VkeLhwxjCYGR0IIpFxZI9smFPpDpeVkVC4ztvALXigfcSwqwiCuahxMh5Vk1XfBOImaBbAcdyQpdnRaVQVtwvXC8pr/33nvhhO1GUmUTcFlvWuf6wOguGtvPGNbDDTjBpQq8P779zQqWLRYvmWwNnbdznlPm/Mb/62R+o6tbhmH/93up3tkcWfYO02oPDKPKfigXlYhgiyFLRQFUEJWMBZBdVW58371hVdIb+iMxPN74eqZgeEx4+wDWRlWto5dS0MOA6GoVFKRzS76k16JGQ/xxIJLpbUZBFNPPqu3Au0oYCTQroImO6sIa5IqYDCzmnLLiXv917 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT034.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(396003)(39860400002)(136003)(189003)(199004)(54906003)(6506007)(6916009)(107886003)(8676002)(26005)(5640700003)(106002)(478600001)(4744005)(26826003)(25786009)(7736002)(102836004)(305945005)(6512007)(356004)(336012)(4326008)(23756003)(76176011)(186003)(76130400001)(386003)(5660300002)(50466002)(8936002)(2906002)(2501003)(2351001)(2616005)(50226002)(81166006)(81156014)(70206006)(70586007)(8746002)(86362001)(36756003)(1076003)(11346002)(446003)(14454004)(99286004)(6486002)(22756006)(47776003)(316002)(36906005)(3846002)(6116002)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:PR2PR08MB4780; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 7b18cebc-f988-41fc-87a7-08d77272d089 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jofNHCTo/DUlg19pNisxQU2kGORuaHhsaPe2CBngtaM0DnKjj2Onzi00IxtBTfzWJ8WEGwYmJsy/fyKXRxwEAS2MJH/mXtQbajaLau+ULdje8ilTbG2w0nOK68/1grKn3klt1pJykHLhjSUJUdUH89LxKZ0QaW7RN4ombcjXBlRoDdJxDQqgZmvTETpWIsqDA2Vb3Wz4/KtOxbC56/SrdEtvCzW0wDMvCwOAgHwOSG8mzMFMhB4gVJMszFEb/xghXCKIe6KWCUWpX2saz0kGtQb79Th2P6fMXBbGImA5yg0U48Zz8bfnb2zcWGOtiiWwpwo2xWbpIPmQMiXkIuLg8Tzv4RKx1dQXV1d2HCFBvxNNpMgrnn46jLUzgLagnZMGjtNMlgbUi0musgPpKB5NM+2Tzw9RN39VxORgRXtWo6yAy1uipGMUTLqfh/5MHKj5 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:22.1893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9fce6a58-9a3a-42a3-2e25-08d77272d50d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4780 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=277eEL94M2rHw20NJBX8K+BY/jR4YETRuPROMMFpHfU=; b=tF1eOEzlOQp76zat/U8OVR7N7/NUkihEyCJo5KHQlq/1dYPJSmu0Ko1u3IJM0Q+au8d8sf+9mJFDjAelLmbBsMnhG8bljm7xwCfEKfkGYknOr3qLxPIvYetlxsi1ziAGom7XKjqNJ3UsuHB0RyzW2pLhLeOcPUBqhj13AtTDUIY= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=277eEL94M2rHw20NJBX8K+BY/jR4YETRuPROMMFpHfU=; b=tF1eOEzlOQp76zat/U8OVR7N7/NUkihEyCJo5KHQlq/1dYPJSmu0Ko1u3IJM0Q+au8d8sf+9mJFDjAelLmbBsMnhG8bljm7xwCfEKfkGYknOr3qLxPIvYetlxsi1ziAGom7XKjqNJ3UsuHB0RyzW2pLhLeOcPUBqhj13AtTDUIY= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , =?iso-8859-1?q?Yannick_Fertr=E9?= , Laurent Pinchart , nd , Sam Ravnborg , Matt Redfearn Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index b6e793bb653c..051f9aaf5867 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c @@ -1052,11 +1052,8 @@ __dw_mipi_dsi_probe(struct platform_device *pdev, return ERR_PTR(ret); } - dsi->bridge.driver_private = dsi; - dsi->bridge.funcs = &dw_mipi_dsi_bridge_funcs; -#ifdef CONFIG_OF - dsi->bridge.of_node = pdev->dev.of_node; -#endif + drm_bridge_init(&dsi->bridge, &pdev->dev, &dw_mipi_dsi_bridge_funcs, + NULL, dsi); return dsi; } From patchwork Tue Nov 26 13:16:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262315 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADF4D13A4 for ; Tue, 26 Nov 2019 13:17:00 +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 91B472073F for ; Tue, 26 Nov 2019 13:17:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91B472073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 6C3796E354; Tue, 26 Nov 2019 13:16:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60043.outbound.protection.outlook.com [40.107.6.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F9616E37C for ; Tue, 26 Nov 2019 13:16:33 +0000 (UTC) Received: from VI1PR08CA0193.eurprd08.prod.outlook.com (2603:10a6:800:d2::23) by HE1PR08MB2681.eurprd08.prod.outlook.com (2603:10a6:7:30::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:30 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::206) by VI1PR08CA0193.outlook.office365.com (2603:10a6:800:d2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:30 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:29 +0000 Received: ("Tessian outbound af6b7800e6cb:v33"); Tue, 26 Nov 2019 13:16:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5fd3d59c4e12c313 X-CR-MTA-TID: 64aa7808 Received: from 206d54aa05cd.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2D8174F7-A801-4DB8-9F5A-0A7DEC77055C.1; Tue, 26 Nov 2019 13:16:17 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2058.outbound.protection.outlook.com [104.47.10.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 206d54aa05cd.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S3unJYRilQJMF1AM7nttyN1taKwQeiXjzxaX4BYpfOm/6voTf6i3DklcYL73dX3chW1eAMfrd2lJ3HI1Oo4+4GuvnJElhB5ISVVdzmBrAl2KtfN/ntuvX52cNKeMkN/9psnOAKIXakO58a0SQ1kM9cG7LSwtUIgpk0TnAjKo9vpN3JgrNWMc8k1f+BobbMrdnHb6u/DWQTRfyX/EO+77XSPijVA54/JgEJgqNsV0Ax2qP3tlWfgy5LENN5EIUii8LE952tRhFAJdn6JDB8v/IjN6dYSZKvdYGWjHMn+B88Fsn95TUHeWZ1pDGTpgR0Yz5UkxQz8Ys+F4MkrjMUOVCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFvLZuLVx0CkgA0/ZpPlhqvVnfV4TlettTTn32zufE0=; b=lHo2jjPrDHWxJpg6mxvLhr50g1Ntz30vobhms0eECWutxS1dNQDHjloTq6oG8/B7nIJL6IQR9hEyslcdI475nxfDorib3ULna1JysNCSEn5/KN+NSAKQTFthGO2BEPHcMMbXCP9J35yFcrGAiId9ztPS4vzMD+yY4kBegw92zSrXvyznDbHaNAYdnX9cfhRZd12akHQvBn+HGteYjpg7xH0jKlL5NPJnnteCayE6voxL0i0ZryTReTEK2XAJuGUHWw57RhsaQVR5ZVtAQxG/6KCVU3tAFlHnSn7L9OMpLeyE6Ix32XVVOYQfS/rvH+LmakZpb+7nrxcjN71Rmkc76A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:16 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:16 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 17/30] drm/bridge: tc358764: Use drm_bridge_init() Thread-Topic: [PATCH 17/30] drm/bridge: tc358764: Use drm_bridge_init() Thread-Index: AQHVpFuuQXVEpOM6HUSYvP61oYNULA== Date: Tue, 26 Nov 2019 13:16:15 +0000 Message-ID: <20191126131541.47393-18-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f05d6e31-9fac-41e5-84cf-08d77272d9b2 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|HE1PR08MB2681: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(5024004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: hkkYl2StNqQc4+vH2kf5Yv69Fnpty2t1n8x5cz5y1SjcW4GPXoXy9vA+AVt2YFcE/pJk9uAyJSN/Lwuu6oA8tDkQfq0vKNTWEc0dd1P+3g0MAUWqXTH7pI7zLVhOLGN8rXaXNSbAR7M95fmxRaWv+NycoD6Pfxjmfy+VUWCLwtnogkMIheqKf/Ly5+1inuuthq1LJdpGBr/XHZHZWantjAVT92HN5a1EG4XCeYVtd3xXAT5tik88YusUOBatethKMwLKClSOxVagXhXjZEJOf7aPJIrE+wJZXKIgV2s4Z2VcG+dvZY/a2G+vk6dLaVcGk5cyxsCrzgUDPwi2neVcYW3LUoqaP1a1TTucnfYOxPF7GLYfm1gRZqiPwTXjvu5tWglBHHFr1EhPeP9kGz8JHH2R1EsjLybCz8tp4ANEuU7utXe/jkY2DtCSCF+r6+Ao MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(396003)(189003)(199004)(5640700003)(316002)(11346002)(22756006)(107886003)(446003)(2616005)(47776003)(305945005)(26005)(66066001)(50226002)(50466002)(23756003)(36906005)(2501003)(3846002)(8746002)(8936002)(6116002)(4326008)(2906002)(356004)(70206006)(76130400001)(106002)(478600001)(26826003)(2351001)(5660300002)(99286004)(54906003)(25786009)(86362001)(1076003)(70586007)(4744005)(36756003)(7736002)(336012)(76176011)(102836004)(6512007)(6506007)(386003)(8676002)(81156014)(81166006)(14454004)(5024004)(186003)(6916009)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2681; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: f49a15b0-70a2-47cf-192b-08d77272d123 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3TH/MY0uUn4qitGztMCfhEG2bfB+Klg/3ygLqzpOJuKFn5J/bN+1IP4AkjPBuAyAEjiQ+HAsJQt3+UBusS/2ePwRO0l3oklqyJCZMIGOjK0Aw9JemB7/VwgTJHQJemeU7mhq6F+90jQkyGlidN58Oi1evNV+IDCblfpTWpq3fqv1SITtHxRTHphFHNFQYVZ5QCKCbquTuQHmup4FrIJxYmwMr6e0B0tQG2S5KDgceNaZjvGiFHibB1Ae/gyUu7KC19PaaDeQUuaPMeYHyU6VHIQTo62ETShxtT7mtRdoAPxPJOcuwWZmz6YP+tjcXhf1ZYX4CBThCVK1U88AHiuv8tf5j7ypLKIXTq4eeVOzNHORdUU9iAZktKz0fJjLN7Kc/hhjf1gEhnoBWufW4Wnw3HDeSN8el2a+DtKoa9vLgHMhXWWlmheqOZoYT0raNVzj X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:29.9777 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f05d6e31-9fac-41e5-84cf-08d77272d9b2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB2681 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFvLZuLVx0CkgA0/ZpPlhqvVnfV4TlettTTn32zufE0=; b=50wLLw3TXGvWp2dtsBQXj0HUr4rS15+vfDvXBZGEUK9F+1pRWB4yHkFwPatJgwGSUeZUPSy5E/BUgiPLA6ZONPEvJtjfZGN4/EnR7BuQaLRk5KGOJwsOKlSWbNYaQlkn2b7LQUKs8IkQr3g5wLhWz8N0Qv/8U+O4Us5/0R++5WA= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UFvLZuLVx0CkgA0/ZpPlhqvVnfV4TlettTTn32zufE0=; b=50wLLw3TXGvWp2dtsBQXj0HUr4rS15+vfDvXBZGEUK9F+1pRWB4yHkFwPatJgwGSUeZUPSy5E/BUgiPLA6ZONPEvJtjfZGN4/EnR7BuQaLRk5KGOJwsOKlSWbNYaQlkn2b7LQUKs8IkQr3g5wLhWz8N0Qv/8U+O4Us5/0R++5WA= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/tc358764.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c index db298f550a5a..861d4df687ee 100644 --- a/drivers/gpu/drm/bridge/tc358764.c +++ b/drivers/gpu/drm/bridge/tc358764.c @@ -457,9 +457,7 @@ static int tc358764_probe(struct mipi_dsi_device *dsi) if (ret < 0) return ret; - ctx->bridge.funcs = &tc358764_bridge_funcs; - ctx->bridge.of_node = dev->of_node; - + drm_bridge_init(&ctx->bridge, dev, &tc358764_bridge_funcs, NULL, NULL); drm_bridge_add(&ctx->bridge); ret = mipi_dsi_attach(dsi); From patchwork Tue Nov 26 13:16:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262305 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D1BFF109A for ; Tue, 26 Nov 2019 13:16:51 +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 B7D872073F for ; Tue, 26 Nov 2019 13:16:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B7D872073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 E17886E393; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0610.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::610]) by gabe.freedesktop.org (Postfix) with ESMTPS id A43AB6E354 for ; Tue, 26 Nov 2019 13:16:33 +0000 (UTC) Received: from HE1PR0802CA0014.eurprd08.prod.outlook.com (2603:10a6:3:bd::24) by DBBPR08MB4425.eurprd08.prod.outlook.com (2603:10a6:10:cc::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:30 +0000 Received: from VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::200) by HE1PR0802CA0014.outlook.office365.com (2603:10a6:3:bd::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16 via Frontend Transport; Tue, 26 Nov 2019 13:16:30 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT060.mail.protection.outlook.com (10.152.19.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:30 +0000 Received: ("Tessian outbound af6b7800e6cb:v33"); Tue, 26 Nov 2019 13:16:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d2dc0a92ed9cf500 X-CR-MTA-TID: 64aa7808 Received: from 398b5090f33a.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C2A6510B-80A7-41B4-B358-8DC4C502AFBF.1; Tue, 26 Nov 2019 13:16:18 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2056.outbound.protection.outlook.com [104.47.10.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 398b5090f33a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b/I1it62zpUWML41Zila59UIuH/3hDErEp0xNatJzZPHWA/0YmGXqjk0yUoZ3pVJICfI10P5c1Zu4QeaTpS73gVsSdDCiaAN7ivxW2ErYXO1Hv2Zd0LFMMmbKjW0EdwCoiQGjMMLa9dyOP1ssunzXumXEzXNkUVvydA/2Ph8/rEGJqRP5h69IZZ+6QSDAJC1rG0+6rKJWpOA/bvtd0wwmbJrIcBSNHR6gViYK3a75Xn9aqGTNmLCbO+5hMFTibBuTVBIK7Nb8M9HBN+yvr3sg8fW/v3ZMdHJ2SYXyuHAXmirmowXfxxDGGNrPttTesK9EmBy0mr0tvS67qI6dMDkgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/GM8A9kiLcrCKYySajRO3pEQWg5CmJV0PJmVUtGtc3s=; b=CWL5tHkqblAQGzjmX9otyD2uxT+BNmXfzPeJXCF85zisopRyHfpQkDgROcOppsDYjwRnwl2ZfKjOo6DdXBBO1BK6XyPOIRJ5HBtMIhhh6Td0OgZQNknG9nkmdIYsO1D3+ys5mlgPHdKdpDsjnJPwI4KBcZLtdo7STnm551xkscA6UBecThY021+NBQLJDYUkAtfiXTmVWXh11d7XAJ2lMBAAEGh2fOmfYepCC11+oPliBnz3jNfoEBGdsWI5zXsOLOnFum7hlXXgEdYfsAwzU3p8tcbGr39MCKzlZmSrPFSh2XrSFZzO9HFZTZI4uIx6GNWPdi4tKTbLYsa08gnJYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:17 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:16 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 18/30] drm/bridge: tc358767: Use drm_bridge_init() Thread-Topic: [PATCH 18/30] drm/bridge: tc358767: Use drm_bridge_init() Thread-Index: AQHVpFuvzbECXsJ4qkOALbl4JgCF4g== Date: Tue, 26 Nov 2019 13:16:16 +0000 Message-ID: <20191126131541.47393-19-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a3bba850-802a-450f-7ff8-08d77272d9db X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DBBPR08MB4425: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8IWsceGY/aN95lJcl04ZEfdyoxpPUY0+AKQDjyOLPdXeZlgE3D3ED7DcL4/6STtUoEvKqtEPZXH69ioQTL3pEGd5oE3atGVJw/V5PS52UZdhozR2q9AKNxOQ19AtjBTGe7QAthvx77GQQ2WTv0MmwoCByXHCyuCYMnWTOr2CQ4fHQH1y/vFvQwD2UKTv1681WysRhMye8ko2BP0DS6jQNjsG1S242TpuIhzZsMBno0sF17Ryb3VQ096dO7xkwYUvxejfYMhpB0p8xGwljymmD8i0RgHNgJZGTEzBHYiOpL7AA0h/c/aNPQvHwGzIuByeaVqS62tb6NW+jyphw/ToUz/dwz0OFCtTmfReUI0V05eJjKPcyEH2LxRQDHKwPFJxP1zBq1AynxDBr+ZXeZXZpnxskWPbPs4Hv/ZOmZW7qgrY159onnpKTl9fpjqFN4sY MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(376002)(346002)(39860400002)(189003)(199004)(36756003)(106002)(22756006)(107886003)(54906003)(316002)(14454004)(23756003)(6916009)(102836004)(76176011)(478600001)(6506007)(26005)(386003)(186003)(4744005)(50466002)(81166006)(81156014)(8746002)(8676002)(1076003)(6512007)(6486002)(25786009)(2906002)(86362001)(66066001)(47776003)(5660300002)(356004)(50226002)(70586007)(70206006)(2501003)(4326008)(2351001)(99286004)(305945005)(6116002)(3846002)(336012)(7736002)(11346002)(76130400001)(446003)(5640700003)(2616005)(8936002)(26826003); DIR:OUT; SFP:1101; SCL:1; SRVR:DBBPR08MB4425; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: a9b3a778-d2be-4064-d6d6-08d77272d1b1 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C96pkVpFxpX4as4M2mKiIMao2a7TqVtYLUwZAe9GK1Hj5lAbAtUZsxtVqrfIkjtT6I6r5xUe6Hu++LiDnAOnQwmiwDE1k1OBcVMka+ImfSJfE96i3xCrNGORuGKreismGBvcCnmOrgdIElVjW2e3VfwhLmdIXAM2L/BvfBC6VqkpUxARWGA0FE+/t+Aoz72xc5m/em8CSi4TCWYohUGEn8tPZBsE9hi/2ynxOecWYmYaALH/k28eSPrTLXHobYimtlYHv3dXQGpR0PsptM7OB5Ku0H25Q6+QCIxY5RHozMXxWpMLC2bELPznOepFsZYlAZCLMEEHScoO4Pu8NEDj9Fwo7MrCA6krbp2yjP+iVvgsehkZL4FadQieKRyIAsfznHAXIyV/uin8aNc9gISE1wtBimhHwzu+ly+9lI43yy8ZIjvnW46NRshhECr6SX+4 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:30.2012 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3bba850-802a-450f-7ff8-08d77272d9db X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4425 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/GM8A9kiLcrCKYySajRO3pEQWg5CmJV0PJmVUtGtc3s=; b=m0/WXGV7+WeK7dFJRaRAB8RiT8iuPY2WAcn05vUzE7KGTlxtO1lHY0zvAFABq4Wrl8cnwZyEVsMVjqbXufWFMA61yzp2Wu+UWBsyJmeOuHZqUB2GgYjdf9Gosb5QZkDlJB3pYUhxGbKAq+LD1cENt9NYJ87t6bwhirCNCQLP69Q= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/GM8A9kiLcrCKYySajRO3pEQWg5CmJV0PJmVUtGtc3s=; b=m0/WXGV7+WeK7dFJRaRAB8RiT8iuPY2WAcn05vUzE7KGTlxtO1lHY0zvAFABq4Wrl8cnwZyEVsMVjqbXufWFMA61yzp2Wu+UWBsyJmeOuHZqUB2GgYjdf9Gosb5QZkDlJB3pYUhxGbKAq+LD1cENt9NYJ87t6bwhirCNCQLP69Q= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/tc358767.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 8029478ffebb..7846c1925cbb 100644 --- a/drivers/gpu/drm/bridge/tc358767.c +++ b/drivers/gpu/drm/bridge/tc358767.c @@ -1671,8 +1671,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) if (ret) return ret; - tc->bridge.funcs = &tc_bridge_funcs; - tc->bridge.of_node = dev->of_node; + drm_bridge_init(&tc->bridge, dev, &tc_bridge_funcs, NULL, NULL); drm_bridge_add(&tc->bridge); i2c_set_clientdata(client, tc); From patchwork Tue Nov 26 13:16:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262335 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8B246109A for ; Tue, 26 Nov 2019 13:17:18 +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 735C02080F for ; Tue, 26 Nov 2019 13:17:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 735C02080F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 699166E3B5; Tue, 26 Nov 2019 13:17:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60077.outbound.protection.outlook.com [40.107.6.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 773E36E354 for ; Tue, 26 Nov 2019 13:16:40 +0000 (UTC) Received: from VI1PR08CA0190.eurprd08.prod.outlook.com (2603:10a6:800:d2::20) by VI1PR08MB4351.eurprd08.prod.outlook.com (2603:10a6:803:fd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Tue, 26 Nov 2019 13:16:37 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VI1PR08CA0190.outlook.office365.com (2603:10a6:800:d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:37 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:37 +0000 Received: ("Tessian outbound af6b7800e6cb:v33"); Tue, 26 Nov 2019 13:16:25 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 551831df112d173d X-CR-MTA-TID: 64aa7808 Received: from ec33c90fb7d1.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.4.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1FE755C1-A806-469A-BCC2-2777D3014020.1; Tue, 26 Nov 2019 13:16:19 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02lp2059.outbound.protection.outlook.com [104.47.4.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ec33c90fb7d1.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ipXIWdqkCZxeGhW2gwPAdVOugY7ee2RFtW0zpVTDTE3ElX0VAyIaYgnsXZz/ziU7vB9MfUv4IH9T1Us/W9zlEKpaZ3HWuarFeU8w0y8qzqvexzm3vtS/kY8RFAgv+oPuRVJTlpO3yvfNOREIY/fNGmSqa4lBQ7gGeuetidLpvyCxLyItPPuoprJoWYywZ6IBdvqSvjAt86MKY2OfDaZb6mapsnuqTXqw5AxoXhjH2te4cveCixIxtug8BqY2h9PCvRw4/U3KuKvVdNofmEIxoFDTfqnnwc2OXI2ZN/w65vFKkh4EqKKyj2JI8923cgWs4kTiAWkTlLuepT6aHEtfEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WwWUgh4a/99W8HIctunJRzMXApJ6JnBQ7MIy/xuhdE8=; b=UpWvjvAzQNipac5z0VL//JK5qXm17xooJrHkEWbPe1DJhFTvtSKUAEIb7QToj2HuIVpvNT0LK9b2v1vtAsRlMasE8drpL2RKwT5Pc60Y7H9o8Sr4UDOzx9EzCnb6fnXW74K9PZ/LgmKjNodKE80uGYYh3HX5pU+eO/zUYtoOPhoAOP2DqA+UwpaTf6gxtDuU6rWk6n94kHj4aD97Vjzj5b4v/AO7qui9l9Ff7Fj6Kq+KlXK5uqAdscuC7yIKQIQowvUMPbm1T7c5CJ3bLowk0YvzsOxCZDCY8NiQdDo5i6kpLd1NcM8oe1XhEWK48T7gp+Ija02Z5ukUmWeDzwmabw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4560.eurprd08.prod.outlook.com (20.179.24.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:18 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:17 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 19/30] drm/bridge: thc63: Use drm_bridge_init() Thread-Topic: [PATCH 19/30] drm/bridge: thc63: Use drm_bridge_init() Thread-Index: AQHVpFuv1f0rKFruYE6C6McKrV2JsQ== Date: Tue, 26 Nov 2019 13:16:17 +0000 Message-ID: <20191126131541.47393-20-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 599426f7-83c3-436a-c3fc-08d77272de51 X-MS-TrafficTypeDiagnostic: VI1PR08MB4560:|VI1PR08MB4560:|VI1PR08MB4351: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(189003)(199004)(71190400001)(478600001)(1076003)(66476007)(186003)(26005)(5640700003)(52116002)(64756008)(256004)(8676002)(2351001)(66946007)(54906003)(81156014)(44832011)(3846002)(4744005)(6116002)(6436002)(2616005)(66556008)(71200400001)(2906002)(11346002)(66446008)(99286004)(14454004)(81166006)(6916009)(5660300002)(25786009)(2501003)(8936002)(102836004)(66066001)(36756003)(6486002)(6512007)(386003)(4326008)(50226002)(76176011)(316002)(86362001)(7736002)(446003)(6506007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4560; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: +wEj2TXnLyjilv0qLzlz0ARpoMHoqNgcARY+GDh2B/SJSuAa7FJmRi16O2nxycLU6XrN+vtFmu5TJNNwMa848vqSzn3hpDuJB/HLqvdbTwQhJSk06sxwmdX4aVdQWLDL2gFU+u2pEM4DECv56+B5N8TBBd0RvRL9KdF63ZsDLrvDAdYkbmTcW9kG+lTYvFH8fJJ5ljj9Oir3nFrgsffehDQDf4F/sUHEJtzyK/8rPdC8nMZu12G6wdYvojYTKQbQyje0LbMEZlK6Mrig8/r7YEtFZcrA6pNxM5tagf5j8AmicXpqx2jftlH+sSoXieLMEKVYz4XnpGbpXik4rNT5Iq8TMmeFmBBBoYjsJm008qYtizCXqIkoEwKBQRh7lRKkBHV0SjXuoGNRYtj9BBeUkjMs3V1hEGQc+UqCq/259n14ajvsY/DDpoYqw3nvPITY MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4560 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(39860400002)(346002)(376002)(189003)(199004)(36756003)(356004)(1076003)(2906002)(8676002)(107886003)(478600001)(3846002)(50226002)(14454004)(6116002)(6506007)(386003)(76176011)(102836004)(5660300002)(86362001)(54906003)(2351001)(36906005)(26826003)(4744005)(8936002)(8746002)(316002)(81156014)(81166006)(76130400001)(4326008)(70206006)(70586007)(50466002)(99286004)(5640700003)(6916009)(23756003)(106002)(47776003)(66066001)(6512007)(305945005)(7736002)(2616005)(2501003)(446003)(25786009)(26005)(186003)(336012)(11346002)(6486002)(22756006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4351; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 401d8086-1aeb-4fcf-a152-08d77272d243 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Te0WmfZd/1Dh6vP0usrZWUFhdJXfX/YNxKesftZXlymVohDhlNzAZvVg++S9+H7KXxvO2xTeW3l7EFCwehpeyI0vT073WCJtWgb4t2Su1IzIrc+x+UkT4vwO88lYKF+RBK6yMvOqTzwR41Vt/YmavEkakjD18ttHA+K0CjslNQojGvnLztxrEFSTaPatgnIUnWO6nLtEK/Shu5VeY68Zmj2eP9Uuk6TRVLZbz5OicUx3lsDx+Z58gUJkahFQyP0RsUQKk2P27TMGJf3PztoEtcKRyagA6XYKRBh58TUM/0xCnaLwApWLgxN1VoF62u7k8PL6/Av4Ko0FPJBTbKzVUKrLgi03SLybzAZoOaXcwh2lTCTF3NwOsJ1tvmpfA4iSMQPH/w0QJif+/GYUjI2GwoyjpZmYkztHIKIFZfJ3BISCKQrNBJ0cbybQBybJPZQy X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:37.7322 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 599426f7-83c3-436a-c3fc-08d77272de51 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4351 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WwWUgh4a/99W8HIctunJRzMXApJ6JnBQ7MIy/xuhdE8=; b=REVwHFK4ix5yiIsKLIEF9PPRWmXhU66yy4T+YHyckbNsLAWgMOefFVtv8MGgn6IpgJkqocbZ8dXr/DRSlWBlCMqN90XkSS6+WTUCWYLnbWo0HR8gjXkK8N122ZpRnAf8El/wYn/RAKlQ/lY/jtMP4uFViDcUeSvWyIp1c6nbYwE= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WwWUgh4a/99W8HIctunJRzMXApJ6JnBQ7MIy/xuhdE8=; b=REVwHFK4ix5yiIsKLIEF9PPRWmXhU66yy4T+YHyckbNsLAWgMOefFVtv8MGgn6IpgJkqocbZ8dXr/DRSlWBlCMqN90XkSS6+WTUCWYLnbWo0HR8gjXkK8N122ZpRnAf8El/wYn/RAKlQ/lY/jtMP4uFViDcUeSvWyIp1c6nbYwE= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/thc63lvd1024.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/thc63lvd1024.c b/drivers/gpu/drm/bridge/thc63lvd1024.c index 3d74129b2995..abe806db5f4d 100644 --- a/drivers/gpu/drm/bridge/thc63lvd1024.c +++ b/drivers/gpu/drm/bridge/thc63lvd1024.c @@ -218,11 +218,8 @@ static int thc63_probe(struct platform_device *pdev) if (ret) return ret; - thc63->bridge.driver_private = thc63; - thc63->bridge.of_node = pdev->dev.of_node; - thc63->bridge.funcs = &thc63_bridge_func; - thc63->bridge.timings = &thc63->timings; - + drm_bridge_init(&thc63->bridge, &pdev->dev, &thc63_bridge_func, + &thc63->timings, thc63); drm_bridge_add(&thc63->bridge); return 0; From patchwork Tue Nov 26 13:16:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262317 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 63E88109A for ; Tue, 26 Nov 2019 13:17:02 +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 481182073F for ; Tue, 26 Nov 2019 13:17:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 481182073F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 D5C5F6E388; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140077.outbound.protection.outlook.com [40.107.14.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9ABF66E354 for ; Tue, 26 Nov 2019 13:16:29 +0000 (UTC) Received: from VI1PR08CA0190.eurprd08.prod.outlook.com (2603:10a6:800:d2::20) by AM5PR0801MB1748.eurprd08.prod.outlook.com (2603:10a6:203:3c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:26 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VI1PR08CA0190.outlook.office365.com (2603:10a6:800:d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:26 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:25 +0000 Received: ("Tessian outbound a8f166c1f585:v33"); Tue, 26 Nov 2019 13:16:25 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 09f6c8284b7389b6 X-CR-MTA-TID: 64aa7808 Received: from ec33c90fb7d1.3 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.4.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 54F74583-3922-40B4-8F12-49906CFECFC1.1; Tue, 26 Nov 2019 13:16:20 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02lp2059.outbound.protection.outlook.com [104.47.4.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ec33c90fb7d1.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E0wuxNqpVlKCPA8sd2NmSu3RQxDlolp+dItjuAwYOfgvBAq5MxWO5FiWplCmpZwWvA1jF7/SgetMec6XgwzBeVvEYWDA6eDijdDzq4rGLKcDM8y/9DG/IGN5S8lUhxI6TgCHaNE3qF/03BGNRyygQdIqokeAnsvD3s5N7dE6Qu3SLbqZz+aGITJ3OkUkLOndABqzUfy28Y1JMMk3ZKowv8/nVfIvErFZl02JmS9LObqPMNfSZ1Uh8+Sl82LM3aw45S5GlHJIqjqre9++YUHLR5v8u0fExYkFByN1z+DTSQe2I43aGFEZfN9J9+tAOXGJSaq61iJYwMPAA9CqvRf5Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opfrCUQhstTmEWhDCMZ446EAzDQXpi+cbl+vvgZtrP0=; b=goRF+BtwqgHdqLFEx+wbQN2joBK7S0yUb3O9GSTyLmfp5EEQ5sTUflWqLeWKMv3Cniy/i1mihVhD8dsoA9Avwpu0k/4/m+WvmsAiCe+kDhKcE8IQiVmAoox2py3sbHjThHY5O0QlUYezZ5HKPM9wLGNvrxDbmazPRTSLp63iBCWxKDg3MILZMrj/bElkB9Q5peOwg7r06445cvbfZvYbV0hR5hQXIx39RPw3QldkzKDGpQ9H8QJgleDmR8jKR63ilj3aVtiMb9ysTNvWSK2hEwCHlSPMe7+5gZtAFr8ZqG5lFBnEZZOO8qXLqNBEiCua7DdTbNi3UQgLhLgEeSUnqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4560.eurprd08.prod.outlook.com (20.179.24.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:18 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:18 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 20/30] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Topic: [PATCH 20/30] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Index: AQHVpFuwhBOC0MAP/0eKQkaJ/SChuA== Date: Tue, 26 Nov 2019 13:16:18 +0000 Message-ID: <20191126131541.47393-21-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 41852630-59be-45da-ccae-08d77272d741 X-MS-TrafficTypeDiagnostic: VI1PR08MB4560:|VI1PR08MB4560:|AM5PR0801MB1748: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(189003)(199004)(71190400001)(478600001)(1076003)(66476007)(186003)(26005)(5640700003)(52116002)(64756008)(256004)(8676002)(2351001)(66946007)(54906003)(81156014)(44832011)(3846002)(4744005)(6116002)(6436002)(2616005)(66556008)(71200400001)(2906002)(11346002)(66446008)(99286004)(14454004)(81166006)(6916009)(5660300002)(25786009)(2501003)(8936002)(102836004)(66066001)(36756003)(6486002)(6512007)(386003)(4326008)(50226002)(76176011)(316002)(86362001)(7736002)(446003)(6506007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4560; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Tx2pvzJtc9BABuIhv7DeCv5wFwyraG+bXovA5x6NNvBd18zwSPL4q+eM0/wFnzBfkoKc1FfyZ81LKfrfEgi2OKkR2WbOvDY7M7Uz5chcgUYPIbBuv9uge1PKH2DdGLGhuZEz2DBANNzYFDlC6tv9lC8bTacUvqFHUq1sHeajE+yuUhX1T96akTm9+cNyt912NW9wnYsNN96IjsLGLkoL5S4Z9VjX4okpenOJc1/wLYL4PGzqa3/AZmh8H21TsbYAIuM65r0vQGeERK4KJgPurvE6zs+jbF4X/elCnz0zhYim62p91sQbcnzc4z7+q50X+f+r7gRUkrpMgjXDiFKKRQiFYkiioBlE2PS6561lP5HABGK7A4rkpCGmfDAOnpTPtHk3JIXJ/w4lAhfPVcybPTkX0Ttdblw0wF2tO+eFWX4scYpZSrtjMnuCLm6ih+37 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4560 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39860400002)(396003)(136003)(189003)(199004)(47776003)(14454004)(2501003)(76130400001)(305945005)(22756006)(66066001)(356004)(70206006)(70586007)(107886003)(81156014)(81166006)(6512007)(8676002)(7736002)(26005)(336012)(186003)(1076003)(446003)(2616005)(8936002)(6486002)(11346002)(25786009)(5640700003)(4744005)(5660300002)(8746002)(6916009)(86362001)(50226002)(76176011)(102836004)(2351001)(106002)(4326008)(3846002)(6116002)(478600001)(26826003)(50466002)(23756003)(36906005)(54906003)(2906002)(6506007)(316002)(386003)(36756003)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0801MB1748; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 9863b37d-7eb5-4087-8610-08d77272d2d2 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6TnaY+Bvlm54ICypSY5+uxDF41r8WSYb0cywBuZOm+3Jx490zf/yx+ZOIM0CA2rkgOboBKTiM15EddrOP8/upCGlheUXkLPVRLQWvFR/XxqrlrWKql6rTrWvshM7IOMIoQtAbL4nI+piZT9EyWKR92nCBMKQ3Ex/MZwvKeVflwnGVvazTV14D4bc4AHNUS/1Au0Mb2TufnPBYmtI0ZOsChESGRVuLZVj1fUg+tmai19RutEVaDjvem2zMj8L7mLqMB3E4dBBx8mBU+nUVj4ZRntDSQA7vObCJ3qByIXpIzF963abXPtOk0jPS8m/k+AmBRLxiy8HXn3cNkTnZ/pjWm3VQH4oy0k7jJ3GuWoA1+Ik2RmKUb2ikZb75gvEeu+QyUDnPlUCsnxmMAZjrolWbNphw8XzP9J2WSq5dt+Ik7iis7wA63Pqwh/UkjojpMmE X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:25.8875 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41852630-59be-45da-ccae-08d77272d741 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1748 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opfrCUQhstTmEWhDCMZ446EAzDQXpi+cbl+vvgZtrP0=; b=CgQBF/V96Kbi+jvdMvPI4lD75fV7KpZJERLH+y0QpNMxzbExmYmBXiqKvWIaHQaV5wEB3JKDJXf/igfAG4kiTJJ0fRLi75+qDJ+WNqib8jnLVgNNOcCCMSSsa2ti1vL7LlE852PPo01P5ijyzpXA8V2sbaVljdHNvyVlp298Now= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=opfrCUQhstTmEWhDCMZ446EAzDQXpi+cbl+vvgZtrP0=; b=CgQBF/V96Kbi+jvdMvPI4lD75fV7KpZJERLH+y0QpNMxzbExmYmBXiqKvWIaHQaV5wEB3JKDJXf/igfAG4kiTJJ0fRLi75+qDJ+WNqib8jnLVgNNOcCCMSSsa2ti1vL7LlE852PPo01P5ijyzpXA8V2sbaVljdHNvyVlp298Now= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c index 43abf01ebd4c..4e236b46f913 100644 --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c @@ -765,9 +765,8 @@ static int ti_sn_bridge_probe(struct i2c_client *client, pdata->aux.transfer = ti_sn_aux_transfer; drm_dp_aux_register(&pdata->aux); - pdata->bridge.funcs = &ti_sn_bridge_funcs; - pdata->bridge.of_node = client->dev.of_node; - + drm_bridge_init(&pdata->bridge, &client->dev, &ti_sn_bridge_funcs, + NULL, NULL); drm_bridge_add(&pdata->bridge); ti_sn_debugfs_init(pdata); From patchwork Tue Nov 26 13:16:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262313 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 579E313A4 for ; Tue, 26 Nov 2019 13:16:58 +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 3B954207DD for ; Tue, 26 Nov 2019 13:16:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B954207DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 945AD6E358; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00075.outbound.protection.outlook.com [40.107.0.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 940DE6E353 for ; Tue, 26 Nov 2019 13:16:29 +0000 (UTC) Received: from VI1PR08CA0168.eurprd08.prod.outlook.com (2603:10a6:800:d1::22) by DB6PR0802MB2423.eurprd08.prod.outlook.com (2603:10a6:4:99::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.22; Tue, 26 Nov 2019 13:16:27 +0000 Received: from VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::202) by VI1PR08CA0168.outlook.office365.com (2603:10a6:800:d1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:27 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT031.mail.protection.outlook.com (10.152.18.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:26 +0000 Received: ("Tessian outbound 37db47aaea47:v33"); Tue, 26 Nov 2019 13:16:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e6da36db19957cc3 X-CR-MTA-TID: 64aa7808 Received: from c5906a3ff2ed.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 02DED840-D516-4059-A031-C07723D36163.1; Tue, 26 Nov 2019 13:16:21 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2052.outbound.protection.outlook.com [104.47.14.52]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c5906a3ff2ed.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EK5EOG0pXrOMdH44icjcy96SrlhhNeDB5sxHSqnhQvtldaw4hAZkrn3dofB7QA2ZdaeFnoi+GqtMU0ZoUBUGwS7BRlpZjmZh16JWv92FL5jrWV7+U8vbcAnm7Vj3TcxbEvlqTn/86VTXGC1GFVmk7bMjtycOFwW9E6hgc1r6Fsur7Ol/ReUALU2GVODipjpRwU+cpZWdsydd0m45VSMbKnkajO1jll6S+d3Ylx3TsCP8HQDJ4nxkO33d896fQaGJcotaA3+uSQ6Gsal8K+s/RJOMc5WL/Cxcaggi3xyfnVTLqa2L2LreilcO08XpVwA8wYrWZekFNmQw0CDeU/52Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Av9EoDIvHqCagseLb7iy4+qbCZH7UsR3146DKkdXRfQ=; b=I25MAtieLPrp6wSy9Jlmu9aPZg/I7A9FBLjEzoFoN0TOfq1xjhP1GOBC7+cYMj1FLNmZ2oCyxOtHb1EOOWumfN+LtZzdJr+uLb+ogM3yLsqKyNjAVwc+8Ojh2sYoXULbgDi3qXUv7YuHQdr0vAaLpN7u14ETBLZTBzja5O3e+bdQwG25zZWBMcDkiQ+qqiGgVnOSb1KClTV4CDjrin37yqWn3S3u1X7Y6Ga5bgPWzHL+Vr8gTThSBItBS2Hxyq6wt6ADoI0bi+vjogn9Quov7xwURxYq7Htj16v/o/joYsopY0SE85YelTbqAIotOnav45Svx4SL1QgD6bJEiARE/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:19 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:19 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 21/30] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Topic: [PATCH 21/30] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Index: AQHVpFuxc2cQozE9BUes8TaR0hE2Hw== Date: Tue, 26 Nov 2019 13:16:19 +0000 Message-ID: <20191126131541.47393-22-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 111b1aff-f966-4997-1fd4-08d77272d7ac X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DB6PR0802MB2423: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ndO50CM+l0GKhxxnyxeuSVrebYpXs7pRiFDM2XisV1lGK7tpLoiL4bxxZVixbGic7EQ5tdQ/vGPWEluQYp5c9WAj7/8N3MfOU7L9+yrqQ5zUUH7p2PQcJ1GpVHdECyrkan9g+INvH4qLankKbF5a3x5udUdd9t1b2Mfds3kkqTtC9Mx3Igz2xEytMYZnHphELyVpPOVnHfU/VX4NKPg9hx2BbMxuurn+wTcOanYOjpsvcKEW2bmHSKBwb9mmMf7WGYk5462o85H5fsnCOdXvzlgDTnJVxxeab7K1Hj+fKYFuANN+TsKWO3uZCFQrMyVKeOFVoeH0f8xUhCio1CGI0UL8wy7741ub+G8Be8yNXBpEeouHsLzl/hh6yzzg4jd5MTDJnAiCCMXX8n+nZDTyx3s0/gpNDS2AlZTIfU4vbPr3WR5S5L6jbTiTNNBArQcA MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT031.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(346002)(136003)(396003)(189003)(199004)(2906002)(6116002)(3846002)(47776003)(86362001)(107886003)(66066001)(356004)(2501003)(14454004)(6916009)(2616005)(336012)(446003)(1076003)(11346002)(36756003)(6512007)(26005)(8746002)(8936002)(316002)(106002)(478600001)(2351001)(54906003)(102836004)(186003)(50226002)(386003)(26826003)(305945005)(6506007)(6486002)(4744005)(99286004)(76176011)(7736002)(50466002)(70206006)(22756006)(76130400001)(81156014)(5660300002)(4326008)(8676002)(70586007)(81166006)(5640700003)(23756003)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0802MB2423; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 388bcad2-3892-475c-c12b-08d77272d366 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NUV/XhA9kKmGpv5GpdzQRo4J1J/g5G7ne4ETgsOgQm/NpoUm9Tvu862Bn9/DZyEHHXvsWzAfmaJP72KMgrPTLvqoxMO/UAhlsIh/VEFtRMoTAWlVFXzzPEZg8OBpKbVrv/1heZTndAy0kJxCwI0Pa+jLDUwt9eaNxMJKQc+qfmKX4VZLV2gU+eWPar2TqiO7LdeD1XLfNyxUiBE4ktLlymvd6IuqAZsCf44xUPwPlQT/RRkmDdDsYNS9F68dmXMR8HSDT1m3cNkZ6WagHIMEV36C0a0Eeof0GNT/k7vDIuGr6teDSR+Pq5xi3UeEyrGzQ9EgTVJlIW/frVMkOGuwXmaU4tFDi2DDciQ9kuSbeimJZ+i/GeRX18Dgfr9yNxUyGHhtDpaGz8w9bbswC6+xCjjaUow/zHi/BMH69clnn22/6s+F312yEqeNhE70IxLZ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:26.5143 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 111b1aff-f966-4997-1fd4-08d77272d7ac X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2423 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Av9EoDIvHqCagseLb7iy4+qbCZH7UsR3146DKkdXRfQ=; b=Zzhab33ACIG0b7lKAjD43tk6xVONdeMKIZUlh3BvSC63pSH5lGegjHFfvhN2GBSkXmueGAR3VuVXa78QJQ+neBIwJnlD5xtdEuFVbsl1oSGZB75OvZiMq5slqCqyL3QkEA8H4l5iMAsU0U/dIHGJXeBLtFuEmEkKC/ErCdpbQ/Q= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Av9EoDIvHqCagseLb7iy4+qbCZH7UsR3146DKkdXRfQ=; b=Zzhab33ACIG0b7lKAjD43tk6xVONdeMKIZUlh3BvSC63pSH5lGegjHFfvhN2GBSkXmueGAR3VuVXa78QJQ+neBIwJnlD5xtdEuFVbsl1oSGZB75OvZiMq5slqCqyL3QkEA8H4l5iMAsU0U/dIHGJXeBLtFuEmEkKC/ErCdpbQ/Q= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/ti-tfp410.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index aa3198dc9903..377eca989ff3 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -328,9 +328,8 @@ static int tfp410_init(struct device *dev, bool i2c) return -ENOMEM; dev_set_drvdata(dev, dvi); - dvi->bridge.funcs = &tfp410_bridge_funcs; - dvi->bridge.of_node = dev->of_node; - dvi->bridge.timings = &dvi->timings; + drm_bridge_init(&dvi->bridge, dev, &tfp410_bridge_funcs, &dvi->timings, + NULL); dvi->dev = dev; ret = tfp410_parse_timings(dvi, i2c); From patchwork Tue Nov 26 13:16:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262329 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2405A14E5 for ; Tue, 26 Nov 2019 13:17:14 +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 0B9BA207DD for ; Tue, 26 Nov 2019 13:17:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B9BA207DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 7EE786E3A4; Tue, 26 Nov 2019 13:17:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70047.outbound.protection.outlook.com [40.107.7.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2B576E353 for ; Tue, 26 Nov 2019 13:16:30 +0000 (UTC) Received: from AM4PR08CA0063.eurprd08.prod.outlook.com (2603:10a6:205:2::34) by AM0PR08MB3203.eurprd08.prod.outlook.com (2603:10a6:208:63::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:27 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by AM4PR08CA0063.outlook.office365.com (2603:10a6:205:2::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:27 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:27 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: afef6af7145bca95 X-CR-MTA-TID: 64aa7808 Received: from 7fdba39730e8.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id D475C91D-1BFE-4EBD-97EB-D2EEE8015BD0.1; Tue, 26 Nov 2019 13:16:22 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2056.outbound.protection.outlook.com [104.47.14.56]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7fdba39730e8.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iMjRqQsxnvFHyUIfYPvHCiMwBeOOPnCbsK7xuKP2dRmofwGIKG8Wc+mR1IHRuzvJcVGeDtBq/SwRqLMrF5shzJ+8YWOpiNyFnxndsZLGQGcvgkQrfI6f72eTrjLv+Ga08bQuO5pxzLD3lRVe5OiLgorgUnQxo+0rRa6nI2jQW8YcUV34SWL+rnplizTi183zA72dezLmah4Vm6HVwL3gMt9w0QZu/hFbPNxvQpUBrRTqKnohsNk+nZQ996Sz63a2gxAdOSGl/AHV9kI+CNihCLebx/BZHsO4T6pRG4gVA9jsEHGmxIlJ8W96dM4Qg2a3gha3UEE5N4pci49HLtu6qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FstHQUSWa3nWcMPJkk1fSwl0xp0aRPH3Sq6+Vw0/0xU=; b=CmYdyARFJG48Az7IPL3oEYk91giNNDkuB0+xbxQKlsilL4IKdD4YxoBGQ1SXxIpwfXvnPw91GmQnzWPOidHbaiDgJTIjhF4EXiVvCdKSQt9l0hH8/sfdU0qtAwyAbIVj3epZ7K3qZS21R536IWPZG+3YG2wfqvMgjw31dhuENbXS1FM16EcUZHq0OamZSSaFneakq4R4eLLdTZg3y5xrk5nOk2yOz+fjdXmbVSvo5InwN9HRiRYiRMnp/HoLqOq6GEK+labgjUKJvNyuR5kFYg9AD0dOpTet5ehFb39lyMOYp4qz5ZK5kz4DgBX7Zc2WtsH5oFk9wT21GnBDE+SZ/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:20 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:20 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 22/30] drm/exynos: mic: Use drm_bridge_init() Thread-Topic: [PATCH 22/30] drm/exynos: mic: Use drm_bridge_init() Thread-Index: AQHVpFuxnqAfcuRdS0imEaOYObrpxQ== Date: Tue, 26 Nov 2019 13:16:20 +0000 Message-ID: <20191126131541.47393-23-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1eba69f1-e5e2-49ed-554a-08d77272d85a X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB3203: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:2582;OLM:2582; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(7416002)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: LV0v24o+/W+UV97i/RxVlDyHyajK8JD8GdVMJo3TTiVnPUvIb+RB6Gx1qUwsuowhry+RlBTnSmNBV9XH9yE2VcLP3QB573KWHd1XDPMHsc4irb/EvAjdnHIQ83CprVdLgG68pUC1duYm36d1abp48PnVnoz5KfmfvOYcVMWGIcczzNHP8p71h+9r2g+m4dP/oohYrlXU2d2L3qVRHwX4RBIdiKPLb9iyIuw+Pq7+DIxqjQxvrIJdvLD8aQpyiZkTGrveXu/eD9XuDu1WSOlpLlhRgcFb3VGLd+NS5Dpc8FkUW6hR2BWA7cZECpNHkDcP7ugX3FRxnU2dD+Xuoc/lW4o2BMriQ++GUyQYWExYeIPpJLCRkWittDul8pb/WTylTyFlZnTJ+mOPX3wL3opcIXZeBMYVGPvEuMsGxYVv8rHS1zJMcjrUOuj8sIr/vzuz MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39860400002)(396003)(136003)(199004)(189003)(47776003)(50466002)(23756003)(3846002)(2906002)(6116002)(356004)(76176011)(81166006)(81156014)(26005)(8936002)(2616005)(11346002)(102836004)(446003)(22756006)(8746002)(6506007)(50226002)(86362001)(386003)(70206006)(2351001)(70586007)(336012)(5660300002)(14454004)(8676002)(316002)(36756003)(7736002)(305945005)(6916009)(26826003)(2501003)(186003)(5640700003)(478600001)(54906003)(66066001)(106002)(6486002)(6512007)(36906005)(25786009)(4326008)(99286004)(1076003)(107886003)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3203; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 63c1ecbc-9e8e-4606-70cd-08d77272d404 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YWJcWJodFQjdtpZu4tARqnOpwscW25TkIrl4qspZCV/HVr8zbgf3xwOBroVez2I9ffmVhBZBPK3ZGKkU7jajCG+XBU1Ci+MY1wVdV3q+umI+MttX5uxc5Tf2M3V5CsURxJg0uLBPjyENHjV4V5nb3U0NMsiGDeXfmviwed+sJ3QjbNmOpLqVQUDi0pCxZIk4C2ioInzFSLSd939mnot0a9wJTq9MwYMX1LIVuLFtSKtKvarJOq8fNXN+d1OaA/WZYCQtXh+V4tmYMEcUlGbPkATxBHR3ZrSyHhyZRe5eboeUFmUrQez5KMp9q8we0sI6vhN0IG3SVEYh7XhIj1+4nCD3DQBK6qt1NKPkXILIRkDS60CDgIIrOozMNEH5Y/Y3dbnz2lRgNYgPM+m0N5pDmt23zVMztLyV7gVVS8ectWqkb540r4N751GoqegU1Wem X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:27.7250 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1eba69f1-e5e2-49ed-554a-08d77272d85a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3203 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FstHQUSWa3nWcMPJkk1fSwl0xp0aRPH3Sq6+Vw0/0xU=; b=Wj+E4DSfljJKCk7qirbLs7ur8hKal/LE7BR6I5ABSviiblU3wVqFetV2INg2hRza2Xbcjqiq8dmT5hOlbuc40G/83ATBBfHZfEo+ZO4Il0uzxYGrAxZVH8u8CN4cNF59qr3uBnb8XFG5vRCGSzbDwwye2QQdwSDhhLaR7r0ZHYs= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FstHQUSWa3nWcMPJkk1fSwl0xp0aRPH3Sq6+Vw0/0xU=; b=Wj+E4DSfljJKCk7qirbLs7ur8hKal/LE7BR6I5ABSviiblU3wVqFetV2INg2hRza2Xbcjqiq8dmT5hOlbuc40G/83ATBBfHZfEo+ZO4Il0uzxYGrAxZVH8u8CN4cNF59qr3uBnb8XFG5vRCGSzbDwwye2QQdwSDhhLaR7r0ZHYs= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Seung-Woo Kim , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , "linux-samsung-soc@vger.kernel.org" , Kyungmin Park , Kukjin Kim , nd , "linux-arm-kernel@lists.infradead.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change: no logic depends on driver_private being NULL, so it's safe to set it earlier in exynos_mic_probe. Signed-off-by: Mihail Atanassov Acked-by: Inki Dae Tested-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index f41d75923557..caad348a5646 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -309,10 +309,6 @@ static const struct drm_bridge_funcs mic_bridge_funcs = { static int exynos_mic_bind(struct device *dev, struct device *master, void *data) { - struct exynos_mic *mic = dev_get_drvdata(dev); - - mic->bridge.driver_private = mic; - return 0; } @@ -422,9 +418,7 @@ static int exynos_mic_probe(struct platform_device *pdev) platform_set_drvdata(pdev, mic); - mic->bridge.funcs = &mic_bridge_funcs; - mic->bridge.of_node = dev->of_node; - + drm_bridge_init(&mic->bridge, dev, &mic_bridge_funcs, NULL, mic); drm_bridge_add(&mic->bridge); pm_runtime_enable(dev); From patchwork Tue Nov 26 13:16:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262333 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95E6F109A for ; Tue, 26 Nov 2019 13:17:16 +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 7DF2D207DD for ; Tue, 26 Nov 2019 13:17:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7DF2D207DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 3F3706E3B2; Tue, 26 Nov 2019 13:17:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0625.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::625]) by gabe.freedesktop.org (Postfix) with ESMTPS id 87D676E358 for ; Tue, 26 Nov 2019 13:16:32 +0000 (UTC) Received: from AM4PR08CA0049.eurprd08.prod.outlook.com (2603:10a6:205:2::20) by AM6PR08MB3237.eurprd08.prod.outlook.com (2603:10a6:209:4c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:29 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by AM4PR08CA0049.outlook.office365.com (2603:10a6:205:2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:29 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:29 +0000 Received: ("Tessian outbound 712c40e503a7:v33"); Tue, 26 Nov 2019 13:16:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e28e9e5fee13d3ba X-CR-MTA-TID: 64aa7808 Received: from 223e0bbf9727.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 636165A2-C54B-402C-8EC5-9B0BB4C9163C.1; Tue, 26 Nov 2019 13:16:23 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2059.outbound.protection.outlook.com [104.47.14.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 223e0bbf9727.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDQe9v0/w2uX3ZHhUu+UICIcaDS0/jntibpXvW9lY5/YlPX2XyMWVa3q0IHK5P+zD/lczMbgDqNOYi29n4tHdiUpe5RR1b9aUE+TZlwgjZDpLxVchkUVspbslqUqdhlkgSgwRxDLxcOs4GmfUf3yWtFz5IEMemlmTZSx3bi2JBvMrh+V3u6O+hNvvCZgqieVjD3cnqGoKQTcEO4rrw4YVGetxqFcIG83pRbkt+kv8Gdot29gPfmioMRqu4XAgFeGNW8YCcDjTlLrO0tm2hQmgu9tPc6BKgyta3ZxergGDmHtleOjaD4MZ2a/fFYUOtXilGXAjc+gma3KGN2HlEaQ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1DpZqtyyKVj6Kcjcgie43kZcxVAkBsJ624+DdPaI1+U=; b=Hbyq1QI2XeKHujzGC9KWc8zKbnIGsunVQfzRF+mTgpn4AJhC2iy5m6xtuOraxT0WAuq9cXDrr/h8wD9WB/aAiBwOlEQqmYM211W9i9HIiKNTnoh7pSLLtBd2h9CJ6O5xYPFl9OGGTJo+m79AVhic1Kez5trrd4gIcQxkAZCx21h+bX4aGKCc0MxZQLSVxMtlsVlqDFR9JQBJpWOWMrhgJbVq75IhCBSZ2R7SRU8+22PshDlC+QyZatGKFHLlhUD1s2rJtlzFFDMG0XjtyMNnVy7aakMX33Z0Y2EiKHHdMrthK4dHIJ+AXmy7WAlQAjSSdntNZ08q92amelvLK4pOpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:21 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:21 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 23/30] drm/i2c: tda998x: Use drm_bridge_init() Thread-Topic: [PATCH 23/30] drm/i2c: tda998x: Use drm_bridge_init() Thread-Index: AQHVpFuytOzD+HDrhUWMxCyybPn/Ag== Date: Tue, 26 Nov 2019 13:16:21 +0000 Message-ID: <20191126131541.47393-24-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: cc70e8d5-afd2-4088-c041-08d77272d95b X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM6PR08MB3237: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:176;OLM:176; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: itY43bm3CXp2OL9QAjnj7+0ohgrj6ZStZVkPUfL3ITn+0ylAQj3POqvzIyV05/SujjeZhfSTrIr5WnEnRKd6TM2t3fUeJkePhQiLSqHQTOaHwQX45GEISLraWtzpg27UHnDV7zsNFqtmuYB+7weHr5p0Ar9VYggxnjdf3CFey/bhF0u3OSAscmnZcb7sNQOZTTpSAbRG3G8oBoLGe5HDik8mgdun5GY3kWSja1pQxujQ7wP6xMXUtr+357+sBy1mCx9kbN4c44JJ+Wzo4Z6woaEAqrVA31K3UWmTaF2OZPI4035djolbfT0JaXi514vmJkkYHoamTX1xDto11nOyoGtqAVOBvovmocbmKWXBnK2S3cPCT+whxuJhgbzXqxSCyqVqm1jFntQhvrvjY3z+i03gc1KOEr/tc9AMwFQCyOVb5bP7iQvmkdK1hYyiEZ+1 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(396003)(189003)(199004)(26826003)(76176011)(2616005)(8936002)(106002)(316002)(14454004)(446003)(11346002)(6916009)(478600001)(102836004)(70206006)(4744005)(86362001)(305945005)(6512007)(22756006)(50466002)(1076003)(7736002)(4326008)(36756003)(70586007)(50226002)(5640700003)(76130400001)(8746002)(2351001)(99286004)(386003)(6506007)(2906002)(23756003)(356004)(2501003)(25786009)(54906003)(8676002)(5660300002)(26005)(6486002)(47776003)(3846002)(6116002)(186003)(81166006)(81156014)(336012)(36906005)(66066001)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3237; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 8c16d75b-a447-43af-b585-08d77272d48b NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7q6ZPVbsYyZkbcJieEVz3QFR8l0pL6hCc8Ozk1rKDAjOYavxdDDFow4uTa/TvSWQXl2v9o4v59Iz9RUmYnxOh2ZHEJF7O/gdvSXAlM40qjp/5mHbtzZ4qKnHe/wE1DYvCx3U5dcDT50k24Nh53pZnXhYe66ZHofk1BF1dfI53D9m2kEiFeicSVdQMVO8IdbeLw+n9eAqH2blljNCgOjFAMF6DkUM4INa0hgjTbsJDhaOky/4doUGaAOEHCc16LoyCcdQ76YJ+9VM0zZxTntNW5jEimitHz9UzjSwvxYvhMfxCQgFIZ5zmv+ApViTdS+MeNdeilQOMh1mdxPs+iqtseCqG6gDPD3yp8oqzYooDpGD0egNSn7zjhRUDIJGi7mLqoGJalTowLbr8sPlz3Wui4ngRy1Sch3yPnpMQvqVd0LErMHXuv9WhD4tIFT5hLSO X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:29.3940 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc70e8d5-afd2-4088-c041-08d77272d95b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3237 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1DpZqtyyKVj6Kcjcgie43kZcxVAkBsJ624+DdPaI1+U=; b=Uf+LCmypiVOATtAtYZBxWOwk5Q5N8mEWy83Pc22UotkN9beM3Ri7Wq+5G8GQ3u9cWq28QwLhpLm61IrHYzIhPVQmXjXDaABBdVPowzjCMASzmSX2vyag2/UFSSkTn7oVyYmnnggu5e1ZuzTXxAOBTfjoH9LpZELbD4CIQViq7AA= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1DpZqtyyKVj6Kcjcgie43kZcxVAkBsJ624+DdPaI1+U=; b=Uf+LCmypiVOATtAtYZBxWOwk5Q5N8mEWy83Pc22UotkN9beM3Ri7Wq+5G8GQ3u9cWq28QwLhpLm61IrHYzIhPVQmXjXDaABBdVPowzjCMASzmSX2vyag2/UFSSkTn7oVyYmnnggu5e1ZuzTXxAOBTfjoH9LpZELbD4CIQViq7AA= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Russell King , "linux-kernel@vger.kernel.org" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/i2c/tda998x_drv.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index a63790d32d75..f7dfa694aff7 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -1974,11 +1974,7 @@ static int tda998x_create(struct device *dev) goto fail; } - priv->bridge.funcs = &tda998x_bridge_funcs; -#ifdef CONFIG_OF - priv->bridge.of_node = dev->of_node; -#endif - + drm_bridge_init(&priv->bridge, dev, &tda998x_bridge_funcs, NULL, NULL); drm_bridge_add(&priv->bridge); return 0; From patchwork Tue Nov 26 13:16:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262319 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5009813A4 for ; Tue, 26 Nov 2019 13:17:04 +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 3385220727 for ; Tue, 26 Nov 2019 13:17:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3385220727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 0CABD6E397; Tue, 26 Nov 2019 13:16:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00059.outbound.protection.outlook.com [40.107.0.59]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6DE5C6E354 for ; Tue, 26 Nov 2019 13:16:32 +0000 (UTC) Received: from VI1PR08CA0139.eurprd08.prod.outlook.com (2603:10a6:800:d5::17) by VI1PR08MB2957.eurprd08.prod.outlook.com (2603:10a6:803:43::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Tue, 26 Nov 2019 13:16:29 +0000 Received: from VE1EUR03FT008.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by VI1PR08CA0139.outlook.office365.com (2603:10a6:800:d5::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16 via Frontend Transport; Tue, 26 Nov 2019 13:16:29 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT008.mail.protection.outlook.com (10.152.18.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:28 +0000 Received: ("Tessian outbound dbe0f0961e8c:v33"); Tue, 26 Nov 2019 13:16:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5abc290fc018b9a6 X-CR-MTA-TID: 64aa7808 Received: from 223e0bbf9727.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3AD3AEE3-B596-499B-8A3B-8DE6CDD0521F.1; Tue, 26 Nov 2019 13:16:23 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2059.outbound.protection.outlook.com [104.47.14.59]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 223e0bbf9727.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QHmC/3xlBs4H+U9yFJbr7VqEuT21DjEjyLGsx6ImCUgXCe84xvzq6M5MMgp3rbJ0jA5jKkaIoiUhPDUYVlFAf/8qLOfUAybUvx09zk/sQwhCbp4EU5Qq+6MmaGEcmFDmxwkaz7yX9wt1FUsFdaBtEBYSMq3SuDzU+za6ibMuhDXmrYFELZVDLHYiG6DS4cokTTq8J7OG16m8QVB5veB3THy249Qcqj/Xac7PnwW20LmMHqY8zIB6IFw+x8u9BxlvxPzAWooR6YzTuuuz2arWm9j2/BJhrszzrhbb0krBsjZ+8Gv1BE2IpUplNEl7V1D1wJQ1JY4Ke9bo6183hkKXtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0zMoKcmV7qGGAHECqCXtHZ6E+T/kRsQLeMnNAZQSxW0=; b=AuXKNJ2G9NiNuRR+bgVibmZAgVJ0xhLQS7MJEWLxqXv//kgHFeDh2uKtFHnrVvHh+5fgAamQ6X8JXL5gZsMOP68ZxhVHiFg3CIJSokEwmr7oZ75tSDu7F+bsHZnr3cr819TgoUDymghMWVFSOgrsxwVhQgFs2yaMQhIhptvDhXdsNcbq04puf3niZgC3E7YyOvPe3NiegqFKafENfwYIIZ8KcplV8Q0UMQh7cNDDtaCrB3zFpYc5M+u/GRsE4au9ryGGm3+oUCptT5PmumFFNeEwW8WOEtX8W3iM2ydiEc+CKL7Uxsv1sQ6npOPen7XS3hnIZeL6/eyJg6mjVTVbwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:22 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:22 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 24/30] drm/mcde: dsi: Use drm_bridge_init() Thread-Topic: [PATCH 24/30] drm/mcde: dsi: Use drm_bridge_init() Thread-Index: AQHVpFuyLEx86o52+U6S5iv7phXr1Q== Date: Tue, 26 Nov 2019 13:16:22 +0000 Message-ID: <20191126131541.47393-25-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 99754c23-1359-4697-e589-08d77272d922 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|VI1PR08MB2957: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1360;OLM:1360; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Mwb09yBnAQ1AKYBxzs6/EOlsSXTOLo1iyGcv4NRBAhwli7ARpLaN9YIjWHVDd720KtqijgqB2KqC/q1PPfBLR1HoRq3vwVqpRaIP9fpo+6ZXAEQ7gNacLYRHbTrHsH4kt/nnPsozPdvPThwCqopxGgTLYPXEgIt7j3LezxIGMjUJLNdVFHUqThejJTetdrG/ifsKX8tkRYD0AphuMbv6cWB1NJ4/ySNtVgywGyKmJ1RNBq+6tg+uaPz6PpGFnNu3wbuC2s6ev6LG4t2k+nB68ka/fJekcwsL4iT/qNZyTIqsfDD2Q++rqqjacMvIq0gYAAcdOyb6cy70W24g3pfpuKox4xlFsqA2IJbrUU76Fvjkj1zUJDiU4GiMxJpReDFFywYmeGIu65/Z/oBYrnfzoniwl7LzuBrdYZ93MCwHI/0S3NFQGmQLBgSJL0FbPYG/ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT008.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(376002)(136003)(346002)(199004)(189003)(3846002)(50466002)(14454004)(8676002)(6116002)(66066001)(8746002)(81166006)(81156014)(8936002)(50226002)(36756003)(54906003)(5660300002)(47776003)(4744005)(99286004)(26826003)(478600001)(23756003)(106002)(2351001)(22756006)(316002)(1076003)(36906005)(2616005)(7736002)(70206006)(76176011)(70586007)(11346002)(446003)(86362001)(25786009)(76130400001)(6506007)(386003)(6916009)(186003)(6486002)(336012)(6512007)(102836004)(2501003)(26005)(356004)(2906002)(5640700003)(4326008)(107886003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2957; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 16584345-d1b9-4596-dcc6-08d77272d505 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ivJZsUKq34msVdLmsb4avmPGvsSpORyDkGKFZT5v1fUIkJVQ0f+DtO6VaRfEgLd+w1cqYU8Qe0B6l5B8H0xTzOWBsKwLTbgNfq7u5rdtAH9LJowJn162WdhmsJSJzEApMViFg1EnzOd9HdvlXq3yXmzT6EqdZUigUCprESJO/ZFcujkZvaDy+M1PoJanL5OaO526qwpjxhqA/0hzepMPvPgQrMbHk9HuZM9ygaYZN0L6eLkyGApVfn7OyopM/COJ4rYNm+toQJAm+3eDICfXPJOIaMsB3wNzvdacGZ71fPAuSJQRIdRopyRM4i12NZHMBPVjk+BOS2rd0y8dsjcU1MvIQx6UyLUxf4ChRcoeQUyXLNoYei8PvxF/L5bYaXYiS3SaiHrnnUHjPHxRqbhmVHWa9b0WUmiCeuePwv1XCt+BVxzgAur74/gox2t7tkAB X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:28.9344 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 99754c23-1359-4697-e589-08d77272d922 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2957 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0zMoKcmV7qGGAHECqCXtHZ6E+T/kRsQLeMnNAZQSxW0=; b=rXfPspVHtHuZXtim4gO8brkWcLT2CkBwYWPwYMReqVEC4tmtgnR4qhZVY+qb3/4mvuaiuYSOtS1gRVAMOst1W001pjL4EQYV+vt7m33oKiSkhKcPsWd5OBHpv7EqeahvOb1fZyZHL8YW7H2XTuFN4hutmnoFBjzfYOwr5zyoU5U= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0zMoKcmV7qGGAHECqCXtHZ6E+T/kRsQLeMnNAZQSxW0=; b=rXfPspVHtHuZXtim4gO8brkWcLT2CkBwYWPwYMReqVEC4tmtgnR4qhZVY+qb3/4mvuaiuYSOtS1gRVAMOst1W001pjL4EQYV+vt7m33oKiSkhKcPsWd5OBHpv7EqeahvOb1fZyZHL8YW7H2XTuFN4hutmnoFBjzfYOwr5zyoU5U= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov Acked-by: Linus Walleij --- drivers/gpu/drm/mcde/mcde_dsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index 42fff811653e..d9b9253acccf 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -955,8 +955,7 @@ static int mcde_dsi_bind(struct device *dev, struct device *master, d->bridge_out = bridge; /* Create a bridge for this DSI channel */ - d->bridge.funcs = &mcde_dsi_bridge_funcs; - d->bridge.of_node = dev->of_node; + drm_bridge_init(&d->bridge, dev, &mcde_dsi_bridge_funcs, NULL, NULL); drm_bridge_add(&d->bridge); /* TODO: first come first serve, use a list */ From patchwork Tue Nov 26 13:16:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262307 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2198913A4 for ; Tue, 26 Nov 2019 13:16:53 +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 05A2920727 for ; Tue, 26 Nov 2019 13:16:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05A2920727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 5F9696E353; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70072.outbound.protection.outlook.com [40.107.7.72]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1E6E96E375 for ; Tue, 26 Nov 2019 13:16:33 +0000 (UTC) Received: from AM6PR08CA0033.eurprd08.prod.outlook.com (2603:10a6:20b:c0::21) by AM0PR08MB5170.eurprd08.prod.outlook.com (2603:10a6:208:15c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:30 +0000 Received: from DB5EUR03FT010.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::201) by AM6PR08CA0033.outlook.office365.com (2603:10a6:20b:c0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:30 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT010.mail.protection.outlook.com (10.152.20.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:30 +0000 Received: ("Tessian outbound a8f166c1f585:v33"); Tue, 26 Nov 2019 13:16:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e7b39dd392aaacd0 X-CR-MTA-TID: 64aa7808 Received: from 95ca307b0d32.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id B3E3C202-EFF2-440D-A934-6DAB61EC2BB9.1; Tue, 26 Nov 2019 13:16:25 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2057.outbound.protection.outlook.com [104.47.14.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 95ca307b0d32.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PCtjhkowsKDNmCYBOpNs9sVB6ZdTtexIHnZazSVinYUYxbQ5GtXC2iR3SStSibkxpwL004r2ZtcDm8rO8JtR+zvi0LPIKWRC4DFGV6dIQV7yRGb6vOf7GxFMDXCGP2oIUwFHBw0Xn/OpSz1QgFMa87A/1T5pD/OLx+B80IKvouWKEEwBsHxCxTpJAC3h16Mx2VHYZRsZNeq9uBcQAVQmVzBbynaSnO9VF1eaZgUWmUiNkgN372U3XkmAVUdUz1ZUsqgbaoSGNgjaYFMH5LrRpkNqZzj11bUrpOy0f9r2Y3k+hjeprf+3IPApjZOUJ7W/azkNcPUDoGyjpRtelr0E8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5MOaSsR5jY0wtwz+PiDW06AIZcsZxDj0v9S4kmIV+VA=; b=NB5ENJ/8ICLoi6YLzlyv7iKAF25/f0mwsYhCdCcuTqI8k+8Bl+FDUud9++bEY0O36ktBUUIzRlJAdKbTO+wrv5kTZihMxh9O/fMO2t2dW935QibCbHNY5OyMupMuHfuqYf7uXiLRB1H0NLv2BxGU11ApjWK8UEdqgHFFSL09Q4j2BUJ7qR1lumXd7wp4d1h2c0a0B34c82vC7dOprmFxC1C1gZbJdLEe9Vkj5Optmc+OCckl0xgIPmavR8PjuGFwE+m4b+1p14VSHFYPMSRhI4yehWelritLML/JVHKCDpmPP8q7Jw+6D0H77Q3XI6ci0bwGxa1ICQwSa/U4/cEmVA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:23 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:23 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 25/30] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Topic: [PATCH 25/30] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Index: AQHVpFuzInu3PYWIi0+K6XxDPncYZw== Date: Tue, 26 Nov 2019 13:16:23 +0000 Message-ID: <20191126131541.47393-26-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0bcf62aa-1d7b-4bb7-d66d-08d77272d9f7 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM0PR08MB5170: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: QH9/CltOxxb0l/6tpFpbYlQcp5dmI9Yq82VXmWt8mb5qv4dHhuIdGTyyssbGnPc1mTu5G3yo/8/88sfFsKzGvM+MIn4ZSvgtIRVlySwdnEFZO3iFp3sfoKFyT2DH+8xlgWD+dJ96zQqxBPN7xjvBmOofGorf/WDil4VVlRGCUQgWApXY3uP5kp1k3oTILQPi9JaEo2fI35/pq15GxGgcZ7ozX8X+9W2FA2aVaLEApjsjIM3G4bK/+qx+6olIu5TAV4biKvA8cWQ0qOKMkEZMCLuynp7fvyzOu7EbXHifgznSa1cd7TYX97iAbiwAyZnyyT8JsDaNKDlxLEbYX9frSyY3AwL2j+TujhCFcGOpwAERBe/3BkBQx90scXxZd6jmnnQPydJEFTbfKl82YiGBr+ntvcmyYp5tTXIgHA8M+1THfgud0v7p/cfOpxRR068e MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT010.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(396003)(136003)(346002)(189003)(199004)(2501003)(386003)(2616005)(70586007)(70206006)(81156014)(81166006)(50226002)(8936002)(8746002)(2906002)(54906003)(50466002)(5660300002)(2351001)(47776003)(316002)(11346002)(66066001)(8676002)(26005)(14454004)(446003)(1076003)(6486002)(99286004)(3846002)(6116002)(22756006)(36756003)(86362001)(106002)(25786009)(478600001)(26826003)(4744005)(336012)(5640700003)(6916009)(107886003)(6506007)(4326008)(23756003)(76130400001)(356004)(76176011)(102836004)(7736002)(186003)(6512007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB5170; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1e2bfdee-0080-4504-50d2-08d77272d592 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rwKStPC23UFSiExRr2SqO3/RKvHavq/1pTytf83W4fkOd69HrokVT9Hdh7VN+6170mNauFnz4Dann9xsaxii1Xi7hAsrcdRKzJsf7Jg6RS0ilfJLTkeqBwJA2NToBuEacwf5EvW04HxFpEc9Jou/X8NQN9DNpCf3p42txCQnN44o7r6vPWR45b5LBPgO0tZ4m2PSU9boMdsjdu6CgT3nbWnJ2JEXUQFnxh7PvL6zq1lCeqpUuC2FRwbx0nXA8L17eYWrK4CLYPLcwVAphax6TUhFGuzQTadG5qWpxgRD0W5xO4oOHkMukj+BlAGr+wfHSYvEF6lRZb5RA8PReJppCcUV4h97WwWY71HLlNcQsbzZRUTvTF6+3iKqlyagqcZNDNyt+47npqzYLbIohGjZ4x0pzF5RwnBa0G7SL6LN2L7072jskz+BcIVlhfyB7Kyc X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:30.4430 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0bcf62aa-1d7b-4bb7-d66d-08d77272d9f7 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5170 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5MOaSsR5jY0wtwz+PiDW06AIZcsZxDj0v9S4kmIV+VA=; b=pX4foftaRCM9dA9DEdAENXCpieJQuPbJItHjvWjX0a1vj5CIURm6BNIJYnX0RMOP4nO1V4AybANyYt3U4GrdZVB0qDdP5YyuZ/P85ImioNknCOTxhEgZy8/CMz0Jf85s2eHH+jcqX6SONVih6byrJhSupo9K5NIQwMejM3yS6Xg= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5MOaSsR5jY0wtwz+PiDW06AIZcsZxDj0v9S4kmIV+VA=; b=pX4foftaRCM9dA9DEdAENXCpieJQuPbJItHjvWjX0a1vj5CIURm6BNIJYnX0RMOP4nO1V4AybANyYt3U4GrdZVB0qDdP5YyuZ/P85ImioNknCOTxhEgZy8/CMz0Jf85s2eHH+jcqX6SONVih6byrJhSupo9K5NIQwMejM3yS6Xg= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Matthias Brugger , "linux-mediatek@lists.infradead.org" , nd , "linux-arm-kernel@lists.infradead.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index f684947c5243..9761a80674d9 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1708,8 +1708,8 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev) mtk_hdmi_register_audio_driver(dev); - hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs; - hdmi->bridge.of_node = pdev->dev.of_node; + drm_bridge_init(&hdmi->bridge, &pdev->dev, &mtk_hdmi_bridge_funcs, + NULL, NULL); drm_bridge_add(&hdmi->bridge); ret = mtk_hdmi_clk_enable_audio(hdmi); From patchwork Tue Nov 26 13:16:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262311 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EB7F0109A for ; Tue, 26 Nov 2019 13:16:56 +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 D3D6D20727 for ; Tue, 26 Nov 2019 13:16:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3D6D20727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 B75926E375; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-eopbgr90083.outbound.protection.outlook.com [40.107.9.83]) by gabe.freedesktop.org (Postfix) with ESMTPS id 82A8C6E375 for ; Tue, 26 Nov 2019 13:16:34 +0000 (UTC) Received: from VI1PR08CA0106.eurprd08.prod.outlook.com (2603:10a6:800:d3::32) by PR2PR08MB4747.eurprd08.prod.outlook.com (2603:10a6:101:28::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:16:32 +0000 Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by VI1PR08CA0106.outlook.office365.com (2603:10a6:800:d3::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.18 via Frontend Transport; Tue, 26 Nov 2019 13:16:31 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:31 +0000 Received: ("Tessian outbound f7868d7ede10:v33"); Tue, 26 Nov 2019 13:16:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d8041612cdfffd86 X-CR-MTA-TID: 64aa7808 Received: from 95ca307b0d32.4 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id C8F618B6-898E-43B8-B39E-9F15EB3C7B3F.1; Tue, 26 Nov 2019 13:16:25 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2057.outbound.protection.outlook.com [104.47.14.57]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 95ca307b0d32.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J4jif/BK1R5UAaupC8+hnRgpr1VlR4VWNzv3Sm0hc/lPA44FkFlpQajLtkxbzBHBK9ZmVGgIo/dzusKHM2WKziKyiFjXVGDjnxKfhafGBSywN8sqHk/DnuIi2YWr0OEZnE2s6MngEk0c5mdFZCzEt3If6NG1jUQg6ZCubFzBEvZBKDuu6aB50NXQZ7I5Y5xNkhZHwIjosPBv2iF1GTsOFCUket0DLH/MrBxGqgcbn/24tXsw7q+VKaACCNN5XkSnKi1h0VR5Dx/liOMxEjVa+PiTvxlUCE+OMLj+AG69uZne2SdeUX9acaxlrGThFKHILJw6lu5nuyCmH2NVDOs/Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWRkjbKXWosT47zn6WBBKW0xFtrV15qKHnsxlVXCAOs=; b=fRA6zQVEPMkSZ+QZUF3NcrtJpaJTAE2f1C0HJXqFb/PyxRKVRDyV4WPRWftTZ60DSUiM0Pxfk0WGajZtiXrlLCLetXxoM/4YD0uAWwUtCbhjVQmy7W7e5yf3g5ApTkanG9E9THlWOhZkvuXmsNqdfDJOyBoeNNUwYXSoMJGymGkTKOhegS1ZkzJb6eKbMALYzx6G30r9uudSTXAZEneo6n+I/VcgH29cJmr8Ehozmv0bisGGRDRXNZoVPGuyRN5vjGtwqXTLxT/a2CzMmEpCwZFlatoedu2W6j4Fj9AwqIdj7+eVZ3O9ybW9Yo164+urSU/gHIfKRcQNrHt28ONVvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:24 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:24 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 26/30] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Topic: [PATCH 26/30] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Index: AQHVpFuzCCWCeiajR0azDZK79iNyGA== Date: Tue, 26 Nov 2019 13:16:24 +0000 Message-ID: <20191126131541.47393-27-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: bc800894-7c00-4e09-7dae-08d77272daba X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|PR2PR08MB4747: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: jNZyCECqC/7P+UsXMnkFjI6+eNr5TCvVNSHj3njTCXUN8FCBJ0HHrB9WfooHtASIx3Umk0dV+Zz+v+oEyIsJ4ApjaoMnn3j/T15G7Ccja7xnsIwhNksC85LtVEJsB2df2ZZlrO/TTZhmar9VABdnVE+FXLiiV7cM0+NsLlqhr9vx/mfZ8hus3C5HaAMdnPXqE45WLQAmOM3SXS8KY5k39NMXJvNnE5g+A93TRqsfTSpWOgqsU20Oc8aRWIffX40PZCCKYpLEk/0dZ1a6/9QQmh2aWMUGCteH9p5Bz+fV8/8IfA4EZ03McReX6lyJY3EM405imMYqDmC5Tgkk86svX1L++nxHIrUwS3Fx8+QRvpHFDEt9Bz3WKmy28WgQKHfVAsq9X5IGfY9ibojC8OJUvR8zw2Sl2/vEC+Y7/JgyI8LGy7TIdmodRS6Xr1J1SqWx MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(199004)(189003)(99286004)(478600001)(23756003)(11346002)(36756003)(54906003)(4744005)(446003)(2616005)(7736002)(8676002)(4326008)(81156014)(81166006)(305945005)(47776003)(8936002)(66066001)(14454004)(316002)(8746002)(3846002)(50226002)(107886003)(26826003)(25786009)(6116002)(70206006)(1076003)(2501003)(70586007)(50466002)(2351001)(6512007)(5660300002)(356004)(76176011)(106002)(22756006)(76130400001)(386003)(336012)(5640700003)(6506007)(6486002)(2906002)(102836004)(26005)(86362001)(6916009)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:PR2PR08MB4747; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 5213e331-3562-425a-bb57-08d77272d62b NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gID9bAEjmeaORxxw+g6zmYtvf+wiY0xEUvrJzPJZiFpj0MIIrZ9GKNaIV2sbCal1zjPHacCmORCcoIWwJT3At8XCSkGvv0atFOx0uXDC4bOmV53PBINeWRm+OxK/1AFjIm2+vYNGUWqMNKowHE+4Q8Ng47KOsttVg6PKQrY//11G6swKhaJ162cdMAEv0Q/NcAqQlu81otsuCk8Y/7wkfAnZOSCSoKqOPL0VwJlCjuBrrvCa2q2roiC4hFbqcJSYHjowTBmL5GAHKqkg2bykYhNqomF+tI+TxwsSjqqjNRCchtWmIJzZZEPhTYnJ41tU/XmKfEqwHCjVkc1yyggLSxXZmEOLFMR7Sha5kKILEEXMayzCyBJsRMSIJyR1rvfKz+UleLf05XDgASS82fBikEM/NuzagtGIzI4OePFIw/oAfvbCZe+P5Ldg5vIeigLi X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:31.7167 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc800894-7c00-4e09-7dae-08d77272daba X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2PR08MB4747 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWRkjbKXWosT47zn6WBBKW0xFtrV15qKHnsxlVXCAOs=; b=zllVX4QaEXQs5sq6vYcUC1WrERqhWBEONBZKo1t/cz2lMPex46xDK3X4A+hR/xlPFgJAUBSUPVlsNDtLVOyilrDWVUtD9KGqcn+6PuAU9TGN3DEiMqzfOdV/mtP0OhcWsI9tDBIM4zvqa25veR9P6Em4/ECQcW8Zev656e2Jsyo= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zWRkjbKXWosT47zn6WBBKW0xFtrV15qKHnsxlVXCAOs=; b=zllVX4QaEXQs5sq6vYcUC1WrERqhWBEONBZKo1t/cz2lMPex46xDK3X4A+hR/xlPFgJAUBSUPVlsNDtLVOyilrDWVUtD9KGqcn+6PuAU9TGN3DEiMqzfOdV/mtP0OhcWsI9tDBIM4zvqa25veR9P6Em4/ECQcW8Zev656e2Jsyo= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , Kieran Bingham , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 8c6c172bbf2e..ac1f29bacfcb 100644 --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c @@ -881,9 +881,8 @@ static int rcar_lvds_probe(struct platform_device *pdev) if (ret < 0) return ret; - lvds->bridge.driver_private = lvds; - lvds->bridge.funcs = &rcar_lvds_bridge_ops; - lvds->bridge.of_node = pdev->dev.of_node; + drm_bridge_init(&lvds->bridge, &pdev->dev, &rcar_lvds_bridge_ops, + NULL, lvds); mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); lvds->mmio = devm_ioremap_resource(&pdev->dev, mem); From patchwork Tue Nov 26 13:16:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262321 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BAD0813A4 for ; Tue, 26 Nov 2019 13:17:07 +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 A2D2520727 for ; Tue, 26 Nov 2019 13:17:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A2D2520727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 A34A06E39E; Tue, 26 Nov 2019 13:16:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0624.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::624]) by gabe.freedesktop.org (Postfix) with ESMTPS id 48ADA6E358 for ; Tue, 26 Nov 2019 13:16:34 +0000 (UTC) Received: from VI1PR08CA0258.eurprd08.prod.outlook.com (2603:10a6:803:dc::31) by AM6PR08MB3192.eurprd08.prod.outlook.com (2603:10a6:209:4b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:32 +0000 Received: from DB5EUR03FT043.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR08CA0258.outlook.office365.com (2603:10a6:803:dc::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:32 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT043.mail.protection.outlook.com (10.152.20.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:31 +0000 Received: ("Tessian outbound 512f710540da:v33"); Tue, 26 Nov 2019 13:16:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 54495c6cc4f08a7f X-CR-MTA-TID: 64aa7808 Received: from f4b123a35b0f.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2C2F2565-C22B-4BD8-9147-90B0661C3173.1; Tue, 26 Nov 2019 13:16:26 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2050.outbound.protection.outlook.com [104.47.14.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f4b123a35b0f.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e3YLhHGCaG87oEYNSlxiibDSBe0JkXKy2rslCutmWZOB1MMliAP0pgCAvTOzRS0bmtYZxXVoQYsqfffgquKGLK2UZM5glX1waZtwmO71iT9INDj5RJNehPINl8rf0GILP6TqYRSpz9isiKh4LI4hYKccOxOzo4qntGvBT1d5LoTUnXflCqaIXb04xXaFCz0TwgULOIIGozm4bBNtiI1dKkH07j33nJzOP80j99ulVLsd9Wl75id4rA3SCyEPoHMNGsNsCTDHkR0HiTm5NslyOqrlsXViDt3X/vKvUEHwTfrgK/lYt6Fqz1lqiWCiEiFHVHuDhtUh0suzE0A9E3frbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AXiSa2cDPynqi1pZWZTQXR63peA1QHF+7CCWR6/itq8=; b=Vv44870OD5WjXkk5naSmOHeYWeubwVXtaQe3iWXRgyx546vAimAZC8EC2xchHZO6zIA2GAPs2L7ZDxQpbYyqEdNTI1YwIV/4hbkzAHgZIifIdcDTSK8YuLi95U1nrV2axQ8I5eTwQSAh0iChulUpIQWhCV7AdZkCwLAMFJogoYPQrwrWIGHmo/ii+5Oi+yr7F7L02+Z/mew3LokT4U7ayaFpDVhkWI1zcWQvGucfEwgKoRybHcHlXsbeAq3ywf9pK4gtVzQoF+cSz7bwlMcz5adb3y7cXKVJK+hie2bjINijFF5aG8qUxG60Hry4awj35nkrnsvHC9I8w+R7WPdiLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:25 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:25 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 27/30] drm: rcar-du: lvds: Don't set drm_bridge private pointer Thread-Topic: [PATCH 27/30] drm: rcar-du: lvds: Don't set drm_bridge private pointer Thread-Index: AQHVpFu0AaX4+WqtW0efGC3rTYsu4g== Date: Tue, 26 Nov 2019 13:16:25 +0000 Message-ID: <20191126131541.47393-28-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: de0431a9-d2d9-49b8-0c35-08d77272dae6 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM6PR08MB3192: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:546;OLM:546; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(14444005)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0bplAz7M7EOz1UCgRq3RawokjrsTXRkN6Ft61+dbUbyp9wpzugB/oCg163ScqVsA8ICjwn3KmSACh31sqsqN3H3jrewsMvgR+Og7tRsyxNNO/dtlC9FiaMKWIIbSeZJiJHm5kbhKRrCE+a1E/YDDGc1F+96Ipk7MMESBs40P9GFUexQJQE8zj+yTrEFxzTwzWWT2w9NrdyFHwCjB+29dW9LYBcEcNGxSQfh29c2hdk/8z/3e2Af8Zr+ADahI3JfRMG165hl+JwderTs7pwjsrQO80daI+hvJzEVyS2nUuljT/0tctT9mLRcqGYvFWaKjnYAWeJIh4RSx2eq1B9su6jLTLqv/n1g30QIUyI6vfw87LjZCNTxHs0JnExXSIvP5deZBJrHtOWth31f/hYN0DSkA/HChnaEdHHMsCi+1RYWm9KUmaf3zR1YwqGsvi+DW MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT043.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(396003)(376002)(136003)(199004)(189003)(14454004)(356004)(8746002)(2906002)(186003)(54906003)(316002)(4326008)(336012)(11346002)(81166006)(50226002)(2616005)(5640700003)(478600001)(25786009)(26826003)(446003)(6512007)(8676002)(8936002)(36756003)(3846002)(6116002)(7736002)(66066001)(305945005)(1076003)(76130400001)(23756003)(5660300002)(14444005)(47776003)(81156014)(2351001)(76176011)(50466002)(26005)(22756006)(6506007)(386003)(6916009)(2501003)(70206006)(4744005)(107886003)(6486002)(106002)(70586007)(86362001)(99286004)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3192; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 6bb0853c-f121-4134-b1f5-08d77272d6b2 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g+R9yjk69JuyLcnOlFWcupnzL2cc6um0qWS4ROFNZO2ryGX8yE9Jf7O9YXwkyUkR8WukxpidK7pkbT4uCt+dNKR2I09oNPhg1mLm7pJ51m9fWZAnGClPvJVBLXp7X8LUC+8lgNFg2FL44aDbispW03BB115ZoPe7QSw7J+P4vrA+7uGAzWoeV9/V6clRIesgpRtLN8PNEouxbtlqMq3FXfyk0wy8KYmfBEfsaMpdL9QZTkxUBKDhSx7OYdw3GKbSG++/lJwTejVtAhl+rdGot4nzc2WZGYEPHztEuqfWP91zVjEd18TKLQ+Pc6Ic74WyM/UtGwEWRXyJuY+gzGphebYCjtEqmeEejkyjKBiIkzvjn0oQdl2edv251XPMUNgnj7q7HJ3jGw94Y39c6IDC0EcqSp22a1pILOHyOvdCZqMh17aP1m25pVsHT8ds2ve1 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:31.9811 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: de0431a9-d2d9-49b8-0c35-08d77272dae6 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3192 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AXiSa2cDPynqi1pZWZTQXR63peA1QHF+7CCWR6/itq8=; b=69d5vRmKAwZ5E5i2SfbFOrjsvu7rBi4QG12K9hYv0OIXrAPvbAlRlKm7EOJWZ+jOQ/OUea1ALgrMOkrCJUs0NLkRqXu93Tuf923YAUYzbXvFIXx0pp7IDi7u1J/EnCNfNkAolru4QB5Q3itdmCtxtGF+w54W0ZONhCTX8KtToQk= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AXiSa2cDPynqi1pZWZTQXR63peA1QHF+7CCWR6/itq8=; b=69d5vRmKAwZ5E5i2SfbFOrjsvu7rBi4QG12K9hYv0OIXrAPvbAlRlKm7EOJWZ+jOQ/OUea1ALgrMOkrCJUs0NLkRqXu93Tuf923YAUYzbXvFIXx0pp7IDi7u1J/EnCNfNkAolru4QB5Q3itdmCtxtGF+w54W0ZONhCTX8KtToQk= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , Kieran Bingham , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change: it's not used anywhere. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index ac1f29bacfcb..168a718cbcbd 100644 --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c @@ -882,7 +882,7 @@ static int rcar_lvds_probe(struct platform_device *pdev) return ret; drm_bridge_init(&lvds->bridge, &pdev->dev, &rcar_lvds_bridge_ops, - NULL, lvds); + NULL, NULL); mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); lvds->mmio = devm_ioremap_resource(&pdev->dev, mem); From patchwork Tue Nov 26 13:16:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262325 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A366E13A4 for ; Tue, 26 Nov 2019 13:17:10 +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 8B5C720727 for ; Tue, 26 Nov 2019 13:17:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B5C720727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 D4B4C6E3AA; Tue, 26 Nov 2019 13:16:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20068.outbound.protection.outlook.com [40.107.2.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id F10C96E353 for ; Tue, 26 Nov 2019 13:16:36 +0000 (UTC) Received: from DB6PR0802CA0035.eurprd08.prod.outlook.com (2603:10a6:4:a3::21) by AM6PR08MB3624.eurprd08.prod.outlook.com (2603:10a6:20b:51::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:34 +0000 Received: from VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::207) by DB6PR0802CA0035.outlook.office365.com (2603:10a6:4:a3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:34 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT012.mail.protection.outlook.com (10.152.18.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:34 +0000 Received: ("Tessian outbound f7868d7ede10:v33"); Tue, 26 Nov 2019 13:16:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: aac1fcd0c00e6b7f X-CR-MTA-TID: 64aa7808 Received: from ca8072fa316b.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.14.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id AB9D895B-6E73-4B15-BF4B-B77228907F38.1; Tue, 26 Nov 2019 13:16:27 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2053.outbound.protection.outlook.com [104.47.14.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ca8072fa316b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SlxdArcN4CwjBPfBGURSgQ9XQMCL8f2W4sA2xCZDbmK9aR6PtdQbywvU2Q022Dvp8K7/0c3lBKf6ppRccuyCUA35gDSQU16UpWJ9ZjVg75JwpXRphF2LTHuC7UkT00F/Sgx07RMjEF7HU5l2tjtVQuKeSQnSPj5Li5WpbkFKFqxLnvc+9R7wOKHPcjfXEmKYPHrJAjzQT5uHiYJtbyfI2IqtfCgI/VzAeepHhSD0KsStnAxLA3yXdY/n0ZeivYS2grwtHmDlkrsubi91oQdWWk9KiVf16+VPzkX8kRjpIoVpPt/c39nIuChi+79B3uoxs+8oJuGXlgQisnJEyg448A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7ZaGqNH19yTAtwda+zKzHMpmANYqCLZgGbmyripuWOM=; b=laOOieiPnTczKtVdEHvPsv4apAfFMuK6NvrE0zuOM24pLBI3U0Bpf/wuOqPKU6WJKWSLl6oW93zP6zEmjq25hEeKtkZ4MIYd60UoUcR0GK2jEMfKTcJClUDuyucBHgA/lvjFN9ZNBCBwKWUu01VdoKQUpuSH22vvqMVYwQJ9YUxY/wATv6ia58g0YQX3Gs6ycferPIZpD5iCjSSmsz0IREi72NHYWZ9gOo1b+8tY7utNkbj+sBVe1swxvbfh/SLCDJqSlPajVUysCSGq+VXIU3OLVVv7V64IgkPKJ00vT9zYrldnoo/Fbf6pn+PtHAsF541bmBSb0ve6kIEpj0zmFQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:26 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:26 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 28/30] drm/sti: sti_vdo: Use drm_bridge_init() Thread-Topic: [PATCH 28/30] drm/sti: sti_vdo: Use drm_bridge_init() Thread-Index: AQHVpFu0SLTgMcz7kE2lTsCMHso8OA== Date: Tue, 26 Nov 2019 13:16:26 +0000 Message-ID: <20191126131541.47393-29-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3144c321-6df9-41b2-63ab-08d77272dc36 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|AM6PR08MB3624: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:376;OLM:376; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(1496009)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(4744005)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(5024004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: sGQjoHsgMzSRZQ/1K0IR2Stc7E/EtCzd339tCrDNQp8dS/llzJd8dfDqNI3h7VC7dS3kPk5lS7PC46XKJEJTvgO5yhbn5nqw4+ZMcAnITnKpFFE4pnW4WBQoC+wWmtFwhChYjTVjG7HT+2099uakDaC58Y3I0COEMA6iem/E1AOg8uF2/E6HP9xqubyo93+2oqHpxOk+5anBCZ8ywQ/l08K4GfYFiYDIgK0CPF/C+YU9N00Y9xzgYBWkas/MYgcUw6N4oWNQosw+kZqCRZqYKiYCoVpLiz9SNmdZc03y/7fpeRdckAhNs9PTDRjuKnLbtgpQnqRF7QwncwSSYy+peTyigjZ3b/fd+SB05WSt7QyqksIhVHtYSm4Otog9zndWtMruYkGfBZVkAT/8OwcPy23JWX+k1pJHVa0JwsjoS7UhKKCbfGvZOa/Ah6ligOq8 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(396003)(39860400002)(376002)(199004)(189003)(6512007)(6486002)(5640700003)(386003)(107886003)(76176011)(102836004)(86362001)(186003)(6506007)(26005)(5660300002)(70586007)(70206006)(76130400001)(2501003)(2616005)(11346002)(336012)(446003)(81156014)(8676002)(1076003)(50226002)(305945005)(3846002)(6116002)(6916009)(7736002)(4744005)(25786009)(81166006)(8746002)(2906002)(4326008)(14454004)(8936002)(478600001)(26826003)(36756003)(2351001)(66066001)(47776003)(36906005)(5024004)(106002)(23756003)(54906003)(99286004)(50466002)(356004)(22756006)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3624; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 0031a196-eeaf-4416-a93a-08d77272d730 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VwA9/yO4cSdKdJ6yKH1W1uHjclFa8sx4V9wpFh96rDl5nSHawUg1gk2Etgtge7Jz6WIQioRUT/NGZrwEwvqgNvsSoQIQ6++VYnFyab8hm4PkpA4gAubrSeaCpLL5LI1EdD/YIiN2kv8y62h6v6qAyO1BzrD3xuCzTuQLNBQ/GKXWtyxfEmiNXZdR8x/QGGbUaQwOXUbtoNjBPwDtkzcBVMufV8HSnhpVIktedi1LiK6BWNJlK50WdRwlqi5DA2YObrza319X7AKvYAB62+ckv8pcLtvLz/7S2EXDwZbEH8MmSOWdGGqmiUm9fjtICX8S0ocXPSNHb0dhV0ZyMxgrqTV0gJFkOw8EaRjLfNQAh7spdoQQ6H0Xpkh3IJ6HXBYrQfWE4mG0nowowfRZWfAvmoE//B4S1Uin6AXw09pO+44jitmfcgOQ/FgFoBQly7vM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:34.1203 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3144c321-6df9-41b2-63ab-08d77272dc36 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3624 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7ZaGqNH19yTAtwda+zKzHMpmANYqCLZgGbmyripuWOM=; b=isZL5Hjp6fmEIShdRNqbtk1s9m8jLA2hguCixE6wSSDDJn60D99TuI3OrOvIn/8q+eTkZlpYW2jia6G8fdTt89qlFlLsZCsNVBguxseQOR4GMGm+a0XW/KWEgeCZZUay7EE2G7G4w/ofc5J/lKClbL4X9uJeaPHMq4IopxvwDWY= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7ZaGqNH19yTAtwda+zKzHMpmANYqCLZgGbmyripuWOM=; b=isZL5Hjp6fmEIShdRNqbtk1s9m8jLA2hguCixE6wSSDDJn60D99TuI3OrOvIn/8q+eTkZlpYW2jia6G8fdTt89qlFlLsZCsNVBguxseQOR4GMGm+a0XW/KWEgeCZZUay7EE2G7G4w/ofc5J/lKClbL4X9uJeaPHMq4IopxvwDWY= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , nd , Vincent Abriou Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/sti/sti_dvo.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index 68289b0b063a..20a3956b33bc 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/drivers/gpu/drm/sti/sti_dvo.c @@ -462,9 +462,7 @@ static int sti_dvo_bind(struct device *dev, struct device *master, void *data) if (!bridge) return -ENOMEM; - bridge->driver_private = dvo; - bridge->funcs = &sti_dvo_bridge_funcs; - bridge->of_node = dvo->dev.of_node; + drm_bridge_init(bridge, &dvo->dev, &sti_dvo_bridge_funcs, NULL, dvo); drm_bridge_add(bridge); err = drm_bridge_attach(encoder, bridge, NULL); From patchwork Tue Nov 26 13:16:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27FE213A4 for ; Tue, 26 Nov 2019 13:16:55 +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 0BCD820727 for ; Tue, 26 Nov 2019 13:16:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BCD820727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 A9EA56E366; Tue, 26 Nov 2019 13:16:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::62c]) by gabe.freedesktop.org (Postfix) with ESMTPS id F2CDF6E353 for ; Tue, 26 Nov 2019 13:16:38 +0000 (UTC) Received: from VI1PR08CA0100.eurprd08.prod.outlook.com (2603:10a6:800:d3::26) by AM0PR08MB4209.eurprd08.prod.outlook.com (2603:10a6:208:10c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:36 +0000 Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) by VI1PR08CA0100.outlook.office365.com (2603:10a6:800:d3::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:36 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:16:36 +0000 Received: ("Tessian outbound f7868d7ede10:v33"); Tue, 26 Nov 2019 13:16:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d914095c1eeeccd7 X-CR-MTA-TID: 64aa7808 Received: from a4bda1e7f4c9.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.4.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id 09D6DE19-468D-4F1F-B9A4-A85333043EAF.1; Tue, 26 Nov 2019 13:16:28 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02lp2058.outbound.protection.outlook.com [104.47.4.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a4bda1e7f4c9.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KTvJXLYIp5rAgMJhpUqkBWq3XTa26jZ9m+gtVPjhbyA7cgnsQVLFfv38rkhHNWGnnDpumkBQdzZ1hlCXgKjtemyi64DDXZqmIGDpShjaZlfsGAHBoTPL87/TgxWrbuv/D5TMfMf0UoeLnHmBSefSzwfgdwVSK8/4ZuCJOsgwp1wqEqp2UY56mqia2D4Syq+bONRLO3+wXF3WHVcSqutNfNcJNwdNSy1plOfnG/rZFlk47zxkiohVxIWtGSNl5V9WFpeHmf3R3kKBYDBHrzwMJQV2uUXUsD8IzMbziF1nicFZhfvGo6n/qjgc/u13KaKetUHgAmBLEr1VdrjVI85hfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=22yLRF+OD4SGmB+ZPAp6mmB9i3wb2rmCRZA/8wtNzW4=; b=K0B24MUoiItjJ47K++yO57G7RyvV4IPku5eQ5IFON30OWCql68WD16tLxn4oN1zojh5QVorDbdPYtRFvHcaFhRrkQEUrA9kksZeT0zItE+DiPd0lFcdnrCN/hQebo5N5Lq58l8RMSzivmwnDR+KgrDRa1Wf7Z+ISb3YUKF58XYk2IXbT00f4SmDOQn7CWAkpElKmFnC77+RJwL4YWXerdG0O2H8GLP8k4/Gi2WpJXmA1w0KmOQTs6dEo5T1jogFf8O/x01zkaxiBLRpQ/g/Apa76Yn8XdFnGe9LKxZOGZ2kq2ZJdq8TKv7hMdm19qWEUZ8whR1Ti/SJOEgEMA+W38A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4560.eurprd08.prod.outlook.com (20.179.24.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.19; Tue, 26 Nov 2019 13:16:27 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:27 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 29/30] drm/bridge: add support for device links to bridge Thread-Topic: [PATCH 29/30] drm/bridge: add support for device links to bridge Thread-Index: AQHVpFu1iHJCIvZyo0WUUQNtpUlixw== Date: Tue, 26 Nov 2019 13:16:26 +0000 Message-ID: <20191126131541.47393-30-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 42ffda81-6bea-4a46-4735-08d77272dd82 X-MS-TrafficTypeDiagnostic: VI1PR08MB4560:|VI1PR08MB4560:|AM0PR08MB4209: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:5797;OLM:5797; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(376002)(366004)(346002)(136003)(39860400002)(396003)(189003)(199004)(71190400001)(478600001)(1076003)(66476007)(186003)(26005)(5640700003)(52116002)(64756008)(256004)(8676002)(2351001)(66946007)(54906003)(81156014)(44832011)(3846002)(6116002)(6436002)(2616005)(66556008)(71200400001)(2906002)(11346002)(66446008)(99286004)(14454004)(81166006)(6916009)(5660300002)(25786009)(2501003)(8936002)(102836004)(5024004)(66066001)(36756003)(6486002)(6512007)(386003)(14444005)(4326008)(50226002)(76176011)(316002)(86362001)(7736002)(446003)(6506007)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4560; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IEzpmioFC9HXH/GMPwyuotFzMFChNW9v7z9ednY2Nth2mD3q3HnLQ3/mNFUDO/sQp+pcQWCqRKZG6KrCamm8dDmYhrp5wF1Aam/k9S4N+M1WBbAABYYF9nbc65dMhgKjCNp4YvHOHR0NMIB9Axx77gHi0VUNwDqTJ7R7aQN8r9xujdQofBGY3aZmVhfRicIya/rnP6IvfWPZVzCu2n0pMaSnlqMREjNE71OFOH9FfEflz4+4yWA8mB5ftPtuXMPOAvKkEzdpKeTzE+ut63Ht0YmIJXXQEJNA40mxLpqfW/Wjb9zvrgn+by7e9CODVdLH4hGQHndF/VOFF+R76FIrrp4fP7MiWYM2fioB/xmNTYpDOW+0GAWDJd3h+rx3qjoibmbhQmRxzqA/t954RRsApcjxzmKXdqKQhfE9BV9ODLkhh24tQ+92Y6HuSZxNQIQA MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4560 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(39860400002)(136003)(199004)(189003)(22756006)(26826003)(50226002)(47776003)(8746002)(70586007)(8936002)(81156014)(2906002)(81166006)(8676002)(14444005)(6486002)(25786009)(5024004)(316002)(54906003)(386003)(478600001)(66066001)(76176011)(186003)(70206006)(99286004)(2351001)(76130400001)(6506007)(26005)(5660300002)(1076003)(356004)(446003)(11346002)(2616005)(6512007)(6116002)(3846002)(86362001)(36756003)(5640700003)(23756003)(6916009)(4326008)(2501003)(336012)(107886003)(102836004)(106002)(50466002)(305945005)(14454004)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4209; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: a0850149-8228-499b-51bd-08d77272d7b7 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qHsbkF9x3YnJVgGA6DmuUtOD3+53P3GHGJnIAiTQ1wmADKYkBvOPV1KuIWY8I0iTzLUJtcfA8hHZ+KO4KE0XJ2uQEvDB1JhK3+xvQ05q4WN4Dyl8/T+sft2mZZkscKr+LhC+rzaTItnIVPxp/q0NnSp/JDWJaRN/96bnuJjiISxBs2MPQG05YyjQ0imJMCM3at9KUpZr8kKCb1MGpnGaaWbWUgm+RBP2+V5WHTeE+uMJiCwHXj5ei/6naQgkqB+SfPYhlLMiIn3AdUGo1IfbI/VJcnC8AxLA1JM4JQf2mzgDyYhEooFsYRqn/KkInKuG7aauEuRXRMSU6wckHFYtBiJfqJ3aGDB/cp50Qz8ADdo3FnGZ4HsYHwSLdvfVZD6IUI7oHgW31zWsvvBhd4lJqNkdH3bE55/wTE81Vg8AYjAQHT3zbvdTIQcCLkAEz+d6 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:16:36.3814 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 42ffda81-6bea-4a46-4735-08d77272dd82 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4209 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=22yLRF+OD4SGmB+ZPAp6mmB9i3wb2rmCRZA/8wtNzW4=; b=BtYl6AfDKJf5AUHeLBp1Xu0b0ZWHwd5Kh/QJ2ght1+5FzJH9v/eKebCg67AEiuxR9pnVsPfjW9c/W9jwqIaldk62TvrQcyZFLoGTYcTXGwuleChjMm79AZ3MdtrY/77WSmKVoMNm4tOJlcekRAp4ILsksN029qCkcTxVAL8DDhE= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=22yLRF+OD4SGmB+ZPAp6mmB9i3wb2rmCRZA/8wtNzW4=; b=BtYl6AfDKJf5AUHeLBp1Xu0b0ZWHwd5Kh/QJ2ght1+5FzJH9v/eKebCg67AEiuxR9pnVsPfjW9c/W9jwqIaldk62TvrQcyZFLoGTYcTXGwuleChjMm79AZ3MdtrY/77WSmKVoMNm4tOJlcekRAp4ILsksN029qCkcTxVAL8DDhE= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Russell King , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Russell King Bridge devices have been a potential for kernel oops as their lifetime is independent of the DRM device that they are bound to. Hence, if a bridge device is unbound while the parent DRM device is using them, the parent happily continues to use the bridge device, calling the driver and accessing its objects that have been freed. This can cause kernel memory corruption and kernel oops. To control this, use device links to ensure that the parent DRM device is unbound when the bridge device is unbound, and when the bridge device is re-bound, automatically rebind the parent DRM device. Signed-off-by: Russell King Tested-by: Mihail Atanassov [reworked to use drm_bridge_init() for setting bridge->device] Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/drm_bridge.c | 49 ++++++++++++++++++++++++++---------- include/drm/drm_bridge.h | 4 +++ 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index cbe680aa6eac..e1f8db84651a 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -26,6 +26,7 @@ #include #include +#include #include #include "drm_crtc_internal.h" @@ -109,6 +110,7 @@ void drm_bridge_init(struct drm_bridge *bridge, struct device *dev, bridge->encoder = NULL; bridge->next = NULL; + bridge->device = dev; #ifdef CONFIG_OF bridge->of_node = dev->of_node; #endif @@ -492,6 +494,32 @@ void drm_atomic_bridge_enable(struct drm_bridge *bridge, EXPORT_SYMBOL(drm_atomic_bridge_enable); #ifdef CONFIG_OF +static struct drm_bridge *drm_bridge_find(struct drm_device *dev, + struct device_node *np, bool link) +{ + struct drm_bridge *bridge, *found = NULL; + struct device_link *dl; + + mutex_lock(&bridge_lock); + + list_for_each_entry(bridge, &bridge_list, list) + if (bridge->of_node == np) { + found = bridge; + break; + } + + if (found && link) { + dl = device_link_add(dev->dev, found->device, + DL_FLAG_AUTOPROBE_CONSUMER); + if (!dl) + found = NULL; + } + + mutex_unlock(&bridge_lock); + + return found; +} + /** * of_drm_find_bridge - find the bridge corresponding to the device node in * the global bridge list @@ -503,21 +531,16 @@ EXPORT_SYMBOL(drm_atomic_bridge_enable); */ struct drm_bridge *of_drm_find_bridge(struct device_node *np) { - struct drm_bridge *bridge; - - mutex_lock(&bridge_lock); - - list_for_each_entry(bridge, &bridge_list, list) { - if (bridge->of_node == np) { - mutex_unlock(&bridge_lock); - return bridge; - } - } - - mutex_unlock(&bridge_lock); - return NULL; + return drm_bridge_find(NULL, np, false); } EXPORT_SYMBOL(of_drm_find_bridge); + +struct drm_bridge *of_drm_find_bridge_devlink(struct drm_device *dev, + struct device_node *np) +{ + return drm_bridge_find(dev, np, true); +} +EXPORT_SYMBOL(of_drm_find_bridge_devlink); #endif MODULE_AUTHOR("Ajay Kumar "); diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index d6d9d5301551..68b27c69cc3d 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -382,6 +382,8 @@ struct drm_bridge { struct drm_encoder *encoder; /** @next: the next bridge in the encoder chain */ struct drm_bridge *next; + /** @device: Linux driver model device */ + struct device *device; #ifdef CONFIG_OF /** @of_node: device node pointer to the bridge */ struct device_node *of_node; @@ -407,6 +409,8 @@ void drm_bridge_init(struct drm_bridge *bridge, struct device *dev, const struct drm_bridge_timings *timings, void *driver_private); struct drm_bridge *of_drm_find_bridge(struct device_node *np); +struct drm_bridge *of_drm_find_bridge_devlink(struct drm_device *dev, + struct device_node *np); int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, struct drm_bridge *previous); From patchwork Tue Nov 26 13:16:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11262347 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B2767109A for ; Tue, 26 Nov 2019 13:18:01 +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 9A85320727 for ; Tue, 26 Nov 2019 13:18:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A85320727 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.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 845A76E38A; Tue, 26 Nov 2019 13:18:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70081.outbound.protection.outlook.com [40.107.7.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB5CB6E3B2 for ; Tue, 26 Nov 2019 13:17:07 +0000 (UTC) Received: from VE1PR08CA0012.eurprd08.prod.outlook.com (2603:10a6:803:104::25) by DB6PR0802MB2406.eurprd08.prod.outlook.com (2603:10a6:4:9e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.21; Tue, 26 Nov 2019 13:17:05 +0000 Received: from DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by VE1PR08CA0012.outlook.office365.com (2603:10a6:803:104::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16 via Frontend Transport; Tue, 26 Nov 2019 13:17:05 +0000 Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT015.mail.protection.outlook.com (10.152.20.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17 via Frontend Transport; Tue, 26 Nov 2019 13:17:04 +0000 Received: ("Tessian outbound dbe0f0961e8c:v33"); Tue, 26 Nov 2019 13:17:04 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: affa3eaeb7309305 X-CR-MTA-TID: 64aa7808 Received: from 053d1c1fc842.2 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id B83F0D2B-6D92-422F-81DA-9412E3644710.1; Tue, 26 Nov 2019 13:16:59 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03lp2050.outbound.protection.outlook.com [104.47.10.50]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 053d1c1fc842.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 26 Nov 2019 13:16:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eBJbLMllsJUEua/SnzJDxeLu1qWbDI/svch0Srx9n2MhztOeZFG33TdvEerhzpyKJELFXFDvxQwR7SHeeAGSN162GE9O0+iU89gvUZy/ChqBB23FLL0dv7D1cizZZWWqkxhMGNfYjokdBJA6NYvOMUgNmHxz1YZIDyxl1X+hz2bN8g0FlQOcx0w/NmcD9+Mnqu9RUOv3w1sEdv2BVmatcFxwofc8+I4Za94N8D5SQZA+7Q55CYNd+wVVifzZzvrVKM7Xs+ZZio/LqclJV934CUSkphgGPsrtTaROMlINW2xM+1dfhzAG1cDL94bwAvCtacKwCA3S/4SZ8EYaVE5PXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P787VNlH7d2aYxO15L1R1Soowsg8PZrcEAWIXJ087W4=; b=QY647PFZ15qvI3lyuYvu1oOEJyxkA5IfBK6peEWNqPBM3NxN6/Y6UTw/y0pGVs079GIxZsRe6FBqH6SehhaMVo4i+Y/SPVNGy+me+keKJYjH2Mv1ITWcSZC799Fg32OlQoZgC5vpkR//1eYnMYyKiJBd9KHQJMiW3S6GJ5Aw64XExOIyq3dgO6tZ0xGuIMiyfsplpBOx/nawZAQz2nPeAKgzOKKkIovY+nAkTCm+R0PQSb/I75S7f1DdAfL8AOtfmltArUwI8Vh4KB1IXjK42SlUIkf1wqrJaqixmDGdkbKeq8CgF+yElg1YamUOtCDmXqfnQ8rvtbs2ggHuxS+lYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB4317.eurprd08.prod.outlook.com (20.179.28.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Tue, 26 Nov 2019 13:16:58 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::8191:f0ac:574a:d24d%3]) with mapi id 15.20.2474.023; Tue, 26 Nov 2019 13:16:58 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH 30/30] drm/komeda: Use drm_bridge interface for pipe outputs Thread-Topic: [PATCH 30/30] drm/komeda: Use drm_bridge interface for pipe outputs Thread-Index: AQHVpFu1/dwArMKc0027RihyptTKCg== Date: Tue, 26 Nov 2019 13:16:27 +0000 Message-ID: <20191126131541.47393-31-mihail.atanassov@arm.com> References: <20191126131541.47393-1-mihail.atanassov@arm.com> In-Reply-To: <20191126131541.47393-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0453.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::33) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.23.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5a42e163-5e6d-4577-c0ec-08d77272ee86 X-MS-TrafficTypeDiagnostic: VI1PR08MB4317:|VI1PR08MB4317:|DB6PR0802MB2406: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:124;OLM:124; x-forefront-prvs: 0233768B38 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(189003)(199004)(5640700003)(86362001)(6512007)(71200400001)(2616005)(6486002)(71190400001)(2906002)(4326008)(6916009)(44832011)(446003)(11346002)(54906003)(66946007)(316002)(66446008)(64756008)(66556008)(66476007)(6436002)(6666004)(8936002)(186003)(26005)(5660300002)(102836004)(305945005)(14454004)(25786009)(99286004)(81166006)(50226002)(478600001)(2501003)(7736002)(6116002)(2351001)(76176011)(1076003)(52116002)(66066001)(256004)(5024004)(8676002)(81156014)(6506007)(3846002)(386003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4317; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: R5Felx19e0efcHzOKBgG5QUqHNPEFuhTW1e8Q9Si3tvavXXJnSLPHnwelU+27fAl35Wytmmi+nAniZdjT2DezQfMf96fkdHLo2VrU70s4DfXUZ9OwnBGE9WN9dgfBEQ+NWGaJK3bCQVwY4GtpMF8vaAw9GBKavnHw8emR0BvESFAiCOXTHipxz7pPbyLUgvfKQwp2zhRJEPy1PKd7XVOPoCJISHCrrAVvc0Qonf3BGra2/673EqpJ9kc4Bx3jMPSsRAnfv8jAgsN7hoU8f3m/NvCQYyCrOD2P9K3jpTO9yGPTnYNysbJrjKb5nY3/ZaZ9WmUmEmteMYbs6+8PeC9Fo9E9FpK/R1QmhlaWCY3moHtiPcX86CfaIeQWd946Xn88AekoQVR/WOl2pGEpyAQHqGGCJEnK3ZNIfFuglEeZE0uX8yZ5Zemg1oiAkC7I2Ky MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4317 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(136003)(39860400002)(189003)(199004)(47776003)(99286004)(14454004)(2501003)(22756006)(76130400001)(386003)(6512007)(6666004)(70206006)(356004)(66066001)(70586007)(8676002)(107886003)(81156014)(81166006)(25786009)(5640700003)(2616005)(7736002)(5024004)(1076003)(4326008)(186003)(5660300002)(6486002)(11346002)(26005)(8936002)(8746002)(446003)(106002)(6916009)(54906003)(2351001)(50226002)(76176011)(102836004)(305945005)(3846002)(6116002)(336012)(50466002)(6506007)(26826003)(23756003)(478600001)(2906002)(86362001)(316002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0802MB2406; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 3232a280-4c05-4c94-4486-08d77272d837 NoDisclaimer: True X-Forefront-PRVS: 0233768B38 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G9fayHjuruZcCHSwrJdH7PcrjoXMNIPtl0gGegJJRRvzctbaIBiTG6rzgMYILbi9YnOkOcjSCTu8AtQdVRBWStK9UozgNObmL1mTVp8TRWN6R9EczAUlwr1allqDMhi1q1l5j3a8Dk4G2UBof6C8asNx+qnQdIWHwQqPMhz+FH19PFJMJN11dXnbKaSz3pmM1AIyLI7qjH/M5IKiAmS1hmh0y45D68UYULPDzqkctTy3TC44qPSSDKhvuzfH12AIy0TMZFsLiv0tYqGSh5gCJUiRXja8dpSQFu3dlnQNII/h0An2yXP0jMU9e7JxmJD9VpuKuOxJungR3+XpySFV6S+srTiMyEhsJex0LU8Wr7QNhJafm9R3mQKJs+ezKmfsO0u0UZ+2eoIc4fUbZn4r6/msqZFZAZfr2Ie38bkJMXpSJw9T9BOsbKvIhzzenWHD X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Nov 2019 13:17:04.9140 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a42e163-5e6d-4577-c0ec-08d77272ee86 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2406 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P787VNlH7d2aYxO15L1R1Soowsg8PZrcEAWIXJ087W4=; b=qSn+6wfZID5ZlCos+n+y4zL8Fzjt419K8lVnbcgCSBOzVxkz5apr8gM9jAR5ZauSQzxPTzXuEAFes+ItMwi8X89QfUk+IxDSqaLRg8KIZ5J77z28nveHhXnMemJ4iXfeJJzJQntkaZSmHnSaXV2WqP6WjzGTRhO66wj7EKvv2Yk= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P787VNlH7d2aYxO15L1R1Soowsg8PZrcEAWIXJ087W4=; b=qSn+6wfZID5ZlCos+n+y4zL8Fzjt419K8lVnbcgCSBOzVxkz5apr8gM9jAR5ZauSQzxPTzXuEAFes+ItMwi8X89QfUk+IxDSqaLRg8KIZ5J77z28nveHhXnMemJ4iXfeJJzJQntkaZSmHnSaXV2WqP6WjzGTRhO66wj7EKvv2Yk= X-Mailman-Original-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.freedesktop.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.freedesktop.org; dmarc=bestguesspass action=none header.from=arm.com; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Liviu Dudau , "linux-kernel@vger.kernel.org" , "james qian wang \(Arm Technology China\)" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To support more transmitters, we need to allow non-component framework bridges to be attached to a dummy drm_encoder in our driver. A/B tested for equivalence against tda998x, and also tested ti_tfp410 as an alternate transmitter. Signed-off-by: Mihail Atanassov --- .../gpu/drm/arm/display/komeda/komeda_drv.c | 54 ++++++------- .../gpu/drm/arm/display/komeda/komeda_kms.c | 77 +++++++++++++++++-- .../gpu/drm/arm/display/komeda/komeda_kms.h | 2 + 3 files changed, 100 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c index d6c2222c5d33..2870123bef37 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c @@ -6,10 +6,10 @@ */ #include #include +#include #include -#include #include -#include +#include #include "komeda_dev.h" #include "komeda_kms.h" @@ -72,35 +72,29 @@ static int komeda_bind(struct device *dev) return err; } -static const struct component_master_ops komeda_master_ops = { - .bind = komeda_bind, - .unbind = komeda_unbind, -}; - -static int compare_of(struct device *dev, void *data) -{ - return dev->of_node == data; -} - -static void komeda_add_slave(struct device *master, - struct component_match **match, - struct device_node *np, - u32 port, u32 endpoint) +static int komeda_add_slave(struct device_node *np, u32 port, u32 endpoint) { struct device_node *remote; + struct drm_bridge *bridge; + int ret = 0; remote = of_graph_get_remote_node(np, port, endpoint); - if (remote) { - drm_of_component_match_add(master, match, compare_of, remote); - of_node_put(remote); - } + if (!remote) + return 0; + + bridge = of_drm_find_bridge(remote); + if (!bridge) + ret = -EPROBE_DEFER; + + of_node_put(remote); + return ret; } static int komeda_platform_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; - struct component_match *match = NULL; struct device_node *child; + int ret; if (!dev->of_node) return -ENODEV; @@ -109,17 +103,25 @@ static int komeda_platform_probe(struct platform_device *pdev) if (of_node_cmp(child->name, "pipeline") != 0) continue; - /* add connector */ - komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 0); - komeda_add_slave(dev, &match, child, KOMEDA_OF_PORT_OUTPUT, 1); + /* attach any remote devices if present */ + ret = komeda_add_slave(child, KOMEDA_OF_PORT_OUTPUT, 0); + if (ret) { + of_node_put(child); + return ret; + } + ret = komeda_add_slave(child, KOMEDA_OF_PORT_OUTPUT, 1); + if (ret) { + of_node_put(child); + return ret; + } } - return component_master_add_with_match(dev, &komeda_master_ops, match); + return komeda_bind(dev); } static int komeda_platform_remove(struct platform_device *pdev) { - component_master_del(&pdev->dev, &komeda_master_ops); + komeda_unbind(&pdev->dev); return 0; } diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c index e30a5b43caa9..2fc6cd9956fd 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c @@ -4,8 +4,8 @@ * Author: James.Qian.Wang * */ -#include #include +#include #include #include @@ -14,6 +14,9 @@ #include #include #include +#include +#include +#include #include #include @@ -257,6 +260,69 @@ static void komeda_kms_mode_config_init(struct komeda_kms_dev *kms, config->helper_private = &komeda_mode_config_helpers; } +static void komeda_encoder_destroy(struct drm_encoder *encoder) +{ + drm_encoder_cleanup(encoder); +} + +static const struct drm_encoder_funcs komeda_dummy_enc_funcs = { + .destroy = komeda_encoder_destroy, +}; + +static int komeda_encoder_attach_bridge(struct komeda_dev *mdev, + struct komeda_kms_dev *kms, + struct drm_encoder *encoder, + struct device_node *np) +{ + struct device_node *remote; + struct drm_bridge *bridge; + u32 crtcs = 0; + int ret = 0; + + remote = of_graph_get_remote_node(np, KOMEDA_OF_PORT_OUTPUT, 0); + if (!remote) + return 0; + + bridge = of_drm_find_bridge_devlink(&kms->base, remote); + if (!bridge) { + ret = -EINVAL; + goto exit; + } + + crtcs = drm_of_find_possible_crtcs(&kms->base, remote); + + encoder->possible_crtcs = crtcs ? crtcs : 1; + + ret = drm_encoder_init(&kms->base, encoder, &komeda_dummy_enc_funcs, + DRM_MODE_ENCODER_TMDS, NULL); + if (ret) + goto exit; + + ret = drm_bridge_attach(encoder, bridge, NULL); + if (ret) + goto exit; + +exit: + of_node_put(remote); + return ret; +} + +static int komeda_encoder_attach_bridges(struct komeda_kms_dev *kms, + struct komeda_dev *mdev) +{ + int i, err; + + for (i = 0; i < kms->n_crtcs; i++) { + err = komeda_encoder_attach_bridge( + mdev, kms, + &kms->encoders[i], mdev->pipelines[i]->of_node); + if (err) + return err; + } + + return 0; +} + struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) { struct komeda_kms_dev *kms = kzalloc(sizeof(*kms), GFP_KERNEL); @@ -295,7 +361,7 @@ struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) if (err) goto cleanup_mode_config; - err = component_bind_all(mdev->dev, kms); + err = komeda_encoder_attach_bridges(kms, mdev); if (err) goto cleanup_mode_config; @@ -305,11 +371,11 @@ struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) komeda_kms_irq_handler, IRQF_SHARED, drm->driver->name, drm); if (err) - goto free_component_binding; + goto cleanup_mode_config; err = mdev->funcs->enable_irq(mdev); if (err) - goto free_component_binding; + goto cleanup_mode_config; drm->irq_enabled = true; @@ -325,8 +391,6 @@ struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) drm_kms_helper_poll_fini(drm); drm->irq_enabled = false; mdev->funcs->disable_irq(mdev); -free_component_binding: - component_unbind_all(mdev->dev, drm); cleanup_mode_config: drm_mode_config_cleanup(drm); komeda_kms_cleanup_private_objs(kms); @@ -347,7 +411,6 @@ void komeda_kms_detach(struct komeda_kms_dev *kms) drm_atomic_helper_shutdown(drm); drm->irq_enabled = false; mdev->funcs->disable_irq(mdev); - component_unbind_all(mdev->dev, drm); drm_mode_config_cleanup(drm); komeda_kms_cleanup_private_objs(kms); drm->dev_private = NULL; diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.h b/drivers/gpu/drm/arm/display/komeda/komeda_kms.h index 456f3c435719..b40ba0f476b1 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.h +++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -123,6 +124,7 @@ struct komeda_kms_dev { int n_crtcs; /** @crtcs: crtcs list */ struct komeda_crtc crtcs[KOMEDA_MAX_PIPELINES]; + struct drm_encoder encoders[KOMEDA_MAX_PIPELINES]; }; #define to_kplane(p) container_of(p, struct komeda_plane, base)