From patchwork Wed Dec 4 11:48: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: 11272783 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 18F93930 for ; Wed, 4 Dec 2019 11:48:21 +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 EF43F20661 for ; Wed, 4 Dec 2019 11:48:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF43F20661 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 2C8CF6E175; Wed, 4 Dec 2019 11:48:18 +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-eopbgr140045.outbound.protection.outlook.com [40.107.14.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7A5706E8C7 for ; Wed, 4 Dec 2019 11:48:16 +0000 (UTC) Received: from DB6PR0801CA0061.eurprd08.prod.outlook.com (2603:10a6:4:2b::29) by DB6PR0801MB1622.eurprd08.prod.outlook.com (2603:10a6:4:32::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:11 +0000 Received: from VE1EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::200) by DB6PR0801CA0061.outlook.office365.com (2603:10a6:4:2b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 VE1EUR03FT061.mail.protection.outlook.com (10.152.19.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:11 +0000 Received: ("Tessian outbound 92d30e517f5d:v37"); Wed, 04 Dec 2019 11:48:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a7ad29d86ff89491 X-CR-MTA-TID: 64aa7808 Received: from b2b246179d1c.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 696D05E8-EFF3-4838-9822-C32CE7880CCB.1; Wed, 04 Dec 2019 11:48:05 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2b246179d1c.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G5GTdsb3ofk+B3vK0M0cuo2S+aWyGE/tpIXwTkJ0Upy0wwrMND5vom3780OvGU37CE9tbJJVjfl4rg4n26YYbinfcIisO61Cy8Ai+RToOcoToF0IqKCzeRhrUuFu+vN5y/S6VmpNdaFKMujUuU1AAq65du31XeQAjn6STpu7V/n2EPvY6IBqq/Gfk/w8Vt194F6oYikX2r2LXGjN9RS3vqPAHrmQbn0rQsWsVevJqpcw8eqf3tRBmIB2zKi3eD41Bja81qIk6fLnwwgYcxOdjjPFGeK0cBoi4PTj7ycOZqlB11VQJnnCCCA0iNv6W/zSiyJqCbztbA/LfDUCVMmEzw== 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=Xjhaa9GsGlM51nJym8bd1M2smCmftsU3gd0F6TVRRuk=; b=Ycd/zRGkqocpK2ffSjywdeMDt8ihIdcbNlF66QsiSffQZFGq9ZGINMA+E3Mywp0bvguMRmgqNx3znwkFoTHPt5Z0TrWOquHPag/NmuUrOAF75j6XmNqoJzkTz3v/V81ifPe8KtzEoFe6UHEjv26IETuqxBOmHOSAH+eMtc8YdN05BM2XerInU2h6LSIDvhEpM0vucTvMqXdbqcrcCvVOT8UiVoDur90x0VtLWvDFAyw5BTA1eFfBvZydrgOBGqtoS7MRbkrXrEOunyNZJK6wZueU2AGGlYkyOXov107VsbfjfjO/qMsykLncCFLfOQAUFw7zycdCgVQcPMF0QAxEZA== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:04 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 01/28] drm: Introduce drm_bridge_init() Thread-Topic: [PATCH v2 01/28] drm: Introduce drm_bridge_init() Thread-Index: AQHVqpiuVXCS0RRq1UGHN2fVy/u6Kw== Date: Wed, 4 Dec 2019 11:48:02 +0000 Message-ID: <20191204114732.28514-2-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 413678ab-669a-4f7b-3d25-08d778afd6d3 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR0801MB1622: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:431;OLM:431; x-forefront-prvs: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(14444005)(6506007)(36756003)(5024004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: tISuevjz7NtKVm3vNsVGGFDDvSps0mtU0Rvzq8nxLdXLYu2S0NyXbQ5OGoXPubW1p/DiQmRg3HanYZh6Roh6GRS5ljt50lzN4GolVX/83qBDGmSGFRASA00bjJ0G8jg6C98W9NQpBSYYGFCzmmNGjQEMCOmD1RFuKX8v15A9vGaFnk/Vy2RF2jkJ+qqCHqLSY9zZoZ93FxtHHYhzb4R4pzvClQ7c6/6xcuVZPyP8Hd471SEFtV6kcEv+4D4bKkC6nbxTu8sgl6cKdJDc9/S98bszwn8YIlEJoP37D9NpA++1JHwXCV0r4xf8yghdIGbaMP2mwKQQGpCjdhtPXUamCRFGoHGuemx6m6CQnsIl3I+R2VL+U/+hz5hOK4iKjtBL7TL03i/p5hTHa0LxMmPPpJxYgikwRXcsbxgiGIUwplB/96MfflVak1RP4yigjUkt MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT061.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)(346002)(136003)(39860400002)(376002)(199004)(189003)(186003)(5640700003)(11346002)(36906005)(102836004)(26005)(6512007)(26826003)(2616005)(478600001)(336012)(99286004)(14454004)(8746002)(107886003)(5024004)(54906003)(25786009)(4326008)(6486002)(6116002)(76176011)(316002)(70586007)(14444005)(76130400001)(50466002)(70206006)(6506007)(3846002)(22756006)(2351001)(50226002)(7736002)(1076003)(81166006)(23756003)(356004)(8936002)(305945005)(5660300002)(81156014)(2501003)(6916009)(8676002)(86362001)(36756003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1622; 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: 477886ba-b609-44f2-f6e5-08d778afd143 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aodV53EVbLR7oZpEZx9/yDB+WIMGJ7OMtNaMDZBHy0GonA6wsHnyEUvsh/44FlKxDIQIxaNhJ+MkhBC0Yh4mHG9WOifw1D6ZMuSBfkvsDmeUwFBA84Iz0QXgCiAl3xeaaNipEiKjH8i0fC7mneLTDALwdOnlAEYRmQ5tF1diucpQgUicsoev49XkQyGQP8MpXiTbok3h7awz5p3kSBHpA3sYxJ5BkP1KzQgSwGpwlHo47lRg1js6GtT/z4t7IV1ZUxFnwJM3jVQ6Niz88LoYZj0Jmf59PXzO+dAZgznuKOkwnjUXB/cTZE2MkzTSfpPrkP/Q7FBVspJLFSyHNO7ieO/4MZbLzNt5TfMs12HdTOl9GyKIHMo6fxd+M+4LBdwojqs4+7hvUmcbSLP6RYgqcdmXuRF5/UyR+yr14n6gjUMadwRww8IJFbWmAO1hOnvw X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:11.3811 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 413678ab-669a-4f7b-3d25-08d778afd6d3 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: DB6PR0801MB1622 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=Xjhaa9GsGlM51nJym8bd1M2smCmftsU3gd0F6TVRRuk=; b=3VbH8seW3SUQSdYBl/EKbcaiOIiGiuRTmEK+qiSp1hwKPJ18Mg6Md5+1oqmiUQlz+ap8Ir3YwNUbqxWxIMy/RaRJrMciCygesYe74XUfCiXZv2urC1I6gZ7bTefAEADUTlk69rY1p8Lis8CkQTkes6S3ujY1i1+AspD2FXzKtIc= 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=Xjhaa9GsGlM51nJym8bd1M2smCmftsU3gd0F6TVRRuk=; b=3VbH8seW3SUQSdYBl/EKbcaiOIiGiuRTmEK+qiSp1hwKPJ18Mg6Md5+1oqmiUQlz+ap8Ir3YwNUbqxWxIMy/RaRJrMciCygesYe74XUfCiXZv2urC1I6gZ7bTefAEADUTlk69rY1p8Lis8CkQTkes6S3ujY1i1+AspD2FXzKtIc= 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. The goal is to standardize initialization for any bridge registered with drm_bridge_add() so that we can later add device links for consumers of those bridges. v2: - s/WARN_ON(!funcs)/WARN_ON(!funcs || !dev)/ as suggested by Daniel - expand on some kerneldoc comments as suggested by Daniel - update commit message as suggested by Daniel Signed-off-by: Mihail Atanassov Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_bridge.c | 34 +++++++++++++++++++++++++++++++++- include/drm/drm_bridge.h | 15 ++++++++++++++- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index cba537c99e43..50e1c1b46e20 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -64,7 +64,10 @@ static DEFINE_MUTEX(bridge_lock); static LIST_HEAD(bridge_list); /** - * drm_bridge_add - add the given bridge to the global bridge list + * drm_bridge_add - add the given bridge to the global bridge list. + * + * Drivers should call drm_bridge_init() prior adding it to the list. + * Drivers should call drm_bridge_remove() to clean up the bridge list. * * @bridge: bridge control structure */ @@ -89,6 +92,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 associated with this drm_bridge + * @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 || !dev); + + 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..949e4f401a53 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -373,7 +373,16 @@ struct drm_bridge_timings { }; /** - * struct drm_bridge - central DRM bridge control structure + * struct drm_bridge - central DRM bridge control structure. + * + * Bridge drivers should call drm_bridge_init() to initialize a bridge + * driver, and then register it with drm_bridge_add(). + * + * Users of bridges link a bridge driver into their overall display output + * pipeline by calling drm_bridge_attach(). + * + * Modular drivers in OF systems can query the list of registered bridges + * with of_drm_find_bridge(). */ struct drm_bridge { /** @dev: DRM device this bridge belongs to */ @@ -402,6 +411,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 Wed Dec 4 11:48: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: 11272781 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 477EC17EF for ; Wed, 4 Dec 2019 11:48: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 298EE20659 for ; Wed, 4 Dec 2019 11:48:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 298EE20659 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 BD82F6E8C8; Wed, 4 Dec 2019 11:48:16 +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-eopbgr130087.outbound.protection.outlook.com [40.107.13.87]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D63A6E175 for ; Wed, 4 Dec 2019 11:48:15 +0000 (UTC) Received: from VI1PR0801CA0069.eurprd08.prod.outlook.com (2603:10a6:800:7d::13) by AM6PR08MB4753.eurprd08.prod.outlook.com (2603:10a6:20b:cb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:12 +0000 Received: from VE1EUR03FT030.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::205) by VI1PR0801CA0069.outlook.office365.com (2603:10a6:800:7d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 VE1EUR03FT030.mail.protection.outlook.com (10.152.18.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:12 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:12 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 717e2d4d0e7512b2 X-CR-MTA-TID: 64aa7808 Received: from b2b246179d1c.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F9F0B099-DFB4-4AE9-A4A0-2337A0979941.1; Wed, 04 Dec 2019 11:48:06 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2b246179d1c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=em103aLbp1u9HQhHMFpAwSoGvesKDRirkEW5nG3Be1TydbEKoCWdd4zIu6oQqo/BnrEifXtKuGiNxUJw/jiKoSSqN4XWSKsumyuS3p8gGQ8KsZZwtZUWrQP/6zJX5onVtQBsyYYkAP50xLYApU4DtkQUCuo0JAZF4XlHQcJQhj3PyZSIJnr/pPneNPz6N8oMWGYIBiUKnJ+z6e2ngLKfRYPsUYZY1D2mQHjqJK2wWOghfmDxSY8crgg/jTTQVUmtW26g/Cw2qVWnM4dV2ZilFSguINcQhRnfTZcXESN9jVkdhuzgPWBRs91PKjxMjoAuWMAhb9iDmDYYrH+WHj6J1g== 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=AquXxAbKrykiwCBPKNCkVErB5IursPKASVkIRqtHO4npnZSCjQF7q285UD0tf1HjlORzUgAkHX2SwTpcSuGN8/x8H526U3ZaphB2NXml+MfoWs4/Erf9iarw6dODLdwBqg0cfLpvSWR9SgguZ+BeoDBfYJ2c2odrDcbnWkHIxRlbejOgK2CQzjdboxZYN4Dh69WxY7CMCeC1n7jzQL2UpGIBH9BniCp6Naj2fyDblbqMFpcEmR+yvkOzPGxPtdDmU6uuFi0siIcoeZdbEhX+7ueIvftjnm1LurMqyuBQkyeRImFKN8rIVC4ZVS/MvriZb12y1KAOMD6giVnW+/v+sQ== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:04 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 02/28] drm/bridge: adv7511: Use drm_bridge_init() Thread-Topic: [PATCH v2 02/28] drm/bridge: adv7511: Use drm_bridge_init() Thread-Index: AQHVqpivL9XMRFOhwE2O6FoRhLb0GA== Date: Wed, 4 Dec 2019 11:48:03 +0000 Message-ID: <20191204114732.28514-3-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: e8fb8960-8082-4a5b-c96d-08d778afd73f X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM6PR08MB4753: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: RgCd+RHzocEtpskmBLtyY7/wW8DEc9zhm0qPOzrB3PQA5V4j54pkkq7Rwah9uS7uJVS8DKZl6YfR0FqeZaQFwBvzHf/PDaQsC2Bp4+8wzE7cMzv4JV1UMc5CaXkdEpv8FwjSUuRnm4inC8R2Puqu+0Sfkt8h9MBt4K5lytwUKdFeUF7SJpvJkge8tzxVI9s3pZ633bDYxkdQck8LD06dd4akSZiYISPTypTn64B7Cs7X26kmpXdAqQ5IMyGAe5loZxaOc/GsM9klYb6qJFFmHu1xIqGlY7R6TZMzioefaCQ5wzm4NStfwZgnM4ud9x0cBRbyX1/66VFkTDHVdUcm3+mvR60df9vbbvAwXRua380tM1p3KXuSnSlZ5n2TlOdR321zULR2MMsFYroOr9jQNqpU5YBspgcAkGUNVEwpFfmmSjPHP5RuAGFHw1zE2EB5 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT030.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)(396003)(136003)(39860400002)(189003)(199004)(2501003)(50466002)(7736002)(99286004)(70206006)(316002)(356004)(36906005)(86362001)(23756003)(336012)(6506007)(186003)(8746002)(11346002)(50226002)(81166006)(4744005)(81156014)(76130400001)(26005)(76176011)(8676002)(2616005)(1076003)(70586007)(8936002)(102836004)(3846002)(478600001)(25786009)(6916009)(22756006)(5640700003)(4326008)(2351001)(107886003)(6512007)(5660300002)(54906003)(14454004)(305945005)(6116002)(6486002)(36756003)(2906002)(26826003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4753; 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: a8e4b175-9ff7-4e92-0eb5-08d778afd1df NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FU4UDsJ2lRQhyJUx62cZJpvUQvAgu9rVDA0pLMekhCsX/533UOefV/9ZXO9rRauPtI/EnMpWnrXlqXs9Wvux5VXkaf0HyjiZ97EPu36RPMgKJ+BcJbl0sMua5BKM4V160MlHe7lwyrDHiRz96o2fTEXKgzFkcI+DMegQMwCSegLvzOy5fVsVdNDHX3Wb5oyP5JSmP/rQ0mYQ/yst16yhJk6q7U02Ppj9a8e7LNBlTSWHYgBKqRWaz0AHc78Tq3o3H3bz5KIpQWA9izFVFFGi84Qz7txGMDWLi/3Tw/Ak62IWxsRTCiKz57KNnvILezQvWTNKgxLCgJRU0SGi/OZw2sCoZsfxQZdft/nklT8eCpjSLCm7ubb2LoBQE5fwfLqRgDic6cOwEw0GPC0FaVxKDvWBQZK4lA4LA4/Gp0Isqs3qpZoJZDcuyWdNPpEqkMXW X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:12.1065 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8fb8960-8082-4a5b-c96d-08d778afd73f 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: AM6PR08MB4753 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=KqEffK2SJj3rTIjudwFyYTMxvDX/UiNB/sbU8YtNfAS9++1qEzHD6L/dMYLR4NupzvyM9hzQknfXD31CSOk4Ubl0RH9AfrHJXYhepp9EnUosX5A6qw6z+w8KJ0OHHG04LnpXaViAqaT5X4wCGdVL6IzEmg0iSPtmvt/fzkZFbn4= 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=KqEffK2SJj3rTIjudwFyYTMxvDX/UiNB/sbU8YtNfAS9++1qEzHD6L/dMYLR4NupzvyM9hzQknfXD31CSOk4Ubl0RH9AfrHJXYhepp9EnUosX5A6qw6z+w8KJ0OHHG04LnpXaViAqaT5X4wCGdVL6IzEmg0iSPtmvt/fzkZFbn4= 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 Wed Dec 4 11:48: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: 11272855 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 382A9930 for ; Wed, 4 Dec 2019 11:54:03 +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 1E43A20833 for ; Wed, 4 Dec 2019 11:54:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E43A20833 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 661376F54B; Wed, 4 Dec 2019 11:54:02 +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-eopbgr130079.outbound.protection.outlook.com [40.107.13.79]) by gabe.freedesktop.org (Postfix) with ESMTPS id AECA96E89A for ; Wed, 4 Dec 2019 11:54:00 +0000 (UTC) Received: from AM4PR08CA0074.eurprd08.prod.outlook.com (2603:10a6:205:2::45) by VI1PR08MB3438.eurprd08.prod.outlook.com (2603:10a6:803:82::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.22; Wed, 4 Dec 2019 11:53:57 +0000 Received: from DB5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by AM4PR08CA0074.outlook.office365.com (2603:10a6:205:2::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:53:57 +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 DB5EUR03FT042.mail.protection.outlook.com (10.152.21.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:53:57 +0000 Received: ("Tessian outbound 92d30e517f5d:v37"); Wed, 04 Dec 2019 11:53:56 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cd0d369be7420467 X-CR-MTA-TID: 64aa7808 Received: from b2b246179d1c.5 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D81B05AE-65D4-4C35-8532-B355C79A0413.1; Wed, 04 Dec 2019 11:48:07 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2b246179d1c.5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L+KBbfAU84+ImEnbIBHCgwEr0hBWa85nLqrvcYqfohg1m0QfZlyW3P9ftZp1v/eVUOWid/Pkn6Oq5i7gTCtd8RrOlwkMAQ2D4w1Oqua7PcFfEGVJMjynkDvG98IFd5D0Uty9bwZ2w9cG8A2i08LyVHKizAvV5Y74+COLB2PIQGhLTALVTgPmpPt5bebKcnXPw+/dK2zGOYABWrgtFGmDxJzYZuuM5cI0FzvDIlion2fSveaBN7XoSL68mm6YDqRHe4vDMshC7iovDnT4VEJqZa7sgjj1w096ejXy/66N2h7wrCFfzb198ulyHS0A3I70qeVodkKhgHOFWlEp6anvnw== 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=HrR+yXjDIEHbJRHX1+pVUBG01j4aIovj/Zqj2yFBPiY=; b=Ah203kL8nZSP/pT1ZPVzeNMQLDUIPI3mpDPAfc2e5do1a0JdW7EFs51oOZdrO0CSYLKbvOyZgk5MCIXfti4kDgUwplNFwCj6Tr6t+Xb95o2VwoeQbN8wXoWb4g2pETYBzhTrf/R9mk85w+qKuPwcSYvjQ+aDXTWQVDjx820/Iwtqi4MSAmAEsvqulaL0kH8OfQvLD75kaEJeEXopoa31jpBXEI5HlUyxIewFxZEHx0fCL+1sYhpx3G9feftlZNvk2oI36Dag4k2t55ILbkmfRrIKBg2fxbyZbPxPJTvrIGz+dQ46JbfDUHCjJDJJg44YAMzWfQCRolNGtbKbBTVrFA== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:05 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 03/28] drm/bridge/analogix: Use drm_bridge_init() Thread-Topic: [PATCH v2 03/28] drm/bridge/analogix: Use drm_bridge_init() Thread-Index: AQHVqpiwLcwZikJoJ0a+RtRcqGJSlg== Date: Wed, 4 Dec 2019 11:48:04 +0000 Message-ID: <20191204114732.28514-4-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 0a78a5b2-4582-40dd-7202-08d778b0a4cf X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR08MB3438: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:3383;OLM:3383; x-forefront-prvs: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(14444005)(6506007)(36756003)(5024004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 1ffe5rZOEHbjfYqzzbcXz+/I7Hm2qXR1cP4gyHPmGIp6Gl90viHvajFm7GhBDOGYDFvqSsF/rfRxPVjYXl9h5g+lCrto+a9FXmiv4NLYRlFHuJS85HWnRtzXgwdU6u4xbt4i28B4rHOhJFyu4MUzGtq7skv1rhaKF53Do+DdNlzHEBRYP1E4KJSRheJIQsdOHAaWp/NbvKRB1iHOn1OSwtw4lwUoV0G4RHaeLoWJAgzokfjRQr0e+sFILdxsvT6ZSuqxhgSXBTCGPSSV1PhhMF2Vfs9Pi4bAVdK8YTSppG5X+lJPCbNjm9nzBGtYwaf5Zg4hfRpsXYMcGW0d7Z/HcXFYn6WmUgV1j8EFepnG8QoWSGsHHOQ+hUhGQpORpbDK/qeBNZ5kQVbmlAPT0dVldJZ8UF5KYgFPMacQ+a+SVBTLXaxCKAt6xcSQPcA/Sp+q MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT042.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)(39860400002)(346002)(189003)(199004)(70586007)(81166006)(186003)(2616005)(81156014)(50226002)(107886003)(11346002)(6486002)(26005)(22756006)(2351001)(7736002)(76130400001)(14444005)(70206006)(23756003)(5024004)(26826003)(356004)(478600001)(54906003)(14454004)(5660300002)(36756003)(8746002)(316002)(3846002)(8936002)(1076003)(305945005)(50466002)(99286004)(102836004)(2501003)(4326008)(76176011)(336012)(25786009)(6506007)(6916009)(6512007)(86362001)(2906002)(8676002)(5640700003)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3438; 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: f9a0e851-401f-4cfa-5e26-08d778afd2c1 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KDkpEtSDDETR+/mLjsy3kcemXmqFooO43IZf/KB4AM4jFz0u6YOCrSAXaWN1ZLqOoayje9REi0SCfc+tUKkNmFr5biYnwCXtdf0mWIaahWZgg/OCtTtZailS8YKnFjZER9pZZAHhpFQiHPjBy3p2JWJvE5KHMEVxyVMWAXE3iu3bOuWUs9SOybrYq8lSl/rjBdYsWbt1hc351uEqEO3WTIEMjBHzrZ4gCWxLNWCfG4OOGsB9t98iIe9t45B9MqH+6kmqPWEMMwDBia3Dz5rTRjyxgFG4455HRH8QrWMHDoYYtd/du379Wf8yAK++Dj0V3EBboAp2IMVPR1YnZqCxxm8WCTB4rdT4F0SQaPCjZh7j/s6ZPS/TXTDqEAjBShilZlDD2jzIKy90pr+w7QxT3zrLpoqu6jQfGsg8KDGaY/UH/KHPCZUCpCm7QGx+xqlt X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:53:57.0289 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0a78a5b2-4582-40dd-7202-08d778b0a4cf 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: VI1PR08MB3438 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=HrR+yXjDIEHbJRHX1+pVUBG01j4aIovj/Zqj2yFBPiY=; b=1vdTznAkTHpyjnfO2SPepj4iGEXNjJD2qANwkjs2j+iegVIJL+Z0BNqBmzLCnbRyUowbmH70v6Fgk9vXj7LAwAzs5yvh+UMPg4mssHd3mvt60EDlV2E/QXkErXwtc0JJHFy1jWWeRh3o1y/dmHenK4gvXpYT6PkZMuz8iwclsZs= 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=HrR+yXjDIEHbJRHX1+pVUBG01j4aIovj/Zqj2yFBPiY=; b=1vdTznAkTHpyjnfO2SPepj4iGEXNjJD2qANwkjs2j+iegVIJL+Z0BNqBmzLCnbRyUowbmH70v6Fgk9vXj7LAwAzs5yvh+UMPg4mssHd3mvt60EDlV2E/QXkErXwtc0JJHFy1jWWeRh3o1y/dmHenK4gvXpYT6PkZMuz8iwclsZs= 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 , Brian Masney , "linux-kernel@vger.kernel.org" , Vasily Khoruzhick , Boris Brezillon , Torsten Duwe , Laurent Pinchart , Sean Paul , nd , Sam Ravnborg , Maxime Ripard Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. The setting of bridge->of_node by drm_bridge_init() in analogix_dp_core.c is safe, since ->of_node isn't used directly and the bridge isn't published with drm_bridge_add(). Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 5 ++--- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 8 ++------ drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 ++--- 3 files changed, 6 insertions(+), 12 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; 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 */ diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index bb411fe52ae8..4042ba9a98d8 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1585,9 +1585,8 @@ static int analogix_dp_create_bridge(struct drm_device *drm_dev, dp->bridge = bridge; - bridge->driver_private = dp; - bridge->funcs = &analogix_dp_bridge_funcs; - + drm_bridge_init(bridge, drm_dev->dev, &analogix_dp_bridge_funcs, + NULL, dp); ret = drm_bridge_attach(dp->encoder, bridge, NULL); if (ret) { DRM_ERROR("failed to attach drm bridge\n"); From patchwork Wed Dec 4 11:48: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: 11272787 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 47D71930 for ; Wed, 4 Dec 2019 11:48:26 +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 28BF420659 for ; Wed, 4 Dec 2019 11:48:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28BF420659 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 D6D616E8CE; Wed, 4 Dec 2019 11:48:20 +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-eopbgr30059.outbound.protection.outlook.com [40.107.3.59]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6CD806E175 for ; Wed, 4 Dec 2019 11:48:16 +0000 (UTC) Received: from VI1PR08CA0162.eurprd08.prod.outlook.com (2603:10a6:800:d1::16) by AM6PR08MB3144.eurprd08.prod.outlook.com (2603:10a6:209:48::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.21; Wed, 4 Dec 2019 11:48:13 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) 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.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:13 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6d6903a92b05bcc9 X-CR-MTA-TID: 64aa7808 Received: from b2b246179d1c.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1C65C39C-92E1-4B29-9DE1-4CFDFB0AA921.1; Wed, 04 Dec 2019 11:48:07 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2b246179d1c.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OqpCeYv+pC8Wv75GQIgMx8N8gYEQocqMdEvU/R5jaXFbhaRpDYhfgjhkQmIb4VjienVOcnyhisEBqPlO+CirqGTcKEFDKyvhGNeSpv9PK2gtXuKFlNKVYxDyZBHkn0i5XeLa4MHQtttGXShHBrWtgap7isims0Wg6VDzI3M1hNFt5oLBYY5MRaGjeBYDuiWhxaAJw/qwULARso3MF1FJ9sybZ+9vCa4Vs/fNEGMirb9sLfmk0kjkzAuI7q33wGjqRovAQbVYZPUvett1hFaH/gShr0mANlGeEAS9RonkZF8ZaktqwphDAL0CD1nsYcm/Z+lpDF5iRcTuhW5JvUU4TQ== 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=Zvai6gVyBwfFpTEFfB0qAu1JqqAn4B9SyOYngFsyg9RhJKHc4nARd+ABArxqlqd7h+oT8VqJULb9ay2xHH/8irslpeNoVVsAd1DMw5HVMmPzLQdiQSkGWeCO4plhxSELSCnHK9ve3oc06Ont9eutZF1HsUOKkuUD7Xny6nlj3OaPafs0av7gH9Gs4F3Rtmy1arJVjjilJokhN+LVV5Ln4My3yCB2/2se1HP77Wp8txvQSRbuKE1k57ZO14jboV7GWJzp+vhD4hZ2HUy3CnhKMk5J2cY1FrBS4QcmzWTUnPrRcgfNKl/j9X+H+OsN19QRNjI8l2CxtuLQ37XprVNRQA== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:05 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 04/28] drm/bridge: cdns: Use drm_bridge_init() Thread-Topic: [PATCH v2 04/28] drm/bridge: cdns: Use drm_bridge_init() Thread-Index: AQHVqpiwW/k2p/w8QUKECC27jnK8Tg== Date: Wed, 4 Dec 2019 11:48:05 +0000 Message-ID: <20191204114732.28514-5-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: d4278031-11f4-43fd-7566-08d778afd80c X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM6PR08MB3144: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: PNvEq7imDomNeIWunAfEN2y9iqsit1BitK0C75mETaqlLBQj0rgKQgA8DQXYRwQGQM639RCdlWmxUCsoGW4bdczbWGJWrGNIYazlMtaoHW2KS6Q0SOhuFm/Ze05LdUkweiYOWdXhoXZ/GNR6oS12i6hSM6YgUtRwj+6gsFemEoWjqM92EffLfi6Qyz5FSGHhakuYtH1knxFxAe7O+W4Xm02RPgPj3XVdwLwGIyjS+jCEFLrSdXL2jvnUj7N25e19IZlOkFc6xrXuN/f6EpW5vlXJHixEFDOT/c2ryX8WOKXcw7M3ShYfh7kKzK5dWTIrVMfz6isYQQvAinjBb3EmDfFObL9owi8tSbmLv+f2pP3aLEiOsUinYrLvW/h3LocqFfP3aDUH9/MmRSM8lJ5uyi5vHKOXsMuyKygTyASOOLBsdji5Zc/cMErImCA2Dv4P MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 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)(346002)(396003)(376002)(39860400002)(136003)(199004)(189003)(8676002)(356004)(2616005)(107886003)(7736002)(186003)(54906003)(11346002)(336012)(76176011)(25786009)(8936002)(8746002)(50226002)(1076003)(305945005)(6512007)(102836004)(26005)(2906002)(22756006)(81156014)(4744005)(6506007)(81166006)(6486002)(76130400001)(316002)(36906005)(3846002)(36756003)(70206006)(5640700003)(2501003)(4326008)(70586007)(99286004)(6916009)(23756003)(14454004)(26826003)(86362001)(2351001)(5660300002)(6116002)(50466002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3144; 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: d668845e-e3b3-4ca4-2684-08d778afd331 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5JVhq/OxhgZ3aOQDiCZKtpDqwtCnC6pFPSc42DJQyXVaEMQBqQDlfQUiQYgt/o85HHLbbdNkMsdHai/kx6s76+DC3S6sFintJifmpSwrrW0J5JUJOL2cagMmdwgRvuwSDI3qX6Fhqm2yzrVVIcV5CE1QWI94C1FRbfhORQkGj1M4qogAyCpEmXUkSYmkkEHDt/EICRxO145kWqpWe8zELJEPOMS0wlbmjrfk8qTVct31KbysI7FATnJ/w940ljsXxB7amrE1NybLm1Bw9cC9gF2a3EffZ/CCkxlTW0MRCX11J9Y995/ZBdtqn8Jix7qhGupkE3GRaDAVElusA8KvSqJvpdfw9iHUFi9qGDF0gT9qHMCuZtDKLSvhisHCPhyqrBiCviRmbB3uOZVYkao8CEboCOKLBmjMB6GUtol5bsOXOraxMs44kcCEHCrwr0xU X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:13.4969 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4278031-11f4-43fd-7566-08d778afd80c 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: AM6PR08MB3144 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=wDTcT+GiRb3Rjto8H9ONU/TWpWcdFlyoy4D99uhWgnSPQ03ACzUoCsj+whvfJPSrW/8g9r8QXZt6pp3p4nLOfJf9CaW2kd5Vy7CYIs+75NS+JL/Jw8XqmTVn/M0bExrFuIYoy14Wm3fhdaGc6gmptX6t/ElRJ72UFQaF2GRmp3I= 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=wDTcT+GiRb3Rjto8H9ONU/TWpWcdFlyoy4D99uhWgnSPQ03ACzUoCsj+whvfJPSrW/8g9r8QXZt6pp3p4nLOfJf9CaW2kd5Vy7CYIs+75NS+JL/Jw8XqmTVn/M0bExrFuIYoy14Wm3fhdaGc6gmptX6t/ElRJ72UFQaF2GRmp3I= 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 Wed Dec 4 11:48: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: 11272791 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 DB105930 for ; Wed, 4 Dec 2019 11:48:31 +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 C157020803 for ; Wed, 4 Dec 2019 11:48:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C157020803 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 C210B6E8CC; Wed, 4 Dec 2019 11:48:20 +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-he1eur02on0607.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::607]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFC6F6E8CA for ; Wed, 4 Dec 2019 11:48:18 +0000 (UTC) Received: from VI1PR08CA0241.eurprd08.prod.outlook.com (2603:10a6:803:dc::14) by VI1PR08MB4030.eurprd08.prod.outlook.com (2603:10a6:803:eb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Wed, 4 Dec 2019 11:48:15 +0000 Received: from DB5EUR03FT059.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::202) by VI1PR08CA0241.outlook.office365.com (2603:10a6:803:dc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT059.mail.protection.outlook.com (10.152.21.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:15 +0000 Received: ("Tessian outbound d55de055a19b:v37"); Wed, 04 Dec 2019 11:48:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 874064abf3568cd1 X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F2A5E4E6-D138-4B4A-A292-02A1215F4B21.1; Wed, 04 Dec 2019 11:48:09 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTK1AaUivdIof3/5nwpn7TozAmjNzEoX5VPodlo4whyV3GEyBpBfvQhggUmSpDJzFgEMDfzCC7uLf025qmzP2MIVmsE9lTGXDYIQ2bLc9lRv+UtpJvxUSzjFMcSVv/zFC+CGOyx+ganbJknYWO+0+eKILYIyIk8KGn6SXfOndXODaJR+sMC40/Nb4w76Ry4PkqpMru+v5mUdAsRKkXhVbt1t/qEbLc5fAv2+fTNq2mYmSI1HD5kO+XAqnr2PQgns3v6FH+tdc43j4/4Rki4eNQ+OmJO7P8VWuZj/6E4FdT+aaB9kmWRCY/fzRTvbRPm57A1GN36vJh0HE8w0OnMbCg== 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=gN3Owv2jCuI1LnjWgmv47ZxJkFKdicdeXMAo2a3mib3S52RuUcbK5MwxNKYZSDgMioV4MwgarlKtA6QAmAhP0rqbICoEWoTL1QbytOw8Fpm6P1JGXZAUbaSuG2f+xGSVGmA6Xf1rQi6Aw0YKf6qSfAxdHRFPsm00n3gUBfG+Q2/x8QCtoDLyGSW0T+FyJ9A44FAT2VZ20RQ3gfAQAUZNtXmVVJqoQvzHvRFuATjm/ypM38N7FxwR5R9TDAZ8oGkTMIYVjdQn1yH2JDM9DvY1rIomDpQCzVCARtHVJxTORG/TXHikWuVxkVBtKICAXxu4KgfG1CBO9cnCBr+B1a/XPA== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:06 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 05/28] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Topic: [PATCH v2 05/28] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Index: AQHVqpix5N1UMtua3E6i7lQhXvu6XA== Date: Wed, 4 Dec 2019 11:48:06 +0000 Message-ID: <20191204114732.28514-6-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: fa6b5dcf-59a9-456d-2591-08d778afd92d X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR08MB4030: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: IN46WK0zdOcas2nOV3ChnTBi9Mx7NAQl+gWiMExRQ65CujbceMbaBZnfUYCMQ68VGbUg+LC0swznpyfaubCK3EOAt3jsGhcRSMbnt1Lyv+OuHCT4R9D2JIMlvzjx7lK3Pwru0BfPzhsqgGec8iq/occKB3j7waLj+aM2E9KjSvK0eMRuAYZpAX0HwUHoRa+VFWWzNjIyH/P3hXaKSIZcnPn3KtSt/g5x/svDB7x5vL5XeLTOPMPXlENkXCwMq6FH5CTzX9EYFpFMj/i50YHFi1Cp17Y+6MDusFMOC9EXf+20r36+1Rk2JN4SXfr8RQLsDW6JZ6lJSvuDPFCwIM9VYSdbDSYEaFFysAKDZOjErlH9cEqgxhkgbqlduT7pmRxFOrOmHb/XyPFhVg2oJwKQ1yGKB3h8Nrwp2m45KoF9G6V3Gnjk0KsbV0ydo63EJeIW MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT059.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)(136003)(376002)(199004)(189003)(478600001)(186003)(102836004)(14454004)(5660300002)(36756003)(11346002)(4744005)(50466002)(23756003)(305945005)(2616005)(22756006)(4326008)(70206006)(26826003)(76130400001)(1076003)(70586007)(107886003)(26005)(7736002)(316002)(8676002)(6512007)(54906003)(336012)(76176011)(6116002)(6916009)(2906002)(86362001)(6506007)(5640700003)(2501003)(99286004)(50226002)(356004)(8936002)(25786009)(2351001)(6486002)(81166006)(3846002)(81156014)(8746002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4030; 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: 5da8f555-4496-4e19-2693-08d778afd3ab NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ieMnGwBRm+zFC8AowMFSvA2XZGUqpA7IARvmPXpJmfMCeFXKhDxRaz9zVQHChyl9HxcKW7LrVz1uSpgSXCqIOT6wONDfZbYUuCKieWtCAM4gJ6lrbhPghbIwmYIfolyaq4XoIg+i11GFyO8JO+VOKrgbi7ZCdxxnFk4zGEGm3ZcUAgufreCVya9gh9OS52KDIKBN5HXQFB2vAR6C0ZsJEhthlAosjuUecpLfdR5X4Oyc+fRwVoI86z5RIXPr5fIkCBf8AlH5rX4ibnA0Azj7tsWbFVrKlC5wGvZNzKbJjcYxonjxTr1AB9XeA/8uM8afWgkI99zkZ2s3CGQ8iQUt51njN115XUkf2DMkBzKeKfTQn2UUI/T+A2w/JxNiq+OI3McP1K0M6Hx552nRVyrPbOewUh4d+yBW/hTpoHuYJ/7TcWp+PVaK7E1ZQPv3b1tO X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:15.3878 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa6b5dcf-59a9-456d-2591-08d778afd92d 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: VI1PR08MB4030 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=Fd0OGDB8+UM/HnzHYjR6RDrj0AuyvIMeqBr7sOTavTAQC6eStzv01tXxazQJQwhLVl41qP7eYC3XYX+7+lOXSB3B2CRdEwOSlopUAxNwm6SYkzO/0MVbq/x8uHySNj7+9vQlxCxeuhzOnhUZ2Ce7FDeYx+lqkmnkiQJsBfikukk= 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=Fd0OGDB8+UM/HnzHYjR6RDrj0AuyvIMeqBr7sOTavTAQC6eStzv01tXxazQJQwhLVl41qP7eYC3XYX+7+lOXSB3B2CRdEwOSlopUAxNwm6SYkzO/0MVbq/x8uHySNj7+9vQlxCxeuhzOnhUZ2Ce7FDeYx+lqkmnkiQJsBfikukk= 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 Wed Dec 4 11:48: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: 11272785 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 37EE513B6 for ; Wed, 4 Dec 2019 11:48:24 +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 1655D2077B for ; Wed, 4 Dec 2019 11:48:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1655D2077B 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 C38766E8C7; Wed, 4 Dec 2019 11:48:19 +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-vi1eur04on0610.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::610]) by gabe.freedesktop.org (Postfix) with ESMTPS id 316A06E8C7 for ; Wed, 4 Dec 2019 11:48:18 +0000 (UTC) Received: from VI1PR08CA0234.eurprd08.prod.outlook.com (2603:10a6:802:15::43) by VI1PR0801MB2000.eurprd08.prod.outlook.com (2603:10a6:800:8e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:15 +0000 Received: from AM5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR08CA0234.outlook.office365.com (2603:10a6:802:15::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 AM5EUR03FT033.mail.protection.outlook.com (10.152.16.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:15 +0000 Received: ("Tessian outbound 92d30e517f5d:v37"); Wed, 04 Dec 2019 11:48:15 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4ece2eb33055af6f X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FAFB5E4E-1174-4539-8B17-A85DE494B0F6.1; Wed, 04 Dec 2019 11:48:09 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hsNUgPB5be3q+u2kjNpYqyOrjh19A+ZBQOk0vFj1jOjwjc+rFqk3gsLY8pwGubavO2igxfgeZVe8UVSpS3abFXdWPBSG6LBY9yv8kHtTutj87WHgusFlK20+kRTevLEgz1elLRZPiRUYKKvBC6jRGSXi9iuXBv5X5f6hfoGrhEmy1yw9ZRAJMYNH1XAqtaXxYiOWHh10eZ+B9wNIt64unWBrY30lpnOX4uYB9JfORZPubFHh5NjrFSMe9GNTCfo21WPf6CIk2EpAh1SlOa8Tr61nMwXMeqwsSM6JrhlZ8eK5bhZ5TJ0tzrzlxw1K0AMb7RNHMlJWd5amVWnjw00/Aw== 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=eZmAWafuGxFKmDTVIuTq11MmpOQhk+m1lNBV8j53GX9aIzaoOgJ8NMjgC3T+fdq287nGaeVpo9CLVldltmntr8yjNcXjg8Bd4L0xCC2Su/MvV6xBUCv80UxrAP++MAeyKq0Ce98hFv0/7uMTZyZVfT9o6n0rU73OFQxYh+aBgqRDCSZHrgw1rfCNvkgZT/pmrXeddp7EmUffN9qe25uPeFAKoTF7tqkVogeeMjsVwAOQm6ZYSP13dPtsHodA+F6pJ6mA0nspc3woWUvlpgk+I44A3ujqMdNYhAtiPMp76uLsakwxpk2MIMw/bgzX7TJe4vpL2FRptQni9GYQyHqsHA== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:07 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 06/28] drm/bridge: lvds-encoder: Use drm_bridge_init() Thread-Topic: [PATCH v2 06/28] drm/bridge: lvds-encoder: Use drm_bridge_init() Thread-Index: AQHVqpixLTYeoXxq3k24Lvd2CHXKqA== Date: Wed, 4 Dec 2019 11:48:07 +0000 Message-ID: <20191204114732.28514-7-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: bd4028d3-238b-45cb-65e8-08d778afd95b X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR0801MB2000: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003)(5024004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 5WwEJXi/rYpSxmxs9WPWYjLnVWnXyrs7wSFhsXfqqn+TINeuLsOYM7hf2l8Mg+AzWB+7iEaEhdyv7gRanHEXNn+Iqc8KcfrqnbVRpDeCIAtEPlbR+CEkFkydgSeGRz0asM0FWkyj+stN5P2wUjh0HONL6RO/kXYuLpph8wQyjkex+kbE83aUPI13EBN982G2KYyCtXZ52Ibv1qZLc0UD3vVsoUDDibUGAW9HXDLpmtfTF0wQ9GeEjFHa+Q84TyFXbJl+GsU6zOhJDUR0A5jF3LpLSw86rIx6sK6qmh40WRXpId0h3CuwTdN768pSrHE4vU1VMlBe8kh3krjlmlrwYnqxmON4BZtRxHa5gQP3x3OmCAAGQcD7rnelpedZyYw3L+ET+eR2N83P/vaSHr4IDptsPpxfILGJ76LCjMOi7Qe7mKwWpK0tFSEVq2wenQ+f MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT033.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)(2906002)(50226002)(2616005)(11346002)(6916009)(305945005)(76176011)(7736002)(5660300002)(6506007)(26005)(102836004)(336012)(81156014)(316002)(6486002)(4326008)(186003)(107886003)(81166006)(36906005)(8676002)(8936002)(8746002)(99286004)(2351001)(54906003)(5640700003)(1076003)(6116002)(3846002)(70586007)(86362001)(70206006)(14454004)(36756003)(356004)(23756003)(22756006)(76130400001)(50466002)(2501003)(26826003)(5024004)(6512007)(25786009)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB2000; 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: 34f5fbeb-c1a6-4b40-8db5-08d778afd434 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cglmmPui4Sw4Bvj+PT7U4jG0GDoYj6pLxfYneH1h+I2CdvbAUhASo8U9MLA2cRFTATb/f/HMiogaP+0Iyl8Qleg9Qfy35l0gG5h8eUkb/P+Egs7/Nim49UPRiWIhbefUsog69k4VzRHq/Rz5iH1VazhFQPaTaRDupQKkHknnssXSNsegVMRoTxubE31cppyHxybq3wDfxgCuFktk8tjl+xUkziiPlqYDQ23fDxqfdaBChiZP2ttnVNf/IWeUVfu0yoYNGMPEOsGu6NMgcgYuvuAGIKj6yUEMYqU8qW3x0oTLQXe7LEIKbx+meS1PftgOSQDP0/VqJRl0sOSwz1AWKRMCz4RyL0UG4qyMCydxDYh+O/65d9EBl/rg+1vnmGDUEqIdyYOmGZ+i+LfnAGlGLepx7JbW0J4/fLINEV0JhmWwgDNlyPKw8JDbK0A9xV6R X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:15.6889 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd4028d3-238b-45cb-65e8-08d778afd95b 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: VI1PR0801MB2000 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=c9jMVbTc0lbvCjlCdGsj/BZ0F7HpLPRahzoWiifeiZgKgdL+hAe0vaZyYvRhKVxyiboMOsgY77DyeyVqb3Qahzl25A/ix3lgDdsdjSCX5E9uhC4NowkZQf05kLhBK4uMkIVtupiFp364uPC5Os3y4He4Nfg9Al8QPTNRfcRn6H8= 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=c9jMVbTc0lbvCjlCdGsj/BZ0F7HpLPRahzoWiifeiZgKgdL+hAe0vaZyYvRhKVxyiboMOsgY77DyeyVqb3Qahzl25A/ix3lgDdsdjSCX5E9uhC4NowkZQf05kLhBK4uMkIVtupiFp364uPC5Os3y4He4Nfg9Al8QPTNRfcRn6H8= 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 Wed Dec 4 11:48: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: 11272793 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 D2AC113B6 for ; Wed, 4 Dec 2019 11:48: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 B8FE9207DD for ; Wed, 4 Dec 2019 11:48:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8FE9207DD 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 E5C9B6E8CF; Wed, 4 Dec 2019 11:48:25 +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-eopbgr130088.outbound.protection.outlook.com [40.107.13.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF1A26E8CF for ; Wed, 4 Dec 2019 11:48:20 +0000 (UTC) Received: from VI1PR0801CA0079.eurprd08.prod.outlook.com (2603:10a6:800:7d::23) by VI1PR08MB3487.eurprd08.prod.outlook.com (2603:10a6:803:88::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Wed, 4 Dec 2019 11:48:17 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR0801CA0079.outlook.office365.com (2603:10a6:800:7d::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:16 +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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:16 +0000 Received: ("Tessian outbound 15590139dbb5:v37"); Wed, 04 Dec 2019 11:48:16 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a342c5dfa3edf21e X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7D87E0BE-5A85-463A-8541-C3256AAA9683.1; Wed, 04 Dec 2019 11:48:10 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A5MggrRW2E/HAmB0VwVERjZZyhEJWHwQqDN5ozzvU/VSE7CbiSgP6ms2Vc5cPAeiE4dyYeJtPgPNUQjh69WVX+LJmi4TJ7xLZoXFiThUaPRyMdDytkXBJzHEaXDiKT7DPlxRFHfSk9FB1Ji7U6BNm3jXUC73SileqO1qMEKQX5H1Rb76OWDVdit+5Q6ipq07GVxCcIMlZHWL68ucVNvPnhojqXfjlkzA3ehIzDggkyWqAhxDdp+gk+yMk9rnd3yWD+HzWeuyjgIckWqwrECgvkmWrpQRpX36HJDn0cUUVo1YRXETURsL1XJXqWHUojvEYjQJIPCX0qea+unLWnSqIA== 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=gxBeW+3E1xf7wgfmiuT142BMvsU3Vq0i3iGiJ9hLgX6zXurAhnO6jAFxeWHZFFVdAmNcaFPZxRrLr/FqtD7tQQ6b4F32EgMeeAieUbJ8O4KKRmys5nxHzK5X7p1pd54l6dIcfie8E7gnaZmExfgqW1IkmFLRUGTNRo9r9Qb1gFtwkMXSTZpRhM3XxfxL097WRFfOVVcX8oDgZUNyv7sxZFdVRVER7e+xrDebj4RVtSj4Yoch7FFuQwgbDb8otcA5fSD0yIlWkAcKWIQ5ONu/TtZnBUek1pfbxjhHgrOSFlFXs7OYo3bfWK4q3/AdvJGoMfBPEA+13J3qNlgtVgTgRw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:08 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 07/28] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Topic: [PATCH v2 07/28] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Index: AQHVqpiymrXEMj6obkmjm7/En3p3CA== Date: Wed, 4 Dec 2019 11:48:08 +0000 Message-ID: <20191204114732.28514-8-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 19ee85c4-8696-49bb-f0a0-08d778afda02 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR08MB3487: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(14444005)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: MKdSEqua5txfkgGZXQHs3C/HeGq0rfWVoEDU7HSDz4KJdhsLrEgBREJIvY6EuDqbMGS56ok1PYCTd399k+QCOjlCgXo+hl6PZQQgkUrQsSIPluEjo8Jg/pRt48S3yTEzb84XCO/L8rUHqjLZmlh3IZ6IleqZfyIVk0vS2tPeGHxcxJ0zdjMI18XQDGwYysgYKDS8x7H5/4ShSbLAAaTL7IGrHpbMomFOF2iv0WKsqM8OC4DtXhPWjykllyJUtgMaetmeDFuTgjVTRSVytDlK/UHufkbtox8Eslf4h/wTcRbyOmm03hPYVA8BHjIAIb2PzlS+XVkLi7hZTvLcOV9MlPPDnJ2IJPoRpEazlljV+mTOhGqELAc0aZsadsCgg35cek6oz5FVaWBQptfyPvd2UL72L3sEMuZaISjN1ey3DxazrrA9iTiofhkbXYVWGwn8 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(70206006)(14454004)(1076003)(36906005)(54906003)(478600001)(11346002)(2616005)(316002)(3846002)(26826003)(6116002)(70586007)(25786009)(5640700003)(50466002)(99286004)(6512007)(81166006)(81156014)(6916009)(26005)(6486002)(23756003)(8676002)(76130400001)(76176011)(36756003)(6506007)(102836004)(14444005)(107886003)(22756006)(4326008)(50226002)(305945005)(2351001)(356004)(7736002)(5660300002)(4744005)(186003)(2906002)(2501003)(336012)(8746002)(8936002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3487; 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: e0c94f08-2ef8-41aa-905b-08d778afd4c7 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M5SrrW+MoTivDxMcRdokP7KY0cUhy9jsZX4Raie5hPXFgl1imz66q+ja3/IAgsnqlf0DNaoDAIcYlqH9F6oRL/0cS4C3tvYp2ySAu3Fkj21jNoSorShllC+s4Z/Afj6KQNWPp9NJDEmOg5b6vuGNistUiSasCj23S0SsL7WLnrDeMvBiIqF2krReRDweyOHtt0fXNNmZergG6sEv6NtYjh1PEpLMpd9UyzPm79hjhowqhzhXuwKn+JUkAP6QpuZX7n+P3XzwN/vzKIUhNfhNEPKFVW924LzzmAeKrV2QWtBtu2/25bklgbFHFMy7CTF0w1fJ8ue19oaL/svY/UAf7uZ2A0LVDos8ZMUu6mnSvZIu8OcBi8gVf3mtT3rGE9TlD1fG3xG54t8M1sRnteb4QB7IQk0J9A8Kt+TGkbGl/AeNjhDk4lp4n5rH9WVt6T8X X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:16.7839 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19ee85c4-8696-49bb-f0a0-08d778afda02 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: VI1PR08MB3487 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=JDz3HQWPwH+NjMGBH2yYBGHDiHQOOZfQs1cQ13uOd2EPRsx293z8LA9C/+6zgmA20OIQ0+28eaJnnaw0AcrJ37/Hibgz4NwU7XmgLk6Rv0rp7HsMIf+Ag+bEDAMP+yEftwNgulU+PU4fCtDpFfIUSEzEddUkLBnzBoePIlzLd5g= 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=JDz3HQWPwH+NjMGBH2yYBGHDiHQOOZfQs1cQ13uOd2EPRsx293z8LA9C/+6zgmA20OIQ0+28eaJnnaw0AcrJ37/Hibgz4NwU7XmgLk6Rv0rp7HsMIf+Ag+bEDAMP+yEftwNgulU+PU4fCtDpFfIUSEzEddUkLBnzBoePIlzLd5g= 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 Wed Dec 4 11:48: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: 11272789 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 2BAF5930 for ; Wed, 4 Dec 2019 11:48: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 0D1E820659 for ; Wed, 4 Dec 2019 11:48:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D1E820659 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 742906E8C9; Wed, 4 Dec 2019 11:48:20 +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-ve1eur03on062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B4C96E8C9 for ; Wed, 4 Dec 2019 11:48:19 +0000 (UTC) Received: from VI1PR08CA0157.eurprd08.prod.outlook.com (2603:10a6:800:d1::11) by VI1PR0801MB1823.eurprd08.prod.outlook.com (2603:10a6:800:5a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:16 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by VI1PR08CA0157.outlook.office365.com (2603:10a6:800:d1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48:16 +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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:16 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:16 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7d2b493a6b18cf10 X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.7 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3A9492E8-5F22-4BB0-8745-A2FB1B13939A.1; Wed, 04 Dec 2019 11:48:11 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HRPP6zms+jidUZU5mLeXrQTG6Sy1+Wpg+GMn9kFSjzriRhFgcganqwW3Quo60KxA30oZVcEdvc8PvCNmHAA+4y5l16vYXXd3Zqjj7RVgyiQ2jW4xCnStqaLDxXMvgLgG0wOAatw9F/PEnv88g5QTDARH7kc1MrtOXVJuWq7Zd/yihAohbgMBvC0aKus60/iNknaYUxxPegfEiAvlcrhsdVb5iik9wqMlBP7NzUiBjJkOdcOifICJMgY6yYLOHNAwkXo/bcJKYTQ/bYOdBQE4J+X60+Rnn7VJOBL2u09HY7JdZIRIoRHICZAlD9DbZGT6kw9ziasH30SfBRMdIw5wUQ== 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=VU8oQ4DR11oQwM0rv0sDNgsWGKLPw9ImtaR8fE1ZrhW0vAuEra1KFKkl3r0f94pKmS5IONAK7/f3OEriH7NxKh25CPwf+Vw3Dib7BkPBE+o0RFidFbarzzk4MqB8tNhtwxJm1ipd4jfZivSY6jadD/XBJMSdKlnW4RED/ifg7acw4wo+NRX3s9nyVW4v5ZMkX4vMnDas8CKGRehalYM/vbDdRIqGU1//nSQAa4lyLoJYy/aytR+CZx9oiMxHMSaGrzsRcCD9SJUVS27kthwPIisWztlck5Dzxc+0CkRHvrVgfQfk5iAfpu3XnLwf2Jg2T7IYXugzBPvHugCP4Jzwkw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:09 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 08/28] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Topic: [PATCH v2 08/28] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Index: AQHVqpiy6ytrz+vg8UKnMUPo552Mew== Date: Wed, 4 Dec 2019 11:48:09 +0000 Message-ID: <20191204114732.28514-9-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: e5cd02ab-09d7-4f49-df27-08d778afd9f9 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR0801MB1823: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: u+z2xKS1NpF3jRkmPj+e6cu+Bk/7M6ZzZs1O0VaLdCv++pjg5iyKhr2pFJIH81IzRBH++/rA+IKqeTIaQQYVEoKiBP+fU52Hc2pedLz74TqVJWMBo9kXls2bgNR1xkNGidxfYaS/Tjc9EOpvG7Le1ka2nrpKTgQVjlCzl8IeAZ15jlzajRX1hi280FiP3cXFQT7CBvsUR+FSEGLEkBWwP6riY8vziK9AayHbtEVKr6sesBDP0AMZmNMIBgy774WyDBBEAAQ2N5hsmydUE6rnlLSkhnhnKt/qdwUnPWK11+7dbXYmB8BBCVInStQPD4zbwcp6XlDjBj28UViJ7xGx6UIpLzv33wiZYtMjDdAs7kSovLl4YECDdZksyxKA1EP1G2UIsn3G8zVtmoAEm5rprPo4vlQCS/K5MGOyIXNvymCEaKYXYTT5f6rIz4T/+xuO MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 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)(136003)(396003)(39860400002)(376002)(346002)(189003)(199004)(2501003)(26826003)(107886003)(2616005)(336012)(5660300002)(99286004)(1076003)(86362001)(4326008)(76130400001)(478600001)(6506007)(4744005)(54906003)(6486002)(6116002)(14454004)(316002)(3846002)(7736002)(22756006)(26005)(11346002)(186003)(36906005)(102836004)(2906002)(81166006)(8676002)(8936002)(81156014)(23756003)(8746002)(6916009)(356004)(76176011)(5640700003)(70586007)(6512007)(25786009)(50226002)(305945005)(50466002)(36756003)(70206006)(2351001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB1823; 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: 68fad433-7271-4028-ae80-08d778afd545 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: igZMy2e6Nc4bO6o2c0wrMEi8ejVr7teGReVOiuc3lZysiTMIli79oPorJEcc8kBI5L8iH1GGkyrynqXTHlcU3rJFIV4CRpDJTFg0aaAV0JYrT5KTZMLGc+qR7wWIEgfDGa7hI5R/8pFdGoPhhTsznsKSBaIuajE0e/qDYT0y2g09dfyqWBe+hYBHJxDu9DmzaGBq5D7UFk+CUHFIsLM3k4FW7RtLh1asS1sX3imDMQW51n7IfmFK4pncXU2jCiz+D7yC/RtFPvzDFeMmMrSAWCISpQmg3fmRCyuqDKHp5DvhlbM6g7qi/la6SAdpRatdoPdzwzvqMzP/1G+Y9f/l0M2SbjSl+hPZ7qszyA1wXMJGshnJkWIDs7wYIZa9bocdF7bXSV3sy1630RNYkkR4aF1d5nZzh19eRjbeazy2MX3slPBQCW32866B4nJEJpFB X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:16.7315 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5cd02ab-09d7-4f49-df27-08d778afd9f9 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: VI1PR0801MB1823 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=qHKchLZmToYpbLDyF/t5oLprL48HF4p2FapqhvxRirMF6eE8yqtY7Dfz8ucnyfojBb8W11YBJr7SO38PFFI6D7jsykB8bjjlVKUNttKx4ysYNWzwXebSLQ6C4jm6qcWu3VIeUZCpER/QY8yHGt7BmXaiHwMBK8SgfHN/8HQupo4= 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=qHKchLZmToYpbLDyF/t5oLprL48HF4p2FapqhvxRirMF6eE8yqtY7Dfz8ucnyfojBb8W11YBJr7SO38PFFI6D7jsykB8bjjlVKUNttKx4ysYNWzwXebSLQ6C4jm6qcWu3VIeUZCpER/QY8yHGt7BmXaiHwMBK8SgfHN/8HQupo4= 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 Wed Dec 4 11:48: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: 11272797 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 F08CF930 for ; Wed, 4 Dec 2019 11:48:38 +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 D6A7C20803 for ; Wed, 4 Dec 2019 11:48:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6A7C20803 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 B05916E8D4; Wed, 4 Dec 2019 11:48:26 +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-ve1eur01on0601.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::601]) by gabe.freedesktop.org (Postfix) with ESMTPS id 219746E8CA for ; Wed, 4 Dec 2019 11:48:20 +0000 (UTC) Received: from VI1PR08CA0271.eurprd08.prod.outlook.com (2603:10a6:803:dc::44) by DB6PR0801MB2054.eurprd08.prod.outlook.com (2603:10a6:4:77::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:18 +0000 Received: from DB5EUR03FT059.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::202) by VI1PR08CA0271.outlook.office365.com (2603:10a6:803:dc::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT059.mail.protection.outlook.com (10.152.21.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:17 +0000 Received: ("Tessian outbound d55de055a19b:v37"); Wed, 04 Dec 2019 11:48:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5650f19524fa2463 X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.10 by 64aa7808-outbound-1.mta.getcheckrecipient.com id EF83EFD7-450A-4D9A-924A-75C692893502.1; Wed, 04 Dec 2019 11:48:11 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YEfaWgHCCcjs2b6hm3SHyoTteuuye8fF5TYcc0GTm0qabvibFU/pU93XH4HOss2ZR43ddepnoXnj2d0XdVPa1zPZMYi5vInLKBYdYPcDohFuZcLI8PT1FUoV1gSAhbG8D2qFsTJw0B4ArQwbA2JNx6qy0GIM8SybkPu3JHMV/y/1aspUq/u6G3/BvcCaCbWbyEJ5l/4geKNOhsZLDTbNffKxJVisqN5NDCfi6XYje338m/ZmkIm1Fl2ZgBrBzusn6qf/xTKPAIDV4rwLrszm0+7D9JziSPZAaMWW6STCoZ+QzGxycVlNOl9SVwFH850ajv6kTuso2Ybo2DTpq4KnaQ== 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=aCo57wA707PenYc5hwFoCCAUgIODSKRf6Tgvp9Jo8rZmI4IH8zFp6ZGu6YsHyIozQuZ3a31SCs8E9O6L/wrMazIJkJrN/o7aKMqU4HxH7wDjgP1H4Xmnp/eIivJLca5Z7on2j6pQNK9qxVRbV0uWAyPjan9yuwSQMz27hhLMsCUYxMHrLznP8cm/TSsFRjNph3BLW+aLsZgT1UgQM27MPBS9D1JZtYkOiEHnnMM/PszF6Ky13/Q2MiCde0ZgGA4iZ2Mkst6YBuYOuHkOimCC6MtlxJNDQCAvPpXd6T80IenlZXiRX5iAX05Q2sRv1owig7oyxtFuww+U4EB6PjmhgQ== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:10 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 09/28] drm/bridge: panel: Use drm_bridge_init() Thread-Topic: [PATCH v2 09/28] drm/bridge: panel: Use drm_bridge_init() Thread-Index: AQHVqpizLmyi9uuCLEufX5SpMevoGw== Date: Wed, 4 Dec 2019 11:48:10 +0000 Message-ID: <20191204114732.28514-10-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: fec9c9bc-33d4-4860-6bd2-08d778afda91 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR0801MB2054: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: O4EEZbtDM4zoQx3SSpZjXEJwGiDU5/SV48sxyj4/tEJ5Cm1+41yPtR9I8l2s0jggcYDbr2OL+FLra2bQP5Wj0RPklmRkd08/SdM1JIxsuTCwgoJIzWABw+1Sel0TBHyONEls57xmnMvr1UUy/RzLvji6B9I2W58XQEilpzV6KaiJ6WCOXBdeRes4z2hZlwoB+3uVo9ipcUQ+ZIEzhgiNWNVxhfKDgnBdv8OVyiPA5il6GfjWgtwlhtJXxSzfS+4qg3WZWKMu56DOfcVH//AKizPOcIJgcdIP4cKYsWgsUArMDCpQuiogmi6304uohMm2jcYVqMkIlqLlbq1kRCWg2abCp24Ym0zCdp4JKYCtA6HsxaN810XT/zrajQathrc/2P6A6dIpQbB70CmM02wLdWM6qQd6bP3bzVNn+g6rfMNxpcfU/Zx0f4YM6DwRu1N6 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT059.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)(39860400002)(396003)(346002)(189003)(199004)(76176011)(1076003)(4744005)(26826003)(6512007)(36756003)(81166006)(107886003)(50226002)(81156014)(4326008)(6116002)(3846002)(5660300002)(478600001)(305945005)(2501003)(6916009)(86362001)(8936002)(25786009)(8746002)(76130400001)(14454004)(22756006)(7736002)(99286004)(5640700003)(8676002)(2351001)(102836004)(186003)(6486002)(356004)(2906002)(54906003)(23756003)(6506007)(316002)(70586007)(336012)(11346002)(2616005)(50466002)(70206006)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2054; 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: 4f489c83-9237-4450-74f9-08d778afd5d0 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ruXQtfULRsvM7BBjYwykdTfl51j62hKODWYaEseUzYH9MWPS4eYTghe6V8m+cyAbqYRdvRMUzrCoZCIUEvHwwe9ZF58zfQfSfSuc5tLsMLpxucDZwzcgM/uwqVo3qKX33GOckj1xmzovfXoV3ZGWKjUJleNBW/GYAeGPg8Ip4TyYEiidpjvX1TSFVXxbnlPGYfyBTlJ6ROa6aqas4425Q5VJ8yhih8EFH0eDMMwaG3CFDug1vljm0lAVxHSdZvgg4+s7+MZlZikGNHUFvKOXDmVEanjpxhsAZoMSu+3o3J4Ry7+wv9FE7CTNbsphdHSlec1Wdy9QVTJrK6mnOY89sw89w92VAI1TLYjW95tPaJcXSPWDQ93OhYU8OZcSEexYQ2L56hBI89aLQR19h3sw3OMKn5C0AGRmVWk5ybqIQHWng5MwZzI8mInO8N59Nd+T X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:17.7127 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fec9c9bc-33d4-4860-6bd2-08d778afda91 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: DB6PR0801MB2054 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=8waFNdZlu5B7rSyhtJoawQEVA+7W+8VQaPdrKX0vIBMhy57U+ZCvU1HZR+rJXU5onDq3IgnpVHDJRigqog/q3E82R48FEHzPucmRsp7Bm8IIgw7EhJjXh2E+pYDA+AKBUOHxXoUPqULrxTNuvlQCjnx1TafjsSTzDGrfCu46NdM= 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=8waFNdZlu5B7rSyhtJoawQEVA+7W+8VQaPdrKX0vIBMhy57U+ZCvU1HZR+rJXU5onDq3IgnpVHDJRigqog/q3E82R48FEHzPucmRsp7Bm8IIgw7EhJjXh2E+pYDA+AKBUOHxXoUPqULrxTNuvlQCjnx1TafjsSTzDGrfCu46NdM= 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 Wed Dec 4 11:48: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: 11272799 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 4A69713B6 for ; Wed, 4 Dec 2019 11:48: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 3055B20803 for ; Wed, 4 Dec 2019 11:48:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3055B20803 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 A93776E8D2; Wed, 4 Dec 2019 11:48:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 348F16E8D2 for ; Wed, 4 Dec 2019 11:48:23 +0000 (UTC) Received: from VE1PR08CA0013.eurprd08.prod.outlook.com (2603:10a6:803:104::26) by AM7PR08MB5320.eurprd08.prod.outlook.com (2603:10a6:20b:103::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:18 +0000 Received: from DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by VE1PR08CA0013.outlook.office365.com (2603:10a6:803:104::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:18 +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 DB5EUR03FT048.mail.protection.outlook.com (10.152.21.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:18 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:18 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7627a8a30590dbf4 X-CR-MTA-TID: 64aa7808 Received: from a83b0422c187.12 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DA34D32C-9E51-47F9-9857-E42DB5C7A577.1; Wed, 04 Dec 2019 11:48:12 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a83b0422c187.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUFyKGLDv8P+18xYbOG805g1B+VKWZ/is0j+0N3/5mJ/vpNnIODRwb6SoPLMf9ecB0ZeVkkWGSlFsJ8/Hb/gbX8KFrh5jJYFkiGRuULvX8mq+kiUy6MJRIk3PvpHp0/vzio5FfkrzGBVrAZ5bVB3hYYj2PHucPqN0KDckKxlLRdjITYue4qx1C0n0q7i27i1JfYGa8v/qE2Y1ohqSdmJMl/ZzKF6N9IfGFaTQfaBhTfAM/dFKCmqpGjFUGLVXAbA4Ty5a+uUPL8h6cQKO5qkBi7rVprhwj/3TMMqqGI0dEZ6ISDBi+IwIoOSX7nYjamRRKz6oyPMqIbzNqsSJhlBuw== 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=FcHV6oyJvyq7H//1R/6aWcRZ2iqzxk4fNsPW38wY+mwly+A2N35wbtrSgeHvvWROLDR4+j1SEe37jXQQWOUjrxmlLuDm5rmrRE+hA0p/vn0SMQ8vXLjv8BQyIStF4rMWioLzGaSHcefMh9tsYERaezmjY8G7cAywg0N33CUq1EUAJEmnMid+qskdOjfnLD/9zvnNhXi1z1vz8Rg1e04OLVEFH6AOvowKRixav4Ei2OTH1ON9/nbpCVWOdl14+SW471A9XoIjgr3ayUtHLDb2pXG8jmHdwoeqhAxNsn95P2yfqoKvogAKT4VIQXSRRPdbU7ZvfXNhiFQDraj5eZYELg== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:10 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 10/28] drm/bridge: ps8622: Use drm_bridge_init() Thread-Topic: [PATCH v2 10/28] drm/bridge: ps8622: Use drm_bridge_init() Thread-Index: AQHVqpizay7d4VaJM0yJ4GyAV6AMEA== Date: Wed, 4 Dec 2019 11:48:10 +0000 Message-ID: <20191204114732.28514-11-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 94f3f9ca-7190-4301-8e4b-08d778afdad3 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM7PR08MB5320: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: W4PlH/TcKXIKVdX9JPXJP0R19/a92nQgR2DgxDQoZlPVetYuDugHHLEEkrV3l/vlsizDHViEAk2dz2fxS6ImMUMUqrsNsv9yWic18B9wMbiQaMT7FnWjaB2EFay8hKfmBwkceFcfYTfOim/Gbl3IyCOenpVmlJn0wDLPcjM6RNnk5FE7s/6OOqsURqqoMct5g2DzKew3P5TxeheUvNz4VBGn5oyevoXE1c9HExKKKPaZqM+cFbmrGwTkILlpTboYgpQJF+g7JTCpWMRcNjv3+xfv/JVFvP/XLz8+zUcoR6V65dKH4h5D0hFhmUQZWQ4LTusLaFmJTS7FMCuX4nde4psfJ+dqoWjKORg9E+emmWIvpcob3JcXrhca0smrQ/5BP0c8vq6U+mnm8zvRe5gJs1KlqzDtgdcJXtK9AjEZOAb6ydf3KWpKAbGeNMrpiAdA MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT048.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)(39860400002)(376002)(346002)(189003)(199004)(186003)(1076003)(6916009)(2501003)(50466002)(76130400001)(26826003)(6116002)(478600001)(6506007)(25786009)(26005)(102836004)(14454004)(2351001)(99286004)(4326008)(70586007)(4744005)(50226002)(107886003)(70206006)(86362001)(54906003)(336012)(2616005)(8746002)(81156014)(81166006)(5660300002)(8676002)(8936002)(11346002)(305945005)(7736002)(6512007)(36756003)(6486002)(3846002)(316002)(22756006)(5640700003)(356004)(2906002)(23756003)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:AM7PR08MB5320; 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: 4ed00b8f-41c3-49c1-63c0-08d778afd649 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c7DP/QoZeWDe+ncSdiDLeXiv16Sz7imPTNRT9bTJ/m78lJ83Hz+3Q7IXWEnuCiCTL2XRhvxxJz6sD56EnrPLEzqrJpVLqITGO3XpeBW9Xdg6j6Ja84iIH1ZSpYQoESeOtr3+huHhCryexujtOTYQd1zLaeiNvuHfIT4uJNVfwQzr5qwet/i+KWLqgYe7ay3UK0JegtROIcDOWmsw/dqeYlRkE9RxHBBNFPgikzYOJDKKhkXPsRNEcTLpjhTkn3y6s7Jg+X4A5lSLVPJPWdwCsI2R/yKEtDeAbRoTNen0VzTweCPATqmWbn32jCmY8tCNBTvXyf5GXm2RxeQ/TuPXis3PauPV1pvVDmBcjOHnU7Yl+F2mVJ6w9s5cSqFZqlWZ4UTkBi4U+qbCXzs6dsbguu/Bt4q4EOTvEjMVfoevafaTgVF5yzNfR43ipfXANHCy X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:18.1461 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 94f3f9ca-7190-4301-8e4b-08d778afdad3 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: AM7PR08MB5320 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=uUNDc+HHCbMYXzI6UrL/Cx/cB4W9VkAX2bV96BJdpqNIO1mGf9xR+8XoVf8maf3vVW+KeuDd8UnBTClvPsNK0HD7WNHOH5j6d06L6phbAr42kkO31bRbuVO8/vQQwy8SyORqZ4dQC5tyaVYYBe8gcaJw8QZkeikw2AtIV585JAE= 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=uUNDc+HHCbMYXzI6UrL/Cx/cB4W9VkAX2bV96BJdpqNIO1mGf9xR+8XoVf8maf3vVW+KeuDd8UnBTClvPsNK0HD7WNHOH5j6d06L6phbAr42kkO31bRbuVO8/vQQwy8SyORqZ4dQC5tyaVYYBe8gcaJw8QZkeikw2AtIV585JAE= 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 Wed Dec 4 11:48: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: 11272805 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 AEB3917EF for ; Wed, 4 Dec 2019 11:48: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 94EAB20803 for ; Wed, 4 Dec 2019 11:48:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94EAB20803 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 30F326E8D3; Wed, 4 Dec 2019 11:48:29 +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-am5eur03on0621.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe08::621]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9FF326E8CA for ; Wed, 4 Dec 2019 11:48:24 +0000 (UTC) Received: from VI1PR0801CA0081.eurprd08.prod.outlook.com (2603:10a6:800:7d::25) by DB8PR08MB4955.eurprd08.prod.outlook.com (2603:10a6:10:38::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:22 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR0801CA0081.outlook.office365.com (2603:10a6:800:7d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:22 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: afd437b83f5afa12 X-CR-MTA-TID: 64aa7808 Received: from c7e01adb9f43.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0047982A-6A09-424F-ABFC-C8B126E00B8E.1; Wed, 04 Dec 2019 11:48:13 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c7e01adb9f43.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FenAjWvI3+20XAuOXg9Ocgh+8owCdvy8p3SBl8mXF1RFDyDrdN+G/qOq7KEsQPD0z8aGWJ/EGGlvL2NcxwI4imcrroc4tY5Y33E0UWzCMVlQyIdX24QRGPpRAWhbcdzU6/gKX3Sm52P1770d94iae5V3cnZu6dv1k7+bXo8/GKnRT5cgrGdBVL4jcO0dms6msw8aXCcW82SrVS0Vco0VGeTGkUrcm3150yF8ljnOwsT02DqZG+x64MkrlqW3ULEQsKwM8VwNJ9JjwK+jxFYUQV5Hbp8NxGyvcxW6kuhENUmRQltO6BOB8tzJE6g3tGzrryWqSgFzI7/wIZAbgbCzzA== 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=hZGFo038AmeKK2hvQawHhmT63HmFhuLvzDnCXdw64NK1apFF6zAHkg7fjWlw+0lLcSUeuSvV+d+m8HOe2+6PHOo1ScR8GRlQLsAB7z15h5cl6gjPpRflJH1UnrPWXux0e23+x9Daj61lz/UVvwJ8SheE6UhSx1oAbLNch/chqxbqKV5ZBG6Z80l6dpi801LRay8tL7vsLvu3cURRcx71pCm5eQV6haSSwqAh98mIDtz3km2CX8L2kz/0TG4Swy/OfuWSfm3qi+vZmiE/gZ2V/ZqMnWOKJ86fap8H6RtI5ImKqZoFvZlMyge5AheLPj9zuinytwUHhh+woN7V2MKdDg== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:11 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 11/28] drm/bridge: sii902x: Use drm_bridge_init() Thread-Topic: [PATCH v2 11/28] drm/bridge: sii902x: Use drm_bridge_init() Thread-Index: AQHVqpi060ZTiZ8Q+E27VJLEZbFhxQ== Date: Wed, 4 Dec 2019 11:48:11 +0000 Message-ID: <20191204114732.28514-12-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: e7b8f430-b7db-4c41-85eb-08d778afdd64 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB8PR08MB4955: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: NF75NZAigPFc2OTrlEMXxMLnu+dG52roI9bkFzD4OFE5KAqWCe6+94RkSaJvCVaXcaSZp72mqyUTf1j/1KU83KT66yxHO5F0064n4osTUVfKxby/OsriyRJYudk1TQeDGlikDONTGIUgthjb7y1UM9hRsJPp9er+/jqDfN86LCwV+gmlbAIMpIDEZ1WFIownXD2k+Le6iTxT6YYBFOM27dkwqMSnkx/Y+tV89U2CEJlcAkwZLhNjGWU/VqIjVVX0xPhf7qz6VLU20wDMAIf52WLQcR81IfSEk0kTvOw4rcR2db9PJ7WoYQhlFMqmB0VQxaWFf7LWxooV91rGMlEhp2wcPipe9MDP5BHw76R5W15izLXJCIBbkjQFubUoSfkSPKh6lju/XjAvuRiSe32MHudO+W8kVut/5Rw1w9epOuhOZMhHFMRSU+T/3PkCuaaL MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(346002)(396003)(39860400002)(189003)(199004)(54906003)(2906002)(76176011)(11346002)(2616005)(99286004)(4326008)(6486002)(70586007)(305945005)(5640700003)(70206006)(6506007)(36756003)(50466002)(316002)(26005)(336012)(36906005)(6512007)(107886003)(8676002)(81156014)(7736002)(102836004)(186003)(76130400001)(81166006)(25786009)(3846002)(6116002)(8746002)(356004)(8936002)(1076003)(23756003)(4744005)(50226002)(22756006)(2351001)(5660300002)(26826003)(86362001)(14454004)(6916009)(2501003)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR08MB4955; 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: d3ed424d-5a77-47f3-2f5a-08d778afd6c9 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XfR8Sl33sbmz3t8I007bzNbI6kgC7ILtVL9aXkYXKUWq0ILGHzP1B0PE9dMkNasRigKttYJrtPUUPfA/YzAE1b/lfS+lePuH/od2zEuvxrF9Wj4NfUdKjkUheWx/UcuASTdV7h8hvICpwdHnavnC/UjTTVoxsfRbsF1ulO/IDvggdD/XbrAgerNji1kJFc66F01YeqXbE+vhDodj+oAMswCSHAVheNQckxgZn7yZ8wDN8OBlMOFCOr6/KXSOhzb2oPXgo3JQqEDfaaCfwlkdSDcDPDkENXgT6oZ5evXZ6BQW/L1GjmXi1t8PW+zUW0DvUhezih0MCNqzqGcXBLb2N8O7vWYoSe0aEiDjYq9xjcfvN+yv+ZSJqDn7hiPBtMReNYvdJWDb8ziIW7p24rGAGcttaDYkNdB2tsjZa9kUUk5qOWuu9BLxtNF0Y4ix8x1+ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:22.4396 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e7b8f430-b7db-4c41-85eb-08d778afdd64 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: DB8PR08MB4955 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=AWoRiu4vUlnxXR/XRpkfe/S7rlznzgt0NZttkwwk5xYoM5MLEHNUU1YFXFa7mOt+joGLFd60MKD9VWsTSc7WSHDpSfYi8YTXEKDf9qkbYBGmIUlds+22HBXMnNhTCzotWaQdupdYix/DiRcmvTcmWVO2Eh3aY/cR/GwjfPE3syU= 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=AWoRiu4vUlnxXR/XRpkfe/S7rlznzgt0NZttkwwk5xYoM5MLEHNUU1YFXFa7mOt+joGLFd60MKD9VWsTSc7WSHDpSfYi8YTXEKDf9qkbYBGmIUlds+22HBXMnNhTCzotWaQdupdYix/DiRcmvTcmWVO2Eh3aY/cR/GwjfPE3syU= 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 Wed Dec 4 11:48: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: 11272811 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 C91A8930 for ; Wed, 4 Dec 2019 11:48:50 +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 AF54A2081B for ; Wed, 4 Dec 2019 11:48:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF54A2081B 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 0419D6E8D5; Wed, 4 Dec 2019 11:48:35 +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-eopbgr60065.outbound.protection.outlook.com [40.107.6.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D0BC6E8D7 for ; Wed, 4 Dec 2019 11:48:28 +0000 (UTC) Received: from VI1PR0801CA0090.eurprd08.prod.outlook.com (2603:10a6:800:7d::34) by AM0PR08MB3795.eurprd08.prod.outlook.com (2603:10a6:208:105::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:26 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by VI1PR0801CA0090.outlook.office365.com (2603:10a6:800:7d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48:25 +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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:25 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 59c96d7852f471fc X-CR-MTA-TID: 64aa7808 Received: from c7e01adb9f43.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5D48E4D9-3BC3-41A5-BAAA-9061C9E30BEF.1; Wed, 04 Dec 2019 11:48:14 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c7e01adb9f43.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NIFXnTjKWQLsH0BJcJOktvXQUjheEWFeUoBH7eN3xjvv8OMvDfIVSMm1Iw0f3MxMTlhMkZAjp/wb/r425OUlrn7sv3lRFYhxt7nDaqxyFgsRgrXglHHiaWh7EvBGHRPF1TdH67XkhFEFiRWvx8Bv7liS51LFZbznoPgVa4g0ieRb7lchqkQCpPzmahq2c+MqV6Y6yLFSUcx87SxOHlLSQNKavVE9B5TWowfBNW2Gj2tqlC+gE4f0Z8KOyo1VlJzReGoVbvCS7S1/+pDk81oHkq1dpR5B/khbXKkhQF8Xefx46gFNZ4UnTJHzTpqeBHKou6xB6KwXzOWOc6KgRqmLaQ== 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=G535EVc/j2HQhiJielD7IBiiBuJcE6stNczH8MXmvBNMIalGSxFgzVwsnBpCM/V2ALh1skal10OlRVFRUBza8BaMeuihyP3cyy0cvqzzhVAGq3hWfMB59Te54EoI2RLCqfxD9yRfmP5iLnP8Oft9NiIxX0+TWiEdTnyW0k1RO8bjdathgkkyqHM9LCpWiDDbnlkF/BbIAZx+vqSj39+uRHVIXcgT6/RldngO2tEWa/xMb7WEm3E7f1ab2NAo4XFIaYcX/4bLYDH1pJ3Q66g6BqIMzXRqjxIJliALn6C1/W9q32jla4KR6AN9eclpHP6IjO4NoUSVIiPniZcmyXdXlQ== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48:12 +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.2495.014; Wed, 4 Dec 2019 11:48:12 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 12/28] gpu: drm: bridge: sii9234: Use drm_bridge_init() Thread-Topic: [PATCH v2 12/28] gpu: drm: bridge: sii9234: Use drm_bridge_init() Thread-Index: AQHVqpi1nuxUXRNmNkWRvMMZxB0aZQ== Date: Wed, 4 Dec 2019 11:48:12 +0000 Message-ID: <20191204114732.28514-13-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 61189814-00ae-409d-6ad8-08d778afdf26 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM0PR08MB3795: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 7fP5YXDXUh3a+y67F8ckezTnsjy4i//b/OcxVdH9S5K+cwz4brcpKYcrdN0Rj2FR2XNcvKcMM9iBmPtx+1vOhNdBOZFjKEO+dj3euFJPu2jPJjr9cHs63Y+yl0IRw0raFA8WPv+Tj/VKL1Jz5n6vEDAUNMAGU7afR6kEbWqGE8jbuY72+lAOlvW8plJNz1wqt71tSTDdNl/aqReYL4E+72YPmJ3oqY19abWTUcG9bN3/nR9VophGAmULUadSd9U4pE1j++3HhDd/Rk2HQAUSQlFO3lXMoSDnfmAstb8OmJ9W4AL3va7n1cnkRRy/j9/eLRYQPd7m9Y+3gtu/WZfxEZQzmbH4nBhBvJdlUfyP/6hSP6iez9j8DyRQ+hHZbKId3zCJYtVYq6uwKCA3lPE7rPrBznDimRW0iu//fBSYTMhOC/SDyOZcwPu/V7OCF3It MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(346002)(136003)(189003)(199004)(11346002)(6916009)(2616005)(7736002)(102836004)(186003)(6486002)(336012)(26005)(76176011)(305945005)(6506007)(70206006)(81156014)(2351001)(70586007)(8746002)(8676002)(81166006)(8936002)(50226002)(2906002)(5660300002)(86362001)(76130400001)(6512007)(3846002)(6116002)(54906003)(99286004)(5640700003)(1076003)(4326008)(316002)(36906005)(4744005)(356004)(107886003)(25786009)(22756006)(26826003)(36756003)(2501003)(14454004)(23756003)(478600001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3795; 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: 3aba484f-67f7-45d6-bcdc-08d778afd75b NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /HoQ+Uw9PGyVsb5T4IasJkrUBsp1MlhTAyuKChX7agljABhAvIGTXSfpu8mUkvNqvU9i1mQNwhuK+4uzbnNhwOy+bb2qGV7JvSy9X0GVLOsMQk+IRr+tBtALrKa4ljEMd2RoIqBRgZkF6Mm35mhymFnvBMo2p8k35TsVL0Qat90lnK/eT4mUb4/Zd57M6r/xYJLwv94LjjyZjQbw/+k/OQjbKRF35z5TTQUd5Zv9dXsT/jua70OoEigChf1BGHNKmBsRyoaVNXHD6LfvNEkJeMVHW8t1sOb5LqXwqn3JPJE+GAhFod2rv79XrKkcJJHLmTIjkoPzB0U+nKCtMavUDP5Fyx490R1LI1UFKmRqOLORd6Zq6+Ysc8CQ42CkpGdt53oieio0sz9qbCo6FUB7CHZ7qm1Ly4+vsjTw6YCcE5ivq/rFxBnPB1xG21gxoeeh X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:25.4070 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 61189814-00ae-409d-6ad8-08d778afdf26 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: AM0PR08MB3795 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=BFOVFa+RmEEICPsBCDlSSQqRbWaZhg1hEKmlKXAVfczokPPPCq2YeI7ea6JK5MUtdAyC08QdTV6uvf+VzlSL8FlETpwKm0IjrxRA6mg7ATFcWtvdVbpYzgU8hjR9FKW711Ma3qoT9JCydXcG0Y/lMc6o4RU/dy1VfTAkSqbgXJ8= 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=BFOVFa+RmEEICPsBCDlSSQqRbWaZhg1hEKmlKXAVfczokPPPCq2YeI7ea6JK5MUtdAyC08QdTV6uvf+VzlSL8FlETpwKm0IjrxRA6mg7ATFcWtvdVbpYzgU8hjR9FKW711Ma3qoT9JCydXcG0Y/lMc6o4RU/dy1VfTAkSqbgXJ8= 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 Wed Dec 4 11:48: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: 11272795 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 8DAA813B6 for ; Wed, 4 Dec 2019 11:48: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 6F86A20661 for ; Wed, 4 Dec 2019 11:48:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F86A20661 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 1F9A66E8D0; Wed, 4 Dec 2019 11:48:26 +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-am5eur03on0617.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe08::617]) by gabe.freedesktop.org (Postfix) with ESMTPS id 06CC66E8CF for ; Wed, 4 Dec 2019 11:48:24 +0000 (UTC) Received: from VI1PR0802CA0026.eurprd08.prod.outlook.com (2603:10a6:800:a9::12) by AM6PR08MB3095.eurprd08.prod.outlook.com (2603:10a6:209:45::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:21 +0000 Received: from DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by VI1PR0802CA0026.outlook.office365.com (2603:10a6:800:a9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT004.mail.protection.outlook.com (10.152.20.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:20 +0000 Received: ("Tessian outbound 224ffa173bf0:v37"); Wed, 04 Dec 2019 11:48:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 271b2d51b2fa0437 X-CR-MTA-TID: 64aa7808 Received: from c7e01adb9f43.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5A9BA7B3-DECE-4238-B458-7485675675F5.1; Wed, 04 Dec 2019 11:48:15 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c7e01adb9f43.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k3KBmBFry88ycHcbZ292v/lLUDldNlRZg2mDqaIlPeYfRNmeyfVJpN1bAfqf3Jqwb5FU+q7KZD+CRcCAcbOh7QxJ5W5WZY9uDzyoZkRal+vSzcbpBzvvOjFTguOsxoDZeJvvr0LWdbp4nQVDlKjV0VNtKOT843SKTUK+bHijxTLJa9VmoxLKcHuygFkC/6Xsa38Puz4zoVn6dZrfsnHGy30vfrSmNVI8ykyDUsXgJEqLlaLvVip+gBRFE0uKO3bDJhBRYZrkjZYsnEavaQ0iN4Q2CPkkfseGDGrsiyUpBjbra39lX5otOzuvP4U7FJcOrGZ5aMNNzZmfSMdETyEGIQ== 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=XrL5cmx9TiSu4ia0u/d9zhvtT6G2hMLHXvPlYyaOQB5PoWWH49QqSon2ctVbj2M200LMKr9pg+kqooUljt0Dv9Rvz8gNISMphQG57i0We/0Rc1+E8JKcpSDQNm0tlpHQ2IGcLl/J35NzBW1YUGIx6zyLqV3GMbGqQi/V41/XOUVUPzwtKvTtz+7csPBZK/tcP+dIVi65a/O+fEVniNj8tcHxcHIop8POoAlyMKLg3bc3l6x2m5ZLNOaBg8SvXMYh2nvXYR3bJdygmGmD/0D+w6Xh/tkNoDbRj69paMYDDQ/6LiFEk5qRaXb6M8NyGsOWNSARALnAjWdOJkf6qhWUBw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:13 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 13/28] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Topic: [PATCH v2 13/28] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Index: AQHVqpi1+HN3O85Grk+0mnN0hyAIBA== Date: Wed, 4 Dec 2019 11:48:13 +0000 Message-ID: <20191204114732.28514-14-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: ee160262-9c7c-4596-8908-08d778afdc71 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM6PR08MB3095: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: GR/AcZmwU0lSluJBhjpLTa+vSxoxIXHqHOqVeL6WVoBhIles8DCZsbU4TixcHWWXp4q1FSTwfXvgijuhaB6VAHY8EMFn0EecXtqbHfaIW6Q59gg/du+wUYie2AVz43Sfj+uULrEw5Hb4qHGJbQDPkNMQBMfiIhqmoU1hdVKHPYqOyhbL6m6i100BM5BRdzDQI5k4bWB3st6nzuIoV05G9vbMOM3GuK77GFw9f5/vPbSnLHUEdyXqeIAvSevZqJbEGh0U0cgTuvxuk28UAybk1H3nUMAd0dLoAFhQLDy6GqXBEVBiCy5mWQW5AqbDGiFQhp79uPgrtLVcPL6jkEVMLxvpwfRdhnVxz8W0YAn69RMJpnsuaWfXPxwXtd2TbcmptW3oF6yXv4VDwCfMP8UJkos1pgdKHw7NAzXg0hYf9nGmK/7SAzXKtfi4GKGJDM5W MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT004.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)(346002)(136003)(39860400002)(376002)(199004)(189003)(186003)(5640700003)(11346002)(102836004)(26005)(6512007)(26826003)(2616005)(478600001)(336012)(99286004)(14454004)(8746002)(107886003)(54906003)(25786009)(4326008)(6486002)(6116002)(76176011)(316002)(70586007)(76130400001)(50466002)(70206006)(6506007)(3846002)(22756006)(4744005)(2351001)(50226002)(7736002)(1076003)(81166006)(23756003)(356004)(8936002)(305945005)(5660300002)(81156014)(2501003)(6916009)(8676002)(86362001)(36756003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3095; 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: 6c1ba5c7-6387-4d94-249c-08d778afd7dc NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EAypG+RkQ85b8VCaK0LBYQ+TMg2yzRUDqbYkpM5XLCsIOpIGEHDDE7Y8tDasvu9+WIgEyaeuZd3Myo+sRhLw8cal8+QlB3E6oQYxxI21wnC2jOe6MsMkuRZEypYzP53MXGabHL67y9Lk0HeIZBZg/PeZzVCQOPZzgMUgUI0DflkxJUI+VTkwf0NlPVwFHon/1LOPSS99QLD57VzeY/FLU3kwTWULLF/tkujqYrHyym+HqmXAknvGNNQMvequgsWk+tHLDAjlejErIfDtK/TIPFBJL7mh8+kt6i7G/2vn6czAbI24E0xMSd+5Q8GWGYqghXi4sMLJ4zqbMdE59b9Tk4guh8wbvqAVo5YRn0qaCRGq+dzVqJY5eYn66SgggLyDD1s+5pRVrPWYJrLfuAA/mmZgCQpQ43UfX5+L+oXXzyQHn1SRWIrcoh7YugdO1hSQ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:20.8742 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee160262-9c7c-4596-8908-08d778afdc71 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: AM6PR08MB3095 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=DpmkmlsQdZVsCELyQGF0SUG7KPT6pP8FwwrKx0677crtdJRZxbQbpImEBcDUoDZ6rL50PYuBOTKDbWKulk3yorYWUKaFoiL8wkI2bOi+FnJsBvzgya2q0o1eaEZCHX6Zm/i28A8Tx8BkhJA1JihBEErbFZoq2CLFWO1sEwewFoc= 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=DpmkmlsQdZVsCELyQGF0SUG7KPT6pP8FwwrKx0677crtdJRZxbQbpImEBcDUoDZ6rL50PYuBOTKDbWKulk3yorYWUKaFoiL8wkI2bOi+FnJsBvzgya2q0o1eaEZCHX6Zm/i28A8Tx8BkhJA1JihBEErbFZoq2CLFWO1sEwewFoc= 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 Wed Dec 4 11:48:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11272813 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 2DDBF13B6 for ; Wed, 4 Dec 2019 11:48:52 +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 0FAB220881 for ; Wed, 4 Dec 2019 11:48:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FAB220881 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 A36856F46B; Wed, 4 Dec 2019 11:48:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150050.outbound.protection.outlook.com [40.107.15.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5043F6E8DD for ; Wed, 4 Dec 2019 11:48:33 +0000 (UTC) Received: from VE1PR08CA0012.eurprd08.prod.outlook.com (2603:10a6:803:104::25) by DB6PR0801MB1942.eurprd08.prod.outlook.com (2603:10a6:4:75::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:30 +0000 Received: from DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) 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.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT048.mail.protection.outlook.com (10.152.21.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:30 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:22 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e66cdd9bd9eea70f X-CR-MTA-TID: 64aa7808 Received: from cee6bfb0cd5a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 777A467F-22C9-4DD3-BBE5-9F6B3BC039EE.1; Wed, 04 Dec 2019 11:48:16 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cee6bfb0cd5a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ffq7qRuoNNe85BzJrfbPOhggkt58RN8Xz/8fEwKHpR/d70NV5U9ruC5rK0HzKov5OjbSsYOW39z9YJyhJj3O8Kzld7+MhlCUW8mwX7pO+nCnzjlDpPa5PjZDxMgPVYbjpwd2h9HZZ8NrxV0CqW7l78WXy36tvfGV5IDbkeDPQiF2NoMJN8VinMveDqzvkp9nmafswXVRdb4TvADDCTJz/OA2yY4UdLVUyeHgyppre4tUjuagDwcahkjviA1KuTdJa6OId5S0zhSUfG5c+lrItqp2J3QOrmEWy/7MPOJ72HZcWhxlaiAATIDWtSkAogHrMdIaIEO63k8RQTwTro0BuA== 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=H2vkkwa8s24Ngq3TT7KzaKLeIR4NTJrmCsGyCtRL4ZG82dXfnNUwZGttn1hGIq4EE/YxWYbRaN1GzOMqa0ItfoU1ijbFVxQKpo1i1aJK+V3xysO+q56rcd3katfsCplHRi+sSD4ushvtUE6/Uzaa1aM0vc6OGypnulxi618IJD6jJvTvgB0FCj2PkEH4ssFGa8asUpw1KMseP7bIN11dCijeaTPzOm/vvykb1B2aWDy/D0DFLozJuIsAwOiUCurt39uwQiJuk5bq5gB5ubROgII3ppo8Gn6PBe4V+vpXmWnGVFt95ch4zrv3cUZ6uX8HkJe1b2Fx3cjakit9320/3Q== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:14 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 14/28] drm/bridge/synopsys: dw-hdmi: Use drm_bridge_init() Thread-Topic: [PATCH v2 14/28] drm/bridge/synopsys: dw-hdmi: Use drm_bridge_init() Thread-Index: AQHVqpi2+tPFYpee1UK43mAvBMAzdw== Date: Wed, 4 Dec 2019 11:48:14 +0000 Message-ID: <20191204114732.28514-15-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 7dcd65c3-b314-48c4-b4e4-08d778afe21b X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR0801MB1942: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 7X9raZhesPa4vWBmDbtMBjSmS+9S3y9DHMxpfVm7gcDnS60H40AFGKeD5l5okTTCZOnn3rz7hSINbTyXUvTTT8Eml3Fz7EfVLdhAh/Ml71840msXhGiC6PlIq8+t0BiiJzMw+CF+HZNIHAtI14Ow4n1kHI9E63oMrW6G6GIHtiaKeScfVQdi/JJc4b3LD4OqoGnRZEEpIpyplVcnFeAqhQgkrqvFjat9IHZwruV7plo7iDbPq3Pfmf/2XlbhRRiGkTxdFRuz43fcU+UufIXkSe/4YRG23nzOB9V2t5LychQDRbE/MyPT+4Dlobf3xTXD+p5pK6vysU8j7Wm5/5lBkvLNyOC8kQdUTr3ycN5EbIh8scplG1d51dcNoNmJTz25ZzxxjghO4b434IgNMl92zbR4pFrtkNu7LGiURfItDEjJxDh1GXh7xXC9njhJxb2f MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT048.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)(136003)(396003)(199004)(189003)(2501003)(50466002)(23756003)(86362001)(6116002)(2906002)(22756006)(478600001)(14454004)(3846002)(26826003)(50226002)(81156014)(81166006)(8676002)(305945005)(6916009)(7736002)(8746002)(8936002)(356004)(4744005)(2351001)(5640700003)(6486002)(54906003)(6512007)(4326008)(76176011)(70586007)(99286004)(107886003)(76130400001)(70206006)(36756003)(5660300002)(6506007)(26005)(336012)(1076003)(102836004)(186003)(25786009)(11346002)(2616005)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1942; 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: 2fa7aed1-e5fa-4da5-86a3-08d778afd870 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3to+sJ6cYfW3/TZR25mF1gtHrGG7+PpaXd8scYSg//q0CHxuv8IEvZMb2VGdsvKmIPLDE5djiu0UljorGU+jZP8s6kBUWNgBpKa1CZTOGHf3Wg7yEFA0IDGNkKrccoBV59fgN4OJX22g5nMz3OW9cmn0i7GxYCoJQDBL2WmhANdRVNJsm1ueOa5z7afdzpiwI+sstkpuT/v621snDbktjot+wvGK5A5jp69MFQ1MOlSkrAU7pRScSjwYIyNwEsgBwK+cml4crHFXj6eIjg8HEwGvNiUr3XY/mciDB7AahWLR8x4Ph4pobhGpcMBu+gXADpq0DefZ1TgRa/vermrEyliPGx4Iap1jDjwcpXAgSUwvjTzaCVF+6ulZ94cq9grCaM7UeasRVzexQrWZPhNal7pzoy0sQiBZkYqRYgAwUg81QwSCEAaORzLokl4kh5Kb X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:30.3760 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7dcd65c3-b314-48c4-b4e4-08d778afe21b 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: DB6PR0801MB1942 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=R2WcMyjpHFGGnIO9nOrQqTlLV10FDsMiYelxwwCkZYdcBveiyJmwEHrXOSi6EcGu7NlsIdN4GRRK0xe5EHVYxrLEyMg34/ZuIhQE5PGyiEwnRdUknMuosxu+z06gDU1V+X3Cl6sp5aVjzDEhJTKMdwvyCWYiBWWo5yBN/MxzdmE= 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=R2WcMyjpHFGGnIO9nOrQqTlLV10FDsMiYelxwwCkZYdcBveiyJmwEHrXOSi6EcGu7NlsIdN4GRRK0xe5EHVYxrLEyMg34/ZuIhQE5PGyiEwnRdUknMuosxu+z06gDU1V+X3Cl6sp5aVjzDEhJTKMdwvyCWYiBWWo5yBN/MxzdmE= 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 Wed Dec 4 11:48: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: 11272819 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 1F40713B6 for ; Wed, 4 Dec 2019 11:48: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 0142B2084B for ; Wed, 4 Dec 2019 11:48:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0142B2084B 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 02D166F4A1; Wed, 4 Dec 2019 11:48:36 +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-eopbgr50057.outbound.protection.outlook.com [40.107.5.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 540016E8D2 for ; Wed, 4 Dec 2019 11:48:27 +0000 (UTC) Received: from VI1PR0801CA0075.eurprd08.prod.outlook.com (2603:10a6:800:7d::19) by HE1PR08MB2892.eurprd08.prod.outlook.com (2603:10a6:7:30::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.22; Wed, 4 Dec 2019 11:48:23 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by VI1PR0801CA0075.outlook.office365.com (2603:10a6:800:7d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:23 +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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:23 +0000 Received: ("Tessian outbound 15590139dbb5:v37"); Wed, 04 Dec 2019 11:48:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: aff8d852d7b057c0 X-CR-MTA-TID: 64aa7808 Received: from cee6bfb0cd5a.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BB0E1048-3CA9-4E60-8D8F-500B2DE3F9C6.1; Wed, 04 Dec 2019 11:48:17 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cee6bfb0cd5a.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i9Tzayu0YvEHowV76imO9YBN/LMc5dqfDtDz2qaN5rIvpeIHZyyRR57WhIsq1lfve5XZ2ERSiJ27b8UZa4rM3hHlUytJE+ZmK2NP3TJH/yhW6F2tejlPQA6ZBDNWD10mnL1pNWU8GzkZZW9BmvgwMQP/+dHvJcG0nX6l4Y+XUlFyYfjXCGcccDkMMbK8/x5Wy2JLt8dNRmueudt8JuF8X1kYlDfUOT3cWSg+I7ONV8E1jn+kvHFbFaYZqhUm8zOtkFEn4nvwWfgtLgIdJ9PmH0L00iVIdJpfu+3wG5YO/Kcy2fXGzBjz93FRpOZEvLTDdqUJFObtZqznz/yQlMJYVQ== 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=iiMHoW838J6LdTs7mQpESHb/TRiEqFWC5zyIjyilj9T3hPwlCJN4moiv5mIvbk/4eE773QX+Ya9DdkfUI6TImaNmBesSeMwSdOaerKv/LcWQIFQB35c7+3E35qjD9AlulRYRlESJArjy7jKNK4CdcrBBpAieV2u0ZfCLrXAe7DFO3Ub780VVDOiQ2T7nuifvRDsUMr9TALrbYxYqvdz/KkuLa3SC8W/yipa/2i83n8OyA+FYsYcucbr4DSCtP6t8JvBCgG+V5P/mReeM07/7/8/rmtOJ9lg/OTgdyCDQmhgZCPMVOjHUN8r7llFSjhn1Y+zRX1gq2KcUio7prkFmhw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:15 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 15/28] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Topic: [PATCH v2 15/28] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Index: AQHVqpi20m8UMeuMP0uFEkKVZse2Uw== Date: Wed, 4 Dec 2019 11:48:15 +0000 Message-ID: <20191204114732.28514-16-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: ce2bd35b-3277-4719-26f3-08d778afdddf X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|HE1PR08MB2892: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: W1f1kzgPQZHNASqNUNXsfvB/q+87dp0YqHKVJDkkMvQDuMaUXqPJ7jTznn94zseOZHWE3ZB7arcZP3jb3j5JhihF4LJq4+2HZGJHDmaBkmOhw5bYVU++QzV/Zg3lHGvgeS26fcoSGmA8O/0G0aDzDlTUxYYZELsRqSFQFV0gQVfIyLaFD5nV7ja0U4bRX+lSTBMc8gSL8+mf1VIgwT3E/xx4cGQAqdlBOXvWli+x4DAGyG5AOJVhrD1jicqaSOPTuFb81vMwbISHe+40YiQaUfjuflcDahZrMqE1ghAoOXpqXm+3afsId1PMwVwKzD4rcBKMco3Aw+FpT3gTINheKVcYurC5Q2yLeNOLTdFz9HwfegACW6Ex/oSYCXE1wL1qRtZrYzRfaZCQ1iwwoAqmAeBoHjrohkrNoMPwhU/ZxidZwY3KCA/0sFN9rScf3e4q MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(376002)(346002)(39860400002)(199004)(189003)(76130400001)(6506007)(76176011)(336012)(2501003)(26005)(25786009)(81166006)(81156014)(1076003)(186003)(4744005)(36906005)(99286004)(36756003)(54906003)(86362001)(11346002)(2616005)(70206006)(356004)(107886003)(5640700003)(4326008)(22756006)(6486002)(8936002)(6512007)(305945005)(7736002)(14454004)(8676002)(6116002)(478600001)(50466002)(3846002)(50226002)(8746002)(102836004)(26826003)(2351001)(23756003)(6916009)(70586007)(2906002)(316002)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2892; 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: 6daec329-5048-4b17-6dc6-08d778afd918 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dc92GA+Fw8qB/bR94nIRxhNj97J+q5mgeWOxVh3iGiO5+pPB8bzulgfEh311lSc+0uztGNhBpAZ9md9jB/WQssIfMb/MAR16TIkvvyYHfttyBcEbACN/skPQTE7x1O+SkyaUXXGtDeeDCcMzDizoM8tDf9TbdJBFAMSEZDecYCJKQQyKQMM/TNrTIGUKXwklTC8WQsKToAPjiUemP0r+U939efWdeYcFdTgp0+rqDivvtkt8Ps/MyriYmk112gLQ5LLoyWJ5HDWaL8jOCkVBazFVv9SnEp7+sUdoUxdirkt6kZ1jVmeSJK9ueGg10JtT6KZMnjoiq5pQcvvmzSslJCO6nJCbP/uVNmYTr/sbw7D73qe2XuHCYxFBIJjgnkVte5mF4a2T05h3Aw1PxZt2vWJcMA5Q3kX0eYVDjJxzLEsRtTV+QZ/LGWUfUDQGwNlK X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:23.2613 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce2bd35b-3277-4719-26f3-08d778afdddf 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: HE1PR08MB2892 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=9OEguOUSXrUhree8CriPiY6s3c9MizKcJJ5E3NAkkGnfDoXiwPhbJ+eAeoTN+6AxpPey4UJSB1u5K1rF9vEHQxq1g4AxpAWnqP2L+KEU8PgqcYl6GVz4KCeBxNhLAkwDp7q02wHfwVV2xl3CwBZk7nkrb4nLGxFu9ttBZ8qYAzg= 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=9OEguOUSXrUhree8CriPiY6s3c9MizKcJJ5E3NAkkGnfDoXiwPhbJ+eAeoTN+6AxpPey4UJSB1u5K1rF9vEHQxq1g4AxpAWnqP2L+KEU8PgqcYl6GVz4KCeBxNhLAkwDp7q02wHfwVV2xl3CwBZk7nkrb4nLGxFu9ttBZ8qYAzg= 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 Wed Dec 4 11:48: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: 11272801 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 EE58B13B6 for ; Wed, 4 Dec 2019 11:48: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 D483020881 for ; Wed, 4 Dec 2019 11:48:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D483020881 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 43A716E8D8; Wed, 4 Dec 2019 11:48:29 +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-ve1eur02on0605.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::605]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F7AF6E8D2 for ; Wed, 4 Dec 2019 11:48:26 +0000 (UTC) Received: from DB6PR0802CA0028.eurprd08.prod.outlook.com (2603:10a6:4:a3::14) by AM0PR08MB5314.eurprd08.prod.outlook.com (2603:10a6:208:184::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:24 +0000 Received: from DB5EUR03FT040.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::201) by DB6PR0802CA0028.outlook.office365.com (2603:10a6:4:a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:24 +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 DB5EUR03FT040.mail.protection.outlook.com (10.152.20.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:23 +0000 Received: ("Tessian outbound 54081306375c:v37"); Wed, 04 Dec 2019 11:48:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9cd65ecdf5485573 X-CR-MTA-TID: 64aa7808 Received: from cee6bfb0cd5a.5 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F6A44D8C-B783-4F4D-936F-697CE910D5AB.1; Wed, 04 Dec 2019 11:48:18 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id cee6bfb0cd5a.5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aL7t9FEj7ejUy2M5BVZZx2r5VQMPcUIJJD7uURLyZUCbXQn9Z/zue1/Aa09zvvMm8P/FaeoLLDhmHRXN9PaIG4yEHr81h99nwu+CW7//Ujl77BztII6Ez951LLzNT54fHO1Pwk54ZgZH01yGTRGPArI39jANuw2U9DeBggcz21yqQRTjQEuSved/Q3Sj5Kf69qFXgV1EgpZVhsDdKa54738EfIkRupBIN1f7U4znh/eKrE9OzjaIFF7vkQx26+gEr4FSLE6P4ub1SjbH4n2RCPPgcX8YEgCKVbLbw874iQyrr2aH4k22r4Ig7aHTmLA6YwAuVHkSmhwC5gtmoCJ2og== 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=NbaoFSL6aPbkoZvcqEsibz7x24QnlT6XUt/asm0s40j0Cinv7NcgbQHQBhgDeenC9QVd9EZ2HvaX0JQea6JEPwsi2tWZGy+ODaDy8k+ckLugCxm7kcCVWYSeg4I9npOFvSt35gO55sceR95EgmZsFMW+LLIi0uzdHus6Pr+GAxxvfcIYZLJn9vIpfFk2o4SffbWxaGWqYOqdZgmNoflGbKy9w8GqUZCDJa5iX4jswAw6yU4rC1df/udBLOFZPTmKcPh1hBbkY9xPx2Wv5bSHMLApC29LLBPN3kzG2zTksZIMzszNPFlaIeSJbvh7crFgeWGF6IsaR2u+awQEJQhAcw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:16 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 16/28] drm/bridge: tc358764: Use drm_bridge_init() Thread-Topic: [PATCH v2 16/28] drm/bridge: tc358764: Use drm_bridge_init() Thread-Index: AQHVqpi3/vcd+A+epE2FZfNxIDV2vw== Date: Wed, 4 Dec 2019 11:48:16 +0000 Message-ID: <20191204114732.28514-17-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 6efab064-c6ec-4756-f943-08d778afde3b X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM0PR08MB5314: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003)(5024004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: iptSpS+N3AMIgAm+fy7D3XvroCa4u7YbadPYWTmTrtx3L+Emg6MwRQq/NSFogDjN4F3h4VmMAEzbdq83p/DD+ixyqmQEUicaWlEcf+4NhoT3SFlyqCXlIuwa2hiyCJUevSvcLTu7vrksiFJpi2Ej2Uqzg7SqG/Ij0K4iNIKwTqWjnpJEDjUgC9J3AVr4oh2tNGyP9fO73mVuoC6qBbJk8d/lGv3YTg5tL9y7WhoQouFXPThjYhHUfjLklI6BY5ELPwTb663ZsOZhFv6+M+f3em6ITMAKApJ/3Eejl1ovL2xm4P7NSvaFt2lRQOT+QBFLLRmBF1apXfEnKjanbL3W9F1oU68AM5a+sMWETHcfj34BwYjH+UiBOvD0ph9/NMXmHc9k6/Ds1lvLDloa322a6bPnw7hqh+4RCPWReXSdkm+1sRF1nj9C5g7oveIOMxCa MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT040.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)(8936002)(5640700003)(2501003)(86362001)(2616005)(11346002)(50226002)(3846002)(478600001)(26826003)(2351001)(26005)(6486002)(6116002)(99286004)(8746002)(76176011)(23756003)(102836004)(4326008)(5024004)(107886003)(25786009)(6916009)(6506007)(8676002)(6512007)(336012)(50466002)(7736002)(305945005)(2906002)(81166006)(81156014)(186003)(5660300002)(316002)(54906003)(1076003)(14454004)(4744005)(22756006)(70206006)(356004)(36756003)(76130400001)(70586007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB5314; 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: a283bea7-6794-4355-ddd7-08d778afd99d NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5+d4JqZ42RnrGPgjlZtbXjNweRsiD/mUhC31IFDnW8EcPAMDZpTw6I69tpH5ROwxLm1uE4MAVmEvBTQzlq5KzVOhnCvVGjKmKvO52tN6GnwThU8sr+dpk/Y7Vg3+VkWZrl29gAzGV45Ixy0zsEWiwLpxHoKWUwyEV0mn/B6ZEHQBM6xO7XN0WSCnmrSmk8sS7rpVyfR9vydK83qaWNRj3d5JW0ONrjWE8eb9lf+dD2AHWwBFLpcrpD6mje/hrAgBrVXZLEFSGkBl76crCwl8s/IOlJlExBiuJaXG7RIfBH7i+0GOXAAAfRaPjWZGDKPOjzGJNrJz/AM0jDqZ3ovQuzWLFw561JfLzJ2SlVtk5kdKet0yADw4zEPs+ZhTZm0qQhyNFqvOO9opsuI2wDlm9JyR/aTB/tyXZS25+vSYLit99JG2yLX8/EkQR7/fly1z X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:23.8606 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6efab064-c6ec-4756-f943-08d778afde3b 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: AM0PR08MB5314 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=kRRRJTf4mPIaHRSXWEAoW9eLeMmteOMEROl+BJhnHywEm1/x+SnppQ55gmrhhZ+r7i43CTxasbR0/ZwqO2FMpfaZoSMteOvkZmXDyA1sPUKwrydOyFSPaDZ2whuwkNf0l/+QdnnbdBU2NHvf/fV9vPnxQhOAqY9SyXOu627BzLY= 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=kRRRJTf4mPIaHRSXWEAoW9eLeMmteOMEROl+BJhnHywEm1/x+SnppQ55gmrhhZ+r7i43CTxasbR0/ZwqO2FMpfaZoSMteOvkZmXDyA1sPUKwrydOyFSPaDZ2whuwkNf0l/+QdnnbdBU2NHvf/fV9vPnxQhOAqY9SyXOu627BzLY= 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 Wed Dec 4 11:48: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: 11272807 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 B6D3F13B6 for ; Wed, 4 Dec 2019 11:48: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 983AE20803 for ; Wed, 4 Dec 2019 11:48:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 983AE20803 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 45D4B6E8D7; Wed, 4 Dec 2019 11:48:32 +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-eopbgr60060.outbound.protection.outlook.com [40.107.6.60]) by gabe.freedesktop.org (Postfix) with ESMTPS id E00206E8D5 for ; Wed, 4 Dec 2019 11:48:27 +0000 (UTC) Received: from VI1PR08CA0171.eurprd08.prod.outlook.com (2603:10a6:800:d1::25) by DB6PR0801MB2054.eurprd08.prod.outlook.com (2603:10a6:4:77::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:25 +0000 Received: from AM5EUR03FT040.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VI1PR08CA0171.outlook.office365.com (2603:10a6:800:d1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:25 +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 AM5EUR03FT040.mail.protection.outlook.com (10.152.17.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:25 +0000 Received: ("Tessian outbound 224ffa173bf0:v37"); Wed, 04 Dec 2019 11:48:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cbe77d516b08bb0e X-CR-MTA-TID: 64aa7808 Received: from b7ecf5d06a39.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0A30D741-3C09-4891-B968-A660C3920F5A.1; Wed, 04 Dec 2019 11:48:19 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7ecf5d06a39.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gIs68CFEmrv8UUftW+jAA3qE035ydmR++vNsn6Knleupy9CfC+egE5xSSJwogDm6pyPd3E6mzIAaykU/wKYGG5a6ux0SBWQWeSVmkh5LTeZBKAlpSC+vk1yaJcF3jDrpleiHhgZtqWIh1fdz8ODpP2woozKVUD49rDK+aD2WliUXAurgODrujfzOgMDXD0nSybySMOzCH4uuPkXS8O7foLn6SOK2FGNZYj+80QxsX/TuIKMVaBjyplKuUIoPCcKrcTKvIPqogFlFEuyF1W6YdXYEXDmVDeONOqPkE/aRtERUqu4JNSJOBiKgQPsotIKMqqbR6611e7EQdbqj/XMSrQ== 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=KnSuTJBFzNrkeB9zKnF3Qe/98AWI62opULSlDdrKH5VQDyL+7jFn3igg2mZzsrhYZ4+KyoRPn0pgkTsNVVP7nxUip0ux/tWKoBVuTEJN9IhtHOkG0lbmCKJM/73Y13Ps7k+YDIHPcwY8bMSRjFcLxeUAmV0BV5Yh98ebRHIVdVrVkvEuPrxee/76IljmH9OSvnbA9iLKx/4kix0RcWj8zmDG0ssI4RfUD95Jas0qfm6BpjT+I4RZAUb6U0S1naX0DzHku0/+ZVQjZo5NobWATv7pf0Z0v1CnimYvraCNGgQnKMABxImSCSSdAIQiwwclMhcVfA23b3WTcT3TcS0dIg== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:17 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 17/28] drm/bridge: tc358767: Use drm_bridge_init() Thread-Topic: [PATCH v2 17/28] drm/bridge: tc358767: Use drm_bridge_init() Thread-Index: AQHVqpi36/4eTQFiyki2i0rMuhwe7A== Date: Wed, 4 Dec 2019 11:48:17 +0000 Message-ID: <20191204114732.28514-18-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 0cd8959c-3abf-4a48-3e66-08d778afdf46 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR0801MB2054: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: YlxB+HTpQ4d9EpTK+RSJPv3G+F6EDMxwJvpbctT4rgskUowZNTTNmOBedeBwVq0w/DcbkSMwOKViLSC3lnIU/IT4E/dyqiXwwiBeO/6uMY47cnjhywuzboBMpugtvA5cIy3Pmvh5+r2EPUeHwyHgC6nxiLxiFxXrrVocYMn4H7Dq7uyFQoL0K2pSdPY+MjWVqLM2+OkbMj/2RJpiiiuFec/I2W6D6wZSB6j2JEoUIVuvGGdIB5Hlr6OBE/upaZttazMfk25eX8rj8vOkR0kAAi5p8AybFxeYtdvMhgatebmZkvuAcE2jB93zxwGOohnnTwR5UR3Tnxu4YdtKCt7RbSvk8GekQM9hRIq1yiBohFHoTXGBFGpb/s4S24GFQINC6yt4uPpnyMqkSKEdogQuRXFbWCNlHiaUblcsjz0E5w08LhTmmlpVEHF3awfWzOq9 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT040.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)(39860400002)(396003)(346002)(189003)(199004)(76176011)(1076003)(4744005)(26826003)(6512007)(36756003)(81166006)(107886003)(50226002)(81156014)(4326008)(6116002)(3846002)(5660300002)(478600001)(305945005)(2501003)(6916009)(86362001)(8936002)(25786009)(8746002)(76130400001)(14454004)(22756006)(7736002)(99286004)(5640700003)(8676002)(2351001)(102836004)(186003)(6486002)(356004)(2906002)(54906003)(23756003)(6506007)(316002)(36906005)(70586007)(336012)(11346002)(2616005)(50466002)(70206006)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2054; 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: 9514c0e7-2049-4344-f783-08d778afda1d NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XErp8L9V+cxxyo1IQnMMd4eu3qyvKvnqZaJgp5hS5sIxCzCls6yYYpp34vrv+NhZD9eK51cBL1o+rxS0VTHR3S1rz0QHS1/im+wmFVy1ZmRxj+5CzMjua+epKzMkJ7HllbeRp2eGTBa2rQZQFkPiAGAm+ysHZB4R+bUsAe5l32SFQZ4fX1BLFs4AOAa7ijQ5OscR0q9vwNHm8GhDOYVMM4X8juZAcmMd1crHYhTfzTfmH3Q0d8hDtJ5KmFSK1bU012UFMJ9jw007lwCiXWDUj7K0F18C6kiHQReI/XB8b0/tUnQVHzom3V3oa955atvxzJD3iKIo4HB/H//uliRVXnMzHXIgFSDBQVvF1H32Bsev2kym7nxKbtoklMpCf0lHZVn3TGHAU73d28fKlLrGeWP6S46Fiymaj3J4Ph/9fGuYD9olvsoEoclViv3pcDYS X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:25.5906 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0cd8959c-3abf-4a48-3e66-08d778afdf46 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: DB6PR0801MB2054 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=sX5I477CZHpR2Bb0boh0vHzyqhOsyiTxM+ow0TrtpyZSdX2HcRl2ybL7ojxAItM7gTTH6tpa/iVVb+OR6lspM1WjKxWOsev4Exjpo5+U/re/nCTavMZrCaD3+si/fEHns+R9cZeJbrLZytCHiZHcfrmcmvUN5Ko8MbRqynuqbQE= 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=sX5I477CZHpR2Bb0boh0vHzyqhOsyiTxM+ow0TrtpyZSdX2HcRl2ybL7ojxAItM7gTTH6tpa/iVVb+OR6lspM1WjKxWOsev4Exjpo5+U/re/nCTavMZrCaD3+si/fEHns+R9cZeJbrLZytCHiZHcfrmcmvUN5Ko8MbRqynuqbQE= 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 Wed Dec 4 11:48: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: 11272809 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 4404D13B6 for ; Wed, 4 Dec 2019 11:48:49 +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 2A2392084B for ; Wed, 4 Dec 2019 11:48:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A2392084B 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 8C14A6E8DC; Wed, 4 Dec 2019 11:48:32 +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-he1eur01on0617.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::617]) by gabe.freedesktop.org (Postfix) with ESMTPS id BC5FE6E8DD for ; Wed, 4 Dec 2019 11:48:29 +0000 (UTC) Received: from VI1PR0801CA0075.eurprd08.prod.outlook.com (2603:10a6:800:7d::19) by VI1PR08MB3439.eurprd08.prod.outlook.com (2603:10a6:803:7d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.21; Wed, 4 Dec 2019 11:48:27 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by VI1PR0801CA0075.outlook.office365.com (2603:10a6:800:7d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:27 +0000 Received: ("Tessian outbound 15590139dbb5:v37"); Wed, 04 Dec 2019 11:48:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 27331de2f3e13bad X-CR-MTA-TID: 64aa7808 Received: from b7ecf5d06a39.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 71ECDB19-0260-489E-A2B5-B7D66CE871D0.1; Wed, 04 Dec 2019 11:48:20 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7ecf5d06a39.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SaVAcPHdmFj5xxUKd//I9lqIkojJBedBjn6Cv59p4Btb+YDPZshaqNCnHF8VTxxyUJ6HI7uox/NkjxV0ZyciSZthD8EVPjnwX9OxwaArg9An+845bBRbfThPf74jFfJsIrFFc/gA0e9Z4WuM+PTIW7t+qn24yJIlZI5kCtDsM0Y3zsx8eUDqyqESlxZNHW4ZS/+qkbJHSIKGJwRhGpJEEDWd0pEfnpoxcQMUp+ePi3pbWrg5nekqAcT29AoYAvTTaR8gARI6/OBXAibTwha6dU6JZtcNaXSHO0oN0io03ERltL8syhpnrAhYBfRNn61ODSopI0fd7Nj5bj9iaYNpYQ== 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=nxSEzO/HhSJPBhcnqMY9hP+bzdy76+qQFZGqClJt/QHEWHT6P7hmsRIwxjbFG/Z4zda6rJHZdK59GgkPJ4ulof2mpm9LEwQiCJa84WhE+OAajryytKS8we7L7XP88edK+S5fp+T4WUlJ3COJrcEWIhUo59tFK/jihb4zicFPIRgo481S90HFBQjS5RocmN47cOpz529jPdetEqaE8jV/fQn2FlBRJWKNCuJPGHDMrg1YdLWBZwhDkD9m5iK4b5pBAqB7uUzCiJ/QTPB9TPqL3dvwDuZoQ5Mhe7MyDxDegw4WRGzWbie1RcA6P7mR8vrhG/dQkLe4iGkW4LaC6b4rVQ== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:18 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 18/28] drm/bridge: thc63: Use drm_bridge_init() Thread-Topic: [PATCH v2 18/28] drm/bridge: thc63: Use drm_bridge_init() Thread-Index: AQHVqpi4C2DlW8sHgkeTmalYje2zzw== Date: Wed, 4 Dec 2019 11:48:18 +0000 Message-ID: <20191204114732.28514-19-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 93dbeb46-f524-45f0-354a-08d778afe031 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR08MB3439: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: +q5LvAbCGZNpkVIGpm0CMbyOO69cj4/PxagVTIhBMnhQK4O5f2T9WJoqzFBx/5gQOro+nUOri72/1Mm4grjRQj6KpxYKQ34hrcAKRucNhAtN5DFrUMbKHBPSQvBlVrCZZJ1zq2pLdIXtlO9ydzYKCiW4wAceDpSmxAeeIgIGYnlpt+BQSluWrH7UJUM1i2nKwiSEGgcZCLLvo1EfYOdpg3ihQA9xdtS/Zk8UUzbyTAALYtRG9VzII1sAa5AdOqjTt4h1ij+UmGpogwDRVcpPn0qLCcZgmkDLKPwtjMynftIlT7B/Zzce4RluA4B5Rqh1zVMQCT9frAMdz8Iyf7w12dTR2oI5/m8YuwrhhvAV+17P7K9gs+yfCOBdtjNdMKv2dQLFTWAWbwZWtfkoMkDnV0U7WJelolkUWGT9FIM5t7xGJ7uzwEPDudWho1A3MDab MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT025.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)(376002)(346002)(199004)(189003)(50226002)(6116002)(2906002)(99286004)(186003)(8936002)(8676002)(54906003)(7736002)(6916009)(26005)(25786009)(81156014)(14454004)(316002)(305945005)(6486002)(81166006)(356004)(102836004)(76176011)(336012)(4744005)(11346002)(26826003)(76130400001)(36906005)(478600001)(86362001)(23756003)(6506007)(3846002)(5660300002)(36756003)(50466002)(4326008)(70206006)(2501003)(107886003)(70586007)(22756006)(5640700003)(2616005)(6512007)(1076003)(2351001)(8746002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3439; 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: 93a0caf9-3893-42b6-1dff-08d778afdaa1 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ruOOVKwE3mRkCfw2//NYg2WjqCOdPE49IL34Sq33G/zRo70HfzkeERefI07pjO2Jo9d7rTF4S+9olYR66mcWlkOd4J8mZSHg/JCJfgLMIW3NvlyIZy8gr20XVkpzV8/RmcNxJ+yfKDs9NnrrNUigwbCheiafYaWC+zkfAdDRMs2q3X3DCKLZYZNLhHFbgFZZ8lqhagZjemlili8S+xVmhZNrHLZq0i/vpR9Xwel5M7C+DKkoBS3afBJPx+YttFSLluoy9WYCBiFveJaJoqkUCUILBT8cj7WkS1QCJg50omCSNcJYZWGqj0AQVMJvKuYYBtKnPvDmGmQHRL1VMMBNYsx8An8zDf3lXZW/1GWMGlcBgo6Qp8YVcKTSFwAV/f0bWnWemM9EVPnyPARTAFoM+N9mqTsaWY6M2JtzFf0J3sUFMl5057nHRZ+/UvbrYwMo X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:27.1555 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 93dbeb46-f524-45f0-354a-08d778afe031 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: VI1PR08MB3439 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=4XlCn6ULN3JnLv+UCmzSEhfXjX6ZqFEA9uTNha+DT0UNEa/jgOND4FYoOXZ1wx6Bfk/kNZg2zGfsGxjHb8E/Kq2ZEKjfA7ZZePJzkOyk/ZSOigWFwu7uadbGvDidkhl/AzBL/NXbGAqO/WKJvLtx9ZWQAZlYraxl1VjecVJgjhQ= 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=4XlCn6ULN3JnLv+UCmzSEhfXjX6ZqFEA9uTNha+DT0UNEa/jgOND4FYoOXZ1wx6Bfk/kNZg2zGfsGxjHb8E/Kq2ZEKjfA7ZZePJzkOyk/ZSOigWFwu7uadbGvDidkhl/AzBL/NXbGAqO/WKJvLtx9ZWQAZlYraxl1VjecVJgjhQ= 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 Wed Dec 4 11:48: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: 11272823 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 02EC2930 for ; Wed, 4 Dec 2019 11:48:59 +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 DD75020803 for ; Wed, 4 Dec 2019 11:48:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD75020803 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 02C8E6F4F6; Wed, 4 Dec 2019 11:48:38 +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-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5E6EA6EBB8 for ; Wed, 4 Dec 2019 11:48:31 +0000 (UTC) Received: from VI1PR08CA0171.eurprd08.prod.outlook.com (2603:10a6:800:d1::25) by VI1PR08MB3629.eurprd08.prod.outlook.com (2603:10a6:803:7f::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:29 +0000 Received: from AM5EUR03FT040.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VI1PR08CA0171.outlook.office365.com (2603:10a6:800:d1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 AM5EUR03FT040.mail.protection.outlook.com (10.152.17.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:29 +0000 Received: ("Tessian outbound 224ffa173bf0:v37"); Wed, 04 Dec 2019 11:48:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 02deba9103022596 X-CR-MTA-TID: 64aa7808 Received: from b7ecf5d06a39.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D52A9F92-832A-4F10-818E-23049E88648E.1; Wed, 04 Dec 2019 11:48:20 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7ecf5d06a39.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KFjfM1vbceSWlZzQOS3czSKAaBQBuopoGn+xGg+MwBYL0iX+W8QqSHFUoM+lfLR/lSzr/OdDxjIuP2jJgZLuUe52X2+7UD551EV8t/fcGVJHPI9AUgUwiHRv2tN5f134g8WsYhLlTtPdcMMNs+l/4hGfE33zTlPuyNFq3i+S+eB5jYif+jDAmt3dZ2Y6g4Q3zhZEYKwQOle1aY/VKbOMwfG7p4E8nsSEnNjgvjTtzXpwA6bEzu4/nRyur+DvnWXgp8TUOL0P6fvJNJyTvJernmYhE+YyLhe8N4EZtEAXYVCVCZfK2uwmDtIfdZANtuFTOhtWN+8Raak3v5jhUKqecQ== 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=L3Hg4mrVEBOa+7Eg0HxR1pK28D7Url9Ao7j+h2mFv5lApB6IIMAaZbDrQZW/HBrqoKFKMoWFGhBaznFn7G4lZiq1/bRpMlGgq2CpXr/aSU9bKUPPnS43Xm9utLhNiotxh5idOgChVatRkEI5h8Dnwvy7aoSNi7jqBlsaQfmKRSXbGdgQsdJJ/yTxqIlQiFFt/gg9XcEun46x1fM8FMqalb4sRx5ODIsPL1d4DshzbdtnmqrjUtmxM1WVQ7NrzzXoTgm2SttCNLbGmhoKSkGFN9Loyu4MHh1QjsvYCa5nxHXZqx1+rCmHxGF7+lH4UPGfvqEHm2Tbf+5OYWzalFvz5A== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:19 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 19/28] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Topic: [PATCH v2 19/28] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Index: AQHVqpi4n744fjqeC0eCTHPE/a2o9g== Date: Wed, 4 Dec 2019 11:48:18 +0000 Message-ID: <20191204114732.28514-20-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: ef72a5c4-5054-4781-cdd2-08d778afe15d X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|VI1PR08MB3629: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Ee8US9YYDLIamDHsVWNhK0wsPhjx0r2hLi/WzW6cH7KY2NCfcT1SdGVWBV/r/2Su1Qz9RqkprqD2MIttwwD9WOROL2vy6BaN2t+Exc1RFoL7l8bnDFHKhZ5JhbZaFbhR0TrVP/twY+ekr8JHd4XJp935yGF4Odv3NPLKx0nC3GWOTMIqis40gWZjMs9QgdG7+JhqvriWSFiMkVYcgKyexpdb5rjGLF4RUdNM1zLJVeIdjVJJVHAFT2N1259kg3t0fuZVoWGC3hstp7HBpWVrlrvA8S7PSInJg8qPmW9sdwSXdE4IxDRoy8ZqZ6dFM3X5EMnf8Xh4kkELBMOL+RQInh6deD6qGi2c7yWTCGpbZLb8lnoDQOdhElAgWUSHDc6TtfcKcLK84HnLOcQ/KOjwIU4/2dUFKWfQYCcvqNFbMKXrq+fT9xE1wF4RIxzzs08X MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT040.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)(346002)(136003)(376002)(189003)(199004)(76130400001)(2501003)(4326008)(6116002)(36906005)(3846002)(23756003)(356004)(26826003)(2351001)(70206006)(14454004)(70586007)(76176011)(4744005)(36756003)(25786009)(478600001)(81156014)(81166006)(8936002)(1076003)(316002)(8676002)(50226002)(54906003)(86362001)(6512007)(7736002)(107886003)(305945005)(6916009)(22756006)(6486002)(5660300002)(5640700003)(26005)(336012)(6506007)(102836004)(186003)(2616005)(50466002)(2906002)(11346002)(99286004)(8746002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3629; 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: 5cd40efa-2662-4175-beb2-08d778afdb19 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Fo7J48bGkGbeV13ajYPRfYcstnqJIADDP1+rC2osHvaD4GnHj84KPhGXM78wo1XxkmFWZyv1NRiBVAiEUgLkeGpI8Wp0nozhHcP6rVwbSelllqOn/fGl7SC63OWumnDg6xnq4e0H/FHgWA95QpAEMiXMalr5r3XglgFpCx9T+mokbIATiGsVKL2/K+ZGbK6VoIoI+YI3LaREtRi6PY2+jm9Kge3cnuBfSWnDzUKlY1ZXR3plQ/1yqWrbs4hBOzYmkaT+EF/G2qCP6A9WHxYtqi6rZ2Lx4EoXM1lCtCuPyA1jFffxMIl+X3V3kRfKuZ3yHJFhJRN5ManIUwSM7bpPSE8wU8WokSyc+yPrue2kOOSIWI1lMk0n/3EP3Ts+oIePM+qQEkOv9Y0G2KsVPRFnBttrpFui5alPZZLQLrkcnkWJGPREUxBTo1ygV1qwfDcm X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:29.1255 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ef72a5c4-5054-4781-cdd2-08d778afe15d 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: VI1PR08MB3629 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=1GSexDf8+18j51n7+cQmgRoYULNXUuSLqkLLrNXgiCq9gde/QDWp82fbujopFdKGpWxxA+JSlhxWqX6BaL9vwpure/A5EG1ItX+QzOeFJelLk6sp1RcJAq6hN2KEOJ+FUeKmQ9etQCX4kt9jAVUpYgjTy9yYYwYvntvNWzXEdWs= 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=1GSexDf8+18j51n7+cQmgRoYULNXUuSLqkLLrNXgiCq9gde/QDWp82fbujopFdKGpWxxA+JSlhxWqX6BaL9vwpure/A5EG1ItX+QzOeFJelLk6sp1RcJAq6hN2KEOJ+FUeKmQ9etQCX4kt9jAVUpYgjTy9yYYwYvntvNWzXEdWs= 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 Wed Dec 4 11:48: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: 11272821 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 7C20213B6 for ; Wed, 4 Dec 2019 11:48:57 +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 62D3E20803 for ; Wed, 4 Dec 2019 11:48:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62D3E20803 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 D32F26F496; Wed, 4 Dec 2019 11:48:35 +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-vi1eur04on0620.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::620]) by gabe.freedesktop.org (Postfix) with ESMTPS id ADA776E8DC for ; Wed, 4 Dec 2019 11:48:29 +0000 (UTC) Received: from VI1PR08CA0174.eurprd08.prod.outlook.com (2603:10a6:800:d1::28) by DB6PR0802MB2551.eurprd08.prod.outlook.com (2603:10a6:4:9f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.21; Wed, 4 Dec 2019 11:48:27 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by VI1PR08CA0174.outlook.office365.com (2603:10a6:800:d1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:27 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d4be94568fcd5ed9 X-CR-MTA-TID: 64aa7808 Received: from b7ecf5d06a39.8 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3882E90F-F739-4CA1-98E0-AA1FF754248B.1; Wed, 04 Dec 2019 11:48:21 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7ecf5d06a39.8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kY6pP4AUljXBmcjMDmRzJ3fCEQXFp9KBx7gwG/agwUlVlSbjwPnGGWdGMEvIQgk+hm31i97h9PVjqa6IulWPBWvxHMSJU607lCiuVAL520NWHRVtMb2oWld27xnKySggKhvUbnRKVGZ5oIeWesLjG8ryjrvZDNuIzSghaKOS7xhPVYh/lYDO0GFlA5GE9pTkQJF8Ibh7wuMb35QvvOt0Yh90t10mnQwVteAWJcUVtjWnNwbzj8EgXZkC4axS3aVxHworsSO7szwdGfZ0co3IN8BJBphSO4HZ2Zcp1g/n8pZdtnsFBtocVGI+zL8LPhHGEr3Qh6qGCmta8uBZMPzCpg== 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=lw4Gr+mfKUk0ra4MhtNoAftoaNB9M5KK5QJ3CuAWst/OJsC0yJcDSG8M0u3I6Jtfl/n63GRj3oRYaPts8Ro8sNjn8r9NlKs/y/jdVaT9bexyrqFgXEXCQHXqRQEUfH3/LhFuyTeEPDJawReaoOBfpjwkgY7swq1SrWV0A+jcNfPuEYAsPaYawix57RCgd7ZQjnzVkHsCpDO7zCUvtPt2vOEL8cHsxE/wlUP6gt/mHGEMKjOG3J324wApjDox1pO6NQQJL2ZrU6qvUwaOgtOMphywbwlss2QHnc9xjigRrWF7K+Le9DtBcyr8RGB7/DNX0R09kn88/GS1xnB8Klqs9Q== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:19 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 20/28] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Topic: [PATCH v2 20/28] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Index: AQHVqpi5QCRUUSgUu02K2aKh0X5GZw== Date: Wed, 4 Dec 2019 11:48:19 +0000 Message-ID: <20191204114732.28514-21-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: e42a6200-be8b-4729-b08d-08d778afe02e X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR0802MB2551: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: v1BHkepoKwFa6M8j4fxBcq6zRWYTSo2QrnjcodgrAiy0BPSZpd3oaD/OhOiHnyLFDVdInHVzb8WIu1OQ03dPCwBsLomKVVoit+KZHOM/I1h3GJONTK1DUWZ9R8U5wZ5zZE3m1n+YOwC5XC6opfbYBpHMeecvEB44zr+CIpFfg/WecokW2t7DKU7Im0qJc01UpMkFwIBDus0lRuHSCwKQ7KU18rhgR9jaXNN2aTG1wZ0KlY7oEUOTDQR3ChlJdGbDJJUNtPyYdAniC6dP8EQYkzRjSGZtEPGzxhNIUW6rwxpGvp8Nnkk6Nu/jDFITOVW37jF67ljVhNFXrph3H0IAILHEXhzI4K7btdjsa1GqxesqEb7+/IRXE6otD+0CvzUl+7i2mxnQLgSY7/Y07UQ51S40+HIPLCHH2FYCWTFc2JFgkW5iILSKx+u3JpgI3Zdp MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 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)(346002)(136003)(376002)(39860400002)(396003)(199004)(189003)(25786009)(23756003)(8936002)(8746002)(6512007)(81166006)(26826003)(14454004)(8676002)(6486002)(81156014)(186003)(50466002)(6116002)(102836004)(5660300002)(2906002)(4744005)(3846002)(2351001)(6506007)(36756003)(2501003)(356004)(22756006)(1076003)(107886003)(76176011)(2616005)(7736002)(26005)(6916009)(11346002)(316002)(99286004)(50226002)(5640700003)(336012)(4326008)(36906005)(70586007)(54906003)(76130400001)(86362001)(478600001)(305945005)(70206006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0802MB2551; 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: 7cbc9697-e47d-4b37-d00e-08d778afdb94 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sfzv2KJmCXJyXSQpDcC6q0h7kk5lBePX8um8I9XHaiglp4NsCWIBEYVImJjA5wTJz6KSBAaiKhnBNBQ9/mAIzPVoEUX6oAYhlPXWhHUIHnX/Tghn08oLdBQKs1OZmPJvZnNwZb/23o9FY2O2C4p11IoegTXHh14hoBRaTBtD5uIaINZT6TJzesq5glZDDXoMJ2kZzh0m11VIgJ4KlMSmJ0F7ivYQLkQZHFLUEvCxiQ02yBeB6+I5lX8pvZMnTtSXwlB0Ux5iQYeuRdFwVqAMgSTBH27dvZFjM9SCMGot09BKPr0wW7u9vXfbwAjlKiDfEUK/mzIn3hd//tSjYubQw7cC4l1otoIQqCg9ncingXGTNFjeBq/nmAhUYhzcJlUeSN7Zq5aEwq0nM96Ey4o185OTn6tGcs3o/ZNNDLZdtb8OM8oKjlPSqX1+Q4hPuFvJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:27.1430 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e42a6200-be8b-4729-b08d-08d778afe02e 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: DB6PR0802MB2551 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=cBkuJABfDC6y3k7unQB2WmrePPwJaSQnaXk9QOfXtAhTC3bpM2iY2SQlXSejigVs4Bmj8hTjxVbSbO83ZuF1jvJ9KaUiKFfvmpmAVhYg8tEeF0ib7aD2glaGnu2IXWvM6dPzlBfDWe+nHUkBHnM/AaIU1dzttwrrckbK1kYu+3A= 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=cBkuJABfDC6y3k7unQB2WmrePPwJaSQnaXk9QOfXtAhTC3bpM2iY2SQlXSejigVs4Bmj8hTjxVbSbO83ZuF1jvJ9KaUiKFfvmpmAVhYg8tEeF0ib7aD2glaGnu2IXWvM6dPzlBfDWe+nHUkBHnM/AaIU1dzttwrrckbK1kYu+3A= 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 Wed Dec 4 11:48: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: 11272817 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 BC523930 for ; Wed, 4 Dec 2019 11:48:54 +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 A286620803 for ; Wed, 4 Dec 2019 11:48:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A286620803 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 DD3836F4F7; Wed, 4 Dec 2019 11:48:36 +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-he1eur04on0622.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::622]) by gabe.freedesktop.org (Postfix) with ESMTPS id C37BE6E8DE for ; Wed, 4 Dec 2019 11:48:33 +0000 (UTC) Received: from VI1PR08CA0157.eurprd08.prod.outlook.com (2603:10a6:800:d1::11) by AM6PR08MB4405.eurprd08.prod.outlook.com (2603:10a6:20b:b7::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48:31 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by VI1PR08CA0157.outlook.office365.com (2603:10a6:800:d1::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:30 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f609738160676c2d X-CR-MTA-TID: 64aa7808 Received: from b7ecf5d06a39.10 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C71C4CBE-4543-428D-8819-AC471F306DE4.1; Wed, 04 Dec 2019 11:48:22 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b7ecf5d06a39.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=euiCuXMPMKennQ3P1HAOA0FsjcwQj4cWm9GsvGl0gRxXacXc1HJ6iXy2FZ+wQPnqj6tUZf4j2kNnkDmXrjHy1HU/PPGnfWIuvNkLbQuMgCrL8kd7qyKoMWRJK8s2Vn+o95gJIFwKoxsJIF1CkOrSDcfP0WiM7WBEnrLU1wyL1St6jcptuZrZwJXqlMpLmwNMekStMHqGVO8CKUIEmePUpozIDaB1asmqwr+lO8XgzVUVgfZQx+KfU2RKF6bpJt1T7xwYh6F9blMe0MMnds/Axka/K7Y33OBKWsYNMz99T6dl4Q7ubWWbDuV0QjOibpcbHv1W4h00rdmPPotr2LGTZQ== 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=9ACjV4UGNCWLSq8MibzK+USLBibC30MfoACrBrreo6w=; b=dEgND/wqxuNRAeDNTOo08n4EjebnpPNWfpbUnBTEbHPhL+nLOzlZm3bJDtoOBsZYuMjaz2jN8g6++fYQz9mB2V0mNh4xgJtyt3+c913YuYtsTxkC9wEF6d72W46GQG6QMZb9xivjSmhcZgER7JMVYvpUu5r4qbWwvhkrNqSYALCTbrYMtr3jpFRtGTijF61vpzF2h9mEdg2kAckll4hI3cMO9BigVuNtIZ2Oppxs087xPGOpEdEVG+tG0UvP6Kod9wzN98XXAmckyXsdW1PVHd/FcmfD0G9DcsWiqFXcXQ3y5y1SEYLV4bLcI4vkz/No7MWhGlWj6VzdS9HYE4T8+g== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:20 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 21/28] drm/exynos: mic: Use drm_bridge_init() Thread-Topic: [PATCH v2 21/28] drm/exynos: mic: Use drm_bridge_init() Thread-Index: AQHVqpi5K8LO++NS4U2nSxfkhZ2Q5g== Date: Wed, 4 Dec 2019 11:48:20 +0000 Message-ID: <20191204114732.28514-22-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 4f73bc06-5d1e-4262-3cb8-08d778afe267 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM6PR08MB4405: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(7416002)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: swHtl3lM5DNGW+yfqJ+0LRrIcntQrPyU3gJ3lU2I87mob8849XNBHNH2F54qRwzlArTIpeHWMR6ipbFPAEyjQWL9+bmWEjtncItl2vSaWStTl8Rf7Z0/xV2LjOPoPs2MYKB23vGlFaMcvcubVqkVOtZEZk+/ieh7doUjkMDn34vPyWKrxS39+aRM2W0v1JrCBCn/hlbpaL/h9jEaO4TO9G9tUYiGS/UFr7rbxnlVEMVc5zkxFm0bce56LRJaRdeKz+dE7kBvREiNGEJWq/DSnloPlwrc1ZCd8Ukg1ItOYhCHwMxw7ExZWFkBsMlpyOnpHQnlhe4a7r10GAPA7Q9a5VNCXXeSG6eBfykeZjwFGfpceDqttlrm+bZrFfgRQ8Pq1G4A9ASRygyhTVuDZMpdFFiaAdEzI6sgEExcQvb7SqKV3AqI3S5ekAsUtysOH7r8 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 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)(136003)(376002)(39860400002)(346002)(396003)(189003)(199004)(5660300002)(6916009)(81166006)(23756003)(26005)(70206006)(7736002)(3846002)(81156014)(36906005)(99286004)(2351001)(316002)(2501003)(26826003)(356004)(1076003)(2616005)(22756006)(8676002)(8936002)(50226002)(2906002)(14454004)(8746002)(478600001)(25786009)(4326008)(107886003)(36756003)(6486002)(11346002)(6512007)(76130400001)(305945005)(102836004)(86362001)(6506007)(54906003)(5640700003)(70586007)(50466002)(76176011)(336012)(186003)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4405; 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: 3e801a01-9320-4c23-3ed5-08d778afdc2c NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mVI/Pv6RqxP2CmAafvPIaD6wVJbf2sZPi6Zn38vLMa2oI3p3dh6Z+wvKGVjR2Ol62r4tisDB07tcUnCSXpI6H2+zC+8rG/PzlBgRVCs/SDS7eBC2u3De1GtGGaayaUpJbf8kypeVajEsBXQQSpFavZ8XicNsD9btHiIaanBSifmtk9ZpzKja7xv2VV7pszM9My6An4Z6/BWRBHyGlBUlJ0QS4kXEDfHysZQK7lFp0MOg1+5qDLMwPNUIiDIqr+gUFZK/2S+9XDM7LYzDTW1Ny7eIoz635RuB6FAiYGxdw537khF9KUHqsfMrLPECmmQyQ3706urfjEZ5FUvsMX5oTVitX5ZfqdnpkGYxEMloV5hThnA6/jztNZds2E/lRUMm68cwQvSAS4FtaTtm4Zckqu4KpkpOcbkYNMQCYLOaVqT1udMRfV66qEf9b2elWHzj X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:30.8600 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f73bc06-5d1e-4262-3cb8-08d778afe267 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: AM6PR08MB4405 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=9ACjV4UGNCWLSq8MibzK+USLBibC30MfoACrBrreo6w=; b=xR+QFID3SCM0cWoVSBA4I6BSgRQe4GUbyQa6A9xzNf5AGk1LPbGN5SICdOjNOw7gV9QK6IrIAqJLA+pt+IV0G43bMlnnoFw/Ls4shNiZAGrTdFdiAvGYIdgeeThHr8wxrSH9zGRcl+62g6aphheK2DuP7GZqlRO9vpvUe6122Zc= 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=9ACjV4UGNCWLSq8MibzK+USLBibC30MfoACrBrreo6w=; b=xR+QFID3SCM0cWoVSBA4I6BSgRQe4GUbyQa6A9xzNf5AGk1LPbGN5SICdOjNOw7gV9QK6IrIAqJLA+pt+IV0G43bMlnnoFw/Ls4shNiZAGrTdFdiAvGYIdgeeThHr8wxrSH9zGRcl+62g6aphheK2DuP7GZqlRO9vpvUe6122Zc= 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. Acked-by: Inki Dae Tested-by: Inki Dae Signed-off-by: Mihail Atanassov --- 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 Wed Dec 4 11:48: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: 11272825 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 63E90930 for ; Wed, 4 Dec 2019 11:49: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 4A85E20803 for ; Wed, 4 Dec 2019 11:49:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A85E20803 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 DAF9C6F4C0; Wed, 4 Dec 2019 11:48:41 +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-eopbgr10045.outbound.protection.outlook.com [40.107.1.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id A47376F50F for ; Wed, 4 Dec 2019 11:48:37 +0000 (UTC) Received: from VE1PR08CA0030.eurprd08.prod.outlook.com (2603:10a6:803:104::43) by AM0PR08MB3761.eurprd08.prod.outlook.com (2603:10a6:208:103::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:35 +0000 Received: from DB5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::200) by VE1PR08CA0030.outlook.office365.com (2603:10a6:803:104::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48:35 +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 DB5EUR03FT048.mail.protection.outlook.com (10.152.21.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:35 +0000 Received: ("Tessian outbound 691822eda51f:v37"); Wed, 04 Dec 2019 11:48:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: fe38f37264b717bf X-CR-MTA-TID: 64aa7808 Received: from 65f79e651b26.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 11FFE7A2-17A4-4C25-98E1-1ADCFD12043C.1; Wed, 04 Dec 2019 11:48:23 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 65f79e651b26.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GweuT9zZqd4r1pYzXvAT/PxsLgnAS1srfVrK4tjyYrQ64x9lpWFNmz7yEKotwU5fT5UAbvIlBjMPlDjCfR05JuZ99Oju9pjlK5RXqX2YVekvbXzr4nahjdfq3XFvYmooY+6+JyIaQR/oD6jwJ7/Kgxl47EmSJSzlE3F+NpglAKHBE6fv3HJvQxo4Uze0z0isBUH+5hf21zr5QtOcStn6tKCoiedDZfH/1g/k1LjZwbSLFcuOUc+tTvY2k3f6+YCBHZPPV6S7WAcXz4Y5oPky9EngbBMwdWHWQscfpZswWFLhZ7AqdgFjVnKRJweYAtJT4A8VyAS9NP3m2zK/QyxTRQ== 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=BSO7e9jnLbzv9oaqonRL6ihnuTR1gUamAb51BnwsI4n6C5jG+g41toE/JW9aM/s55+6x7vn5W98htp0MRV2H52uQNSlNr5SgIOUmt5YRrau7lNtHiiw9whZ3XS+0UUCVHzIkFnFiL9VeZB2h19XI9e3OSaW57W85aO9+iIn7Jwa8GnKW9UHZyyaiyQWcDB6ag/C1FgGo1GdJA7wvTjUNRyFOTW1XSCURgQWtPf0DoSqo4BAseSbyEvVBU/zBpvhm/MhGDmY+t8Nn7dQUe0hOE6fJQHu6RGN8EfWpomJ+UWeWZIbrM9KhtfdqIdFoVtINWokaTSQ5XXCKFOsRcuUssg== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:21 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 22/28] drm/i2c: tda998x: Use drm_bridge_init() Thread-Topic: [PATCH v2 22/28] drm/i2c: tda998x: Use drm_bridge_init() Thread-Index: AQHVqpi6ihgm+7aiek25lHH7QqgvMA== Date: Wed, 4 Dec 2019 11:48:21 +0000 Message-ID: <20191204114732.28514-23-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: d8975875-fb5f-4831-461b-08d778afe4e2 X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|AM0PR08MB3761: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: KYxcctMOwWUkTYEl2YZvoI2q0VKnt8ZwsttTkeFnRqVDZL2q74pFkvX3WGX7GhxVSIvq5x/pfoN3Z1HthjiPOrVtTC8soU4u93Jf8IPvUD9YfJmqjuvIkE7AA93KhjhQIt/+dkg2889k+Jq5wXWFWTkKt4zwRp6Tp1JKBFeapwE3PKdj6n3LVd/L5DEAaqaEfbBeAmADab5/WsNEFcvC5Z69KZOcmlZWxJLm5JstvDYA0YjfKRTXbP+6vRGUAkyLR9PUFm5n7JZ23p4e9ly/sGl8DAHtd+WllRPrYQZQjHIPvI5IRywMphHEUTDmwmDmUD0RQ2WmpKdui+VgEmnLxKk4oomos1Ps2KOA85o3kJCqZTu0jXM4CkEmUOifaawtKnEeprdyO+CmtbOLu1G97dA/gBunUEtZy8+10nWZe+kl/Pw8/Lx0i5zhmH56+RGY MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT048.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)(5660300002)(186003)(54906003)(316002)(6512007)(336012)(8676002)(81156014)(81166006)(2906002)(305945005)(7736002)(50466002)(356004)(36756003)(76130400001)(70586007)(4744005)(1076003)(14454004)(70206006)(22756006)(26826003)(478600001)(2351001)(86362001)(8936002)(5640700003)(2501003)(3846002)(11346002)(2616005)(50226002)(107886003)(4326008)(6506007)(25786009)(6916009)(6116002)(99286004)(6486002)(26005)(102836004)(23756003)(76176011)(8746002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3761; 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: 8f123b41-01bb-42dd-7bba-08d778afdca5 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AWV2jkTktz8OcBNi1RVGZ0BsWhaE7FABN84oLGTdfE/97ptRqjQyVh8YdMvmG8zO7gOX14d7Ia7DN5UEXdruDcXmp8jQb8AShehbGiCjj2zQtsBvYCiEMIt2+WR9fuM9IQJvboRnqJuJcNEtsXkPJAiiHnebo3cIm54qiu93W+8fiSXUYn+8bVGxn85EMIkiN70yaKL4Wb9Df8pleUgzw8LOf0oh2297BrxmjqZJr6TnGWhqBQCJEj56pmPt5lWZOGFaIS49ny+0LlIKNbXc9z2wwl3qFiF46LKG6i6dSY5dxa32esNXuXhjgJuwfVVLADnVO5t4QcwoA141zCqrNIiXtVpMiyu+nx3SvxR5di6rJjl34x5aBNG7d9qJrf5fxXxSAWV6fMmYN6qQ9ZhABkth9uqYQRlYGKkUVbbrFGMoIcBXOgrOhdKRrPZLrMKE X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:35.0328 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d8975875-fb5f-4831-461b-08d778afe4e2 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: AM0PR08MB3761 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=Hks2Nh4tKLaPbxE7stJ3gDOp+YpzvWKVR7KJDXhD6UJ8JS5Gy+wZN0wuahVXRKdbISDc6Bnd8xV9/ymF1dK0896IvraSm6eyY0EYF2zoYC6LT+V7CeIt4OxBsL6VN3eWqiCTf7arhljkwI4NpJJ1ItnoZC0vYzYvznyETl0DiPE= 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=Hks2Nh4tKLaPbxE7stJ3gDOp+YpzvWKVR7KJDXhD6UJ8JS5Gy+wZN0wuahVXRKdbISDc6Bnd8xV9/ymF1dK0896IvraSm6eyY0EYF2zoYC6LT+V7CeIt4OxBsL6VN3eWqiCTf7arhljkwI4NpJJ1ItnoZC0vYzYvznyETl0DiPE= 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 Wed Dec 4 11:48: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: 11272815 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 69A3313B6 for ; Wed, 4 Dec 2019 11:48: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 500C420803 for ; Wed, 4 Dec 2019 11:48:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 500C420803 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 A3E5B6F4D1; Wed, 4 Dec 2019 11:48:36 +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-eopbgr40070.outbound.protection.outlook.com [40.107.4.70]) by gabe.freedesktop.org (Postfix) with ESMTPS id 51B446E8DE for ; Wed, 4 Dec 2019 11:48:34 +0000 (UTC) Received: from VI1PR08CA0174.eurprd08.prod.outlook.com (2603:10a6:800:d1::28) by DB6PR08MB2792.eurprd08.prod.outlook.com (2603:10a6:6:24::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:31 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by VI1PR08CA0174.outlook.office365.com (2603:10a6:800:d1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:31 +0000 Received: ("Tessian outbound d55de055a19b:v37"); Wed, 04 Dec 2019 11:48:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5dc754a238b73100 X-CR-MTA-TID: 64aa7808 Received: from 14edbbfce2ee.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FE97C952-65B2-4035-BCAC-6B9C9FB016C8.1; Wed, 04 Dec 2019 11:48:24 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 14edbbfce2ee.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APbrI4Urj9VExqMHSrIue4bVG/GX7/ns+f2PGDF/bhjZM3FsfI9R3e8PPqvxMb7YjClfG4Ef7G5h4Q79cMLL5FqWDeSS5ixqfNrIb9ZPu0R9uTgVTS4Qo+5Db56Dc5gM8LWnY6i+SYN3kEbSsh1uXiTx2IHtHzBWrT8gJesHftw/TQjbnlOP6ETR6I5dpLfctTBcWNMLBCWYa7OE7eoukn1o1h9J9twIeLi//c4igOqRM8klduvPfXo3nga1oHtuJ+qqWS46qB6YNPojO3RlQ0kTBOBTq23J8L0dLFD0KAHt66ufwwpmJE+hNMepHVaKBY5ML87300jJdaZPJDiI+g== 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=VC07oWCTRqP/8StEgXjpaLEu5lG/XpQZxdcu8dfM6Zo=; b=W/7rkHZrQ8z0yhNmT1VSahZkRIrr78RnAxHjHkL/lii3NX2ZzIEPI9EA/tEy2kWt2iCwKl38TOWqzoMcUHM9rt8Samr7hMRrccFdDNFnzbhI+bEigNWm9E810mGRTI6gWzOKXV+Rj4slRJsZ1rN6Ep48xu3G6GBjqUTTE/R/rdxjRbDpHYdS2xEUmwYpr2UHZMmCPWamoaia5ZaaPAbRiAQ9vrvcuDGPc/bGAlvS0gYnINGu6H4KBBuza2esna8JSuBvqr+proBujtP8dbNZF+rPBoHv8St6GxgCbTMge3MO3b3PDv9k39jpEfKzcOlXvnfQ4onCoGrtZW+A6cRJNw== 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 VI1PR08MB3085.eurprd08.prod.outlook.com (52.133.15.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.19; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:22 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 23/28] drm/mcde: dsi: Use drm_bridge_init() Thread-Topic: [PATCH v2 23/28] drm/mcde: dsi: Use drm_bridge_init() Thread-Index: AQHVqpi6sdi//MuIqU22o6K6k+uyEw== Date: Wed, 4 Dec 2019 11:48:22 +0000 Message-ID: <20191204114732.28514-24-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 7c77153a-ef16-4400-a732-08d778afe2ca X-MS-TrafficTypeDiagnostic: VI1PR08MB3085:|VI1PR08MB3085:|DB6PR08MB2792: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(199004)(189003)(2501003)(1076003)(478600001)(4744005)(6436002)(6512007)(8936002)(6486002)(54906003)(44832011)(4326008)(316002)(50226002)(8676002)(5660300002)(2906002)(81156014)(81166006)(6116002)(3846002)(66946007)(66476007)(66556008)(66446008)(64756008)(11346002)(186003)(2616005)(14454004)(52116002)(76176011)(99286004)(2351001)(25786009)(86362001)(26005)(5640700003)(6916009)(102836004)(71200400001)(305945005)(7736002)(71190400001)(6506007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB3085; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: FTFVj+gPip62yXlCKKHms13eg4qBbi4IKGzrINZZtBCQQpz+6vmmx+0ODL+hyeHSicOokn5WbGptrRKz6wfj3D2UnfBbzMV4XRzI0vld2NBZ0q+asrrsWKBnEJE3y3VgT34OuwBzBI97oXuPoNIc2KocY+Mp6xuK4N4iCQyhG3fxqWq1GtgcaCbUabioUeuJpOrJu3VCYCvdtqg4SO8jVzG1BzcMGXgtZ70qLBFUvhg/jhnIa8C5WC3vYogc1rbMVFsYGk7Is/b0bqNFeA9/waVD5L8MZyQdwr+S8l5ee3qhj4QTuJZ6KBdvD5h6NWTuAO8L+apJ2oPrTFULzA8Jo0kWy/KQbZSn4Oz/xgTi0DFeFvem82LUC5gCkaS/ChqWsbWWR9rgj1zirhtBVrzxcz55HXGJA1Nq5VqeqLJpNx+vS8PaPalzH+Zdil7z7cR4 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3085 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)(346002)(376002)(136003)(39860400002)(396003)(189003)(199004)(6506007)(99286004)(7736002)(5660300002)(2906002)(86362001)(102836004)(336012)(305945005)(36756003)(8676002)(81166006)(1076003)(81156014)(2351001)(11346002)(186003)(50226002)(8746002)(8936002)(76176011)(2616005)(26005)(6116002)(6916009)(3846002)(478600001)(14454004)(2501003)(107886003)(26826003)(4326008)(22756006)(70206006)(50466002)(36906005)(54906003)(316002)(25786009)(4744005)(23756003)(5640700003)(6512007)(356004)(76130400001)(6486002)(70586007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR08MB2792; 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: 179ba75c-0e52-4ff5-0fa1-08d778afdd1b NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vhUgU8zknC5ToUaiqrZQVQI9i7wf+KAo/0CBO4j+fLuEyJoS0gTLOnGqSvU2Jsw/IzydN4oK1n24+MsgoBgfDF3ejsnM4F+a7YSUOeog9eTMzXi5JPmPI//irL9WMtLYFM5fO3ZN9ZE1DOCAoxMoTpP8sW5tMPdaV/Y8lwHyNY8GVgZDmRj50fwUO0sLYPt+7wINWMpmVSFAnvHt55W6v6qjxmzopwJBe44KSqd9ttzt8oqhQj8oooYoRJITg1y5v++Wh0t3xYbFJHeT0z6NS0O4XOfbJLvOY2hUk36OZiHCsJH3JuHnaMkYtgkEG8Ka/5bQD4lTNkUgCsDMpCYCMQUMsbZgTf3+FT9WL7UvErg7An02wQWhv4IsKosfsUbOiHM5SRvP30/x97/7GkGGXeS3pWfMvJ1DuLu6F2lRcgaVcHPUfr/t2DvMoLulxRFv X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:31.5155 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7c77153a-ef16-4400-a732-08d778afe2ca 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: DB6PR08MB2792 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=VC07oWCTRqP/8StEgXjpaLEu5lG/XpQZxdcu8dfM6Zo=; b=lh58ZyPxGfqLQdQxsGZa15/2Daj+nB64KB5JBa8eof++k/xA3WtcqpbM1BqtSyjUBhTPRUkTGdYzEgVZK5UVlKN/vueJkbHDH44NpRK5I1tEbuJ/t86l3GLKfsjcZNxc2Yw6frm6lnjlmh6/2V0qWa2iZQ0sC9vea1Vf2fbkG2o= 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=VC07oWCTRqP/8StEgXjpaLEu5lG/XpQZxdcu8dfM6Zo=; b=lh58ZyPxGfqLQdQxsGZa15/2Daj+nB64KB5JBa8eof++k/xA3WtcqpbM1BqtSyjUBhTPRUkTGdYzEgVZK5UVlKN/vueJkbHDH44NpRK5I1tEbuJ/t86l3GLKfsjcZNxc2Yw6frm6lnjlmh6/2V0qWa2iZQ0sC9vea1Vf2fbkG2o= 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. Acked-by: Linus Walleij Signed-off-by: Mihail Atanassov --- 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 Wed Dec 4 11:48: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: 11272835 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 5F06013B6 for ; Wed, 4 Dec 2019 11:49:13 +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 4477A2084B for ; Wed, 4 Dec 2019 11:49:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4477A2084B 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 92EC66F50F; Wed, 4 Dec 2019 11:49:12 +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-eopbgr130041.outbound.protection.outlook.com [40.107.13.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 367886F50F for ; Wed, 4 Dec 2019 11:49:09 +0000 (UTC) Received: from VI1PR08CA0124.eurprd08.prod.outlook.com (2603:10a6:800:d4::26) by DB6PR0801MB1958.eurprd08.prod.outlook.com (2603:10a6:4:73::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.20; Wed, 4 Dec 2019 11:48:34 +0000 Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::201) by VI1PR08CA0124.outlook.office365.com (2603:10a6:800:d4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT046.mail.protection.outlook.com (10.152.21.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:33 +0000 Received: ("Tessian outbound 15590139dbb5:v37"); Wed, 04 Dec 2019 11:48:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1593aa137f188207 X-CR-MTA-TID: 64aa7808 Received: from 27b0b5ea6d36.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0C2DDF3E-45F2-4B29-920E-BD34AED50448.1; Wed, 04 Dec 2019 11:48:25 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 27b0b5ea6d36.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IVxzEScDcWcNWXchJPU9fDRBCTskhoWv4+JEHSusRiEP2E0bGEzDCc0Sbm2qsq8JgyNXwiylJostSO/4qyMeFaF2E9vxHk6fUt23xfhj37u1dLcDNTLLATJueYTaBxevjDrXKX9Zebx8LeWbi25ayB+ACsq/AXG0+NfnW3CgqsI9H89MtmqehR8IWgL+0rb0PZmKSLRH6PBH28r8B0biL/gwk9FsR2edU/KQe2PqwVSy4j0hDdZg+q4u0hOYPWGU5SxUBbBuF4219Ml2uUwy+roY2sXU6/J/k98Kf6e0UklkGq7f8xYu8GzI5QEnTrH+m3iqP2yTCI3bZRuSgdUaBg== 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=F7e9Va60308TA9zXKwYBwOZrFcEl2MaXKt22lPxNnSO0Y0Au9FW72wuSnVZT4d1CqJIKZwooW/+7lLw6AquD4FSPiqQIYYvGs/VZsRpAWWTc1yR1KKQevWeNCpykqng0vjlsxR6/Ib6Qsex7cIRnPP+i472jFmUVrdjqI+lBUPbGJfNEpThlCKAaQjbxdeXodE5itigr5O3LnQbBRSidtylBWYaJKC7ICWraicRHAQLkT2F3BcCik4f6AsKR9u2WUkZKyHaa20sFJ39QkdpBynHVv/y9iZtroS8v/jzBQfC/t3gqZ02DuxQQeUcWhbFeYdy3vo8MB7nhDIUpemaF5g== 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 VI1PR08MB4624.eurprd08.prod.outlook.com (20.178.13.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:23 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 24/28] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Topic: [PATCH v2 24/28] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Index: AQHVqpi7pYXgRFSlykS2PKmc/BjiSw== Date: Wed, 4 Dec 2019 11:48:23 +0000 Message-ID: <20191204114732.28514-25-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 971b8233-5024-4411-3c13-08d778afe43b X-MS-TrafficTypeDiagnostic: VI1PR08MB4624:|VI1PR08MB4624:|DB6PR0801MB1958: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(2351001)(305945005)(316002)(6436002)(81166006)(7736002)(6916009)(4326008)(186003)(99286004)(6486002)(66446008)(5640700003)(4744005)(66476007)(1076003)(66556008)(54906003)(2501003)(5660300002)(66946007)(64756008)(6512007)(86362001)(11346002)(2906002)(44832011)(2616005)(14454004)(50226002)(6506007)(36756003)(25786009)(81156014)(8676002)(3846002)(71190400001)(52116002)(26005)(478600001)(71200400001)(8936002)(102836004)(6116002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4624; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Y2CFPPGxqO1fAvAD1HLdv1CyHaI8+Nz2Vc//xhcEkqXsz+FygNZK3wryNGtGFFdRqNLoZ6yz6h4I1vzI+pdcgAhm2sG8JM6uiZK5KG+W12cHzxQAgAP9HIpM0EUIJHJgX4fWfaBZHXb/zTcruF2VVaehsLQrRMU6Un1qftKnqSoZdNkd1isaPVEZ5JC/EXdM1SJNy08qI9+lYrHGfkXMcLF0wFSURZ90jzDbFy+lp4pSW7tG4Z3dbT1uDrSKF3YxEkfL8YQ9U7VdBdLrAuKpJ4WWCDGWH7sBtQwlDpExIx0Z4i8v3JlFVwVIr8kWICSkGBBxP/BdZe/J7UGjWaKvvj0mVLYvlu00LiP/FvWlkglPsL8cBWZr9xbjGkjQp0ZMZgTheY8LFW5xmhRbLv2C5yLjYoGtr6i/2jc+w3i/7um4dG7UAEuY6HtZKTYp8gTx MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4624 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT046.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)(39860400002)(346002)(396003)(189003)(199004)(3846002)(6916009)(76176011)(6506007)(5640700003)(316002)(8676002)(6512007)(2906002)(7736002)(8936002)(6486002)(81156014)(86362001)(356004)(54906003)(81166006)(25786009)(50226002)(99286004)(336012)(2501003)(2351001)(6116002)(8746002)(36756003)(305945005)(14454004)(11346002)(26826003)(478600001)(4744005)(50466002)(23756003)(2616005)(107886003)(1076003)(186003)(22756006)(4326008)(26005)(5660300002)(70586007)(76130400001)(70206006)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1958; 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: 4a18ad8e-9d7b-4f27-905c-08d778afddaa NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WMgpBYrJDmN2fMKLLLvoiI4zvgvd7vtK2wg5YXoupKDymF5oDJKGhVjz7GH5xz5U8dNCUsbgfYIYHlMhQ3IaIvc/ZVEX0yhoWERi6TlSK+kyq/wFfvk01/AA6U4IjUYFZ16nXJ2DxQJEYovpNOzd9UK+kUDY1ZZ1GHoAopA5buPBb86U8JhFG786gvMdxoeTANygOuC/A5yS5VrBYDjaCy4aDBtNg008fGzrIsJpQiqzkLY2gfKtoGuHIvlsEEvbvzWdlV1lanXZaH8sYacFA2relMrbYPv07VXvFFDehe3zXx8ULTjFT9HumP8hkVyTdLOJyrSXVYfvn6OSp7fjVRvy0iC/JidfwWyenS9qkm55MrI8ATTGL/YZeYHchn23GCazuH7jVzfYRYvnd3pZrkSaKJ3SYJlR5Yim0iWOHHZQAhSc71N5JDBPgan03Qmd X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:33.9381 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 971b8233-5024-4411-3c13-08d778afe43b 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: DB6PR0801MB1958 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=VXpLXIOwxbrLMCWztCBz0TFzJaZ2wxbL+CDvNfwM8Kc1UGXjbAWwAbmDtiS1V2BiSPBZCwwoUKaaJUFXRVe/NsugxZJRCpMDGj3Yf08urWwM8/5kkRtVgQn2IXWliAYw+f1YIHwqFUX2UDjh8tNJ/O9RnukMB+Ttnw3qRjLPA8M= 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=VXpLXIOwxbrLMCWztCBz0TFzJaZ2wxbL+CDvNfwM8Kc1UGXjbAWwAbmDtiS1V2BiSPBZCwwoUKaaJUFXRVe/NsugxZJRCpMDGj3Yf08urWwM8/5kkRtVgQn2IXWliAYw+f1YIHwqFUX2UDjh8tNJ/O9RnukMB+Ttnw3qRjLPA8M= 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 Acked-by: CK Hu --- 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 Wed Dec 4 11:48: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: 11272831 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 BC334930 for ; Wed, 4 Dec 2019 11:49: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 A23CE20803 for ; Wed, 4 Dec 2019 11:49:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A23CE20803 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 855D86F4FD; Wed, 4 Dec 2019 11:48:44 +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-eopbgr30078.outbound.protection.outlook.com [40.107.3.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id 902C46F4B1 for ; Wed, 4 Dec 2019 11:48:36 +0000 (UTC) Received: from VI1PR08CA0220.eurprd08.prod.outlook.com (2603:10a6:802:15::29) by HE1SPR00MB241.eurprd08.prod.outlook.com (2603:10a6:3:e2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Wed, 4 Dec 2019 11:48:33 +0000 Received: from AM5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::206) by VI1PR08CA0220.outlook.office365.com (2603:10a6:802:15::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 AM5EUR03FT033.mail.protection.outlook.com (10.152.16.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:32 +0000 Received: ("Tessian outbound 92d30e517f5d:v37"); Wed, 04 Dec 2019 11:48:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e55bdf3c9c4a2513 X-CR-MTA-TID: 64aa7808 Received: from de4fd4e6043b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BD27ABFD-5B0F-4F83-9D8D-9704A1EADBA1.1; Wed, 04 Dec 2019 11:48:27 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id de4fd4e6043b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oCID9YAp7sq+xcCIJcHDaGvxyj6opTivrGZ8fSiY5CWEOAiugCP84agLYo56txSufgfHk4YAGxQa08nZ7BFAweqy/oGjJjIt6Hlgm32OytZQP8HlLi0hBx2R0YhREPCieuLj7xF1yQ11EpkP9+KMPQVJg48zLb/mDwHC5rkNZU96+42tVjUtbECM4ACfzqYjvxAl+1plrnyRAEmws6EQdFygWEU6m3Ynr0k8LWKFGj4A4HCuvG+KDl5GgX177Ep5Tj1TKhAjEmsGqErKdmI/LHK4r+KV3WOclj+s9S8AD0iI2/iE666IpArpQir/tK+P6AOnh00sEXJV+FzmLHGukQ== 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=H8U48vnk8uMOrcs/2njVm6TYQmOFQ+MZQD1H9zD8LH6Rvlbdk7uNxq1W6bjZg6tbgx9bmH37UdKpYUff+uVpQSyiLH9OxNcNhrT4tQB7AUBE7dDcCG4rKM3P5XZdbxXQ0t4xOL7sfz1bMit7hlBL5Pw6AlmYQwtSHmXiFf421vDzph3PlDBtdc9yArADKlNg/vUnbc6Ll7ylN9JlEYTvWMPqnBGHexqy+9N8OYbCBwelxYAW6FunSSkHE4XQllrDFOTK3QEo76qlebktA0nIutY6WXOFfuWpMSVf4nkK+B/x5NvkJHQPEipadIkkiWNmfjc5iucZF48vCFqxUzZ4tQ== 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 VI1PR08MB4624.eurprd08.prod.outlook.com (20.178.13.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:24 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 25/28] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Topic: [PATCH v2 25/28] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Index: AQHVqpi792P4gVb94Ee5mVAYsOXvbA== Date: Wed, 4 Dec 2019 11:48:23 +0000 Message-ID: <20191204114732.28514-26-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 7578c0ae-9cc9-4819-a27c-08d778afe390 X-MS-TrafficTypeDiagnostic: VI1PR08MB4624:|VI1PR08MB4624:|HE1SPR00MB241: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(2351001)(305945005)(316002)(6436002)(81166006)(7736002)(6916009)(4326008)(186003)(99286004)(6486002)(66446008)(5640700003)(4744005)(66476007)(1076003)(66556008)(54906003)(2501003)(5660300002)(66946007)(64756008)(6512007)(86362001)(11346002)(2906002)(44832011)(2616005)(14454004)(50226002)(6506007)(36756003)(25786009)(81156014)(8676002)(3846002)(71190400001)(52116002)(26005)(478600001)(71200400001)(8936002)(102836004)(6116002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4624; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: rBFTgSalywc0B4nnqzU7j4HgyujuZwGRyjKtQdDntZ2rMjQfYy3YjkMGqbUY0dYqVrsyWDuRNUglWGW20mbmGFqMcGIWIo7Qip+zHS9wpqpc5V8V13C2nbP9PqC6X1ndmhtemJj95UVojB38zUxw7JvuuXlRlrFvC1UuGrICtC1LpVcmDm+mkBcY8CDsYxxCCWIF6bOd+htAsIeO1+/1WiWXLw4sEXrul/xTair4+LVgCi3IThYzQlfgLGyfjbfzmiLXIaXJwmqYYjXPM4dR5P9ySjnwYnpzPwLko9UMebTVICYdI8VTNZRDw7nRew5w6mQpmK1rkW0grA9spBFCHsx7eBLReeGUxXp6vac8KEVurr0IHpXYb9G5x2c0q91RhsXR+APSdx+lesipBThZsbExrYaoj7Z4K/Hl2BqVmM0d0QY3KzeCKG2aGUMoTbf/ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4624 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT033.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)(136003)(396003)(346002)(189003)(199004)(50466002)(4326008)(1076003)(316002)(86362001)(36906005)(2501003)(36756003)(6512007)(3846002)(76130400001)(6116002)(2906002)(356004)(54906003)(50226002)(81166006)(22756006)(6916009)(2351001)(70586007)(25786009)(11346002)(70206006)(107886003)(76176011)(6486002)(5660300002)(6506007)(81156014)(478600001)(336012)(99286004)(186003)(14454004)(8676002)(26005)(7736002)(102836004)(23756003)(305945005)(5640700003)(26826003)(4744005)(8746002)(2616005)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1SPR00MB241; 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: b326ecac-c72b-420e-e445-08d778afde10 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2+NZ/bCD7FX0J7FIIFUzY19mga++Z10CPAEg/yB3JLNTvTbNXMkIsN4E91FNLa7Oe+cM++k3GAb+0+qp2n+2fb3qudKq3KiEY+94dQVmm8SjPFVpBix9k9ZVJhooTp55MvtLJIFNAEwm6LfwvCO86C63CUDSDT4aswEPb3p789dHnuvUvtJ9+lkoXikuTQvcWn++pQ9sfAgDejIzHxBgLaS65g0xitrADI1WQZCkuyFub7ZL/9DiDlXT01TVSKx1NwKBp1KsRqXAAAxH6shgq0p2Fo1cqesLa9YVP2k4CTrNY6HtTMBj/bdULmHu5bRQTMb6BxuUcwqOUdYre8X6KNra7/daMBJm0rwfiE3BJ98/WR+2DMiCdmcJFpUKlU2E91b74JRA9ckP7ckU4CVdGIG7r+1RrVa1uMM7aU6uggJbVpLuQHsQn5vQk9PBgoaY X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:32.8160 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7578c0ae-9cc9-4819-a27c-08d778afe390 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: HE1SPR00MB241 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=A3pXRVFo714LkNf9Wyl4I+BTgk9tdncSLCKardW/g8mRV67lVgwjEc2l2rWZqeTlkD7l5+ZQdhf9OmNL1yKbxyCRNoLLji06a51UXl802A/EHxcecb06Yx2LtykpkcOqj/7i6gvEp5fHLhpAcD8QCNw7vHNTyG6tgcWCJJ2oeBU= 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=A3pXRVFo714LkNf9Wyl4I+BTgk9tdncSLCKardW/g8mRV67lVgwjEc2l2rWZqeTlkD7l5+ZQdhf9OmNL1yKbxyCRNoLLji06a51UXl802A/EHxcecb06Yx2LtykpkcOqj/7i6gvEp5fHLhpAcD8QCNw7vHNTyG6tgcWCJJ2oeBU= 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 Reviewed-by: Laurent Pinchart --- 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 Wed Dec 4 11:48: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: 11272827 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 DB37A13B6 for ; Wed, 4 Dec 2019 11:49: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 C0CA920803 for ; Wed, 4 Dec 2019 11:49:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0CA920803 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 949016F484; Wed, 4 Dec 2019 11:48:41 +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-eopbgr40077.outbound.protection.outlook.com [40.107.4.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 941226F508 for ; Wed, 4 Dec 2019 11:48:37 +0000 (UTC) Received: from VI1PR08CA0174.eurprd08.prod.outlook.com (2603:10a6:800:d1::28) by VI1PR0802MB2560.eurprd08.prod.outlook.com (2603:10a6:800:ad::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.22; Wed, 4 Dec 2019 11:48:34 +0000 Received: from AM5EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by VI1PR08CA0174.outlook.office365.com (2603:10a6:800:d1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 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.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:33 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 0e36a23b3ed79946 X-CR-MTA-TID: 64aa7808 Received: from 27b0b5ea6d36.5 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8B1B234E-B987-442C-9429-D3644B9B857A.1; Wed, 04 Dec 2019 11:48:27 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 27b0b5ea6d36.5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWIS3Prj/Wl+7ArLRvPs0nzaBXQ3fh9Lz+jV/WFsxjiCG6sRN0xlhru4rW74lNNydb6PzBlhULR3QToZD0vIgshrvxmKu0gXRgiRi8kWM+76Aaf6cLn35/g+ht5jwOb+fahj308ffucWwLZqNrrEALCEnQThF8Fkf++Xzvhr0PnaKTySTW90+wRaCNuXRkn/lKFuxfTO53V5N2hVVdAoycz1GDbRlLGFoLK3HY8RIuRbx261yyyQ1X5g54Up5MvynEl9IfMRY0GJCqp/PB1VcGmu02YUFdiYf3gOFytVM6adsnZc+9duVF2aR9fQqnNJoWBngMrRHwqeHdBU3CrKHA== 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=G/MYzy/kllgVvDPOe2HzhAl0KvBJYdbiafhlBz8KwBgis4hgATC6cssvz4Txg9R+RnnyVM69cVkdmRIiaQZ78hNKnOAzKajGRmPw1HL7Ple/89t5sLWiTqwtCG44tkm4s8JqG37UcK97BTnEtXLUYabIO/lZp4Sl3BqO8sNMVjp/AkPwq4cbWNK3kCpvWSWyeEdhPpLHMrirKDmPXy4cXu7t1dQQjzO3UjDxjcenV2VvaB1Ao9rGMDNqz7CD0HXgL8ptLo+1v30kn7zkDol9UGTwLYkWHlDlmHFH3IJyZRhOj7wSHdl8JiOwWeN8H+5Y4VCdGdn+ky7ZlPDysctMoA== 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 VI1PR08MB4624.eurprd08.prod.outlook.com (20.178.13.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:24 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 26/28] drm: rcar-du: lvds: Don't set drm_bridge private pointer Thread-Topic: [PATCH v2 26/28] drm: rcar-du: lvds: Don't set drm_bridge private pointer Thread-Index: AQHVqpi8ZpAv1tSEIUSOt4HDPKXKpw== Date: Wed, 4 Dec 2019 11:48:24 +0000 Message-ID: <20191204114732.28514-27-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 057e4e95-a06f-4c92-0ca4-08d778afe43e X-MS-TrafficTypeDiagnostic: VI1PR08MB4624:|VI1PR08MB4624:|VI1PR0802MB2560: 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: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(2351001)(305945005)(316002)(6436002)(81166006)(7736002)(6916009)(4326008)(186003)(99286004)(6486002)(66446008)(5640700003)(4744005)(66476007)(1076003)(66556008)(54906003)(2501003)(5660300002)(66946007)(64756008)(6512007)(86362001)(11346002)(2906002)(44832011)(2616005)(14454004)(50226002)(6506007)(36756003)(25786009)(81156014)(8676002)(3846002)(71190400001)(52116002)(26005)(478600001)(71200400001)(8936002)(102836004)(6116002)(14444005)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4624; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: rXWJ51sHT7p7ufAIjU70oDvsNmNKPCuXNN9HZ4iRfgLp8oUpIa38H+3tS7x83X3BwzSvsRPCd2CigFhgDd6Kin86OfEhrb51NliO5I9W0Pv+mMx1ewq5mWadCdAFibikW2z1/o2qAMuSXg/fI+ObsHYX1ICXE+tdhT1l3cCV6JxHaTYza5t11eVUXe09lKp6MIyio3befiKWhhzjtaTVsUzFYbqdgSd6R3F+j+V4MJllKmS/XFJgjDMGanKxaAYlxzukPEXwqaXZApDJJMCbmi9BdrqVIEdm7L34ZOmkF4p3caXmp7O5mpADSTy6QQOWTrWbwZ7FJqfhAXNK3UXGm4p+VWFaLHHnYbKk0CSrfebn/r0D6thEQzQyZ0IkFudNjMX/7rjpCodz61vvy/RLapOsm9Uvfr3S4gg+XPZwDdbMUcUGWYyToywDipgRzyBc MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4624 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)(199004)(189003)(23756003)(3846002)(70586007)(36756003)(4744005)(99286004)(2501003)(498600001)(2351001)(2906002)(2616005)(6116002)(86362001)(5660300002)(1076003)(50466002)(11346002)(102836004)(26005)(186003)(76176011)(336012)(356004)(6506007)(14444005)(81156014)(81166006)(25786009)(6512007)(36906005)(305945005)(107886003)(6486002)(8746002)(8936002)(50226002)(8676002)(76130400001)(26826003)(54906003)(7736002)(22756006)(70206006)(5640700003)(4326008)(14454004)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2560; 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: 49d71ba9-6f4f-436d-e11f-08d778afde7a NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eLeMAt/TfrbKy/uf0IIE97O/14Oq2saWDi9xKG8pGkvZqhWJ+PyAthnZCrctBNlacr2Fg/0WkJXgobmoZ251LeizQjcDxm3jrlYLy4Oshbnc/58dmxtM8J9vQApRRn/zjrAXIegiYvuNUkp5F00EMSOS3z0jXqnCoi/MrIddS151gxMdNLQVdv5sRcmw83MoRr2f6zuoIYbceJPnfq8XUPevAGhGaXpr1dscq0hcjmwLFRkjL4HfM/jCBSVrPhQeeQ4Ah8GR59L8o2fmX006vgENfJZr06mMpn4hfcjRoa9k2UNQwKJhoV2T90wm7ww5n1iLLaxesVk4UFVA4z3OopFBT2bTfCik97DgKW3cPKueQ+6jtYlzdIG8NAMZSwAW0vYjFaMqDhXJH+eb8L9rIC358o+sZ4Hqx2/RP9jJmOYj0HRYo30C3xqgcun8Ds6a X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:33.9455 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 057e4e95-a06f-4c92-0ca4-08d778afe43e 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: VI1PR0802MB2560 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=3aHsOV1DMk5dYZFhEbVHin+dXuT+2boCnq7JIDurPU75G6OQeWBqpeOqITEG9qMJnYUJFtXhOyvR9fRi4mMRBBMqmtCNe46jsf2HaIW/OX5MJyI0syfBzskm57Hwqs+ukhZk+nhucoRvWxLjBDarqZT7gpNGdiLvl1A64alYaIs= 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=3aHsOV1DMk5dYZFhEbVHin+dXuT+2boCnq7JIDurPU75G6OQeWBqpeOqITEG9qMJnYUJFtXhOyvR9fRi4mMRBBMqmtCNe46jsf2HaIW/OX5MJyI0syfBzskm57Hwqs+ukhZk+nhucoRvWxLjBDarqZT7gpNGdiLvl1A64alYaIs= 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 Wed Dec 4 11:48: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: 11272833 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 46D7213B6 for ; Wed, 4 Dec 2019 11:49:06 +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 28DA120659 for ; Wed, 4 Dec 2019 11:49:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28DA120659 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 EDCBE6F51D; Wed, 4 Dec 2019 11:48:46 +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 790056F4F8 for ; Wed, 4 Dec 2019 11:48:37 +0000 (UTC) Received: from AM6PR08CA0047.eurprd08.prod.outlook.com (2603:10a6:20b:c0::35) by AM0PR08MB3682.eurprd08.prod.outlook.com (2603:10a6:208:fb::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18; Wed, 4 Dec 2019 11:48:34 +0000 Received: from DB5EUR03FT058.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by AM6PR08CA0047.outlook.office365.com (2603:10a6:20b:c0::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13 via Frontend Transport; Wed, 4 Dec 2019 11:48: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 DB5EUR03FT058.mail.protection.outlook.com (10.152.20.255) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:34 +0000 Received: ("Tessian outbound a8ced1463995:v37"); Wed, 04 Dec 2019 11:48:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e4efc0fee19f085a X-CR-MTA-TID: 64aa7808 Received: from de4fd4e6043b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F94B99F8-FAC5-4333-90A5-0E540A7D282A.1; Wed, 04 Dec 2019 11:48:28 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id de4fd4e6043b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R82Py72BOK4PRkvD6Mq3AHPqBEgffFNbDSQK81+H5/a+xpNLdwIvZNaIiTnSmh22fvuydZPY0ntgf/Ou1vc1DPXDCYlZbzocVhNESPKrAYmhQJ2Udn7DBvKkqlbhyjW95gywCNcWkzyJeIHYGwCQXJ6y1HhVSOOKN5r2dheEuaPPg5Qri2t702VQ5R7vAe3t9LdTclZTDqLBsCz9BRUWvr3hYPhSoTDla909MdstGEYG/CU4TxgG61AQr4LoQxj4ogTg2/QVR9bIS21VQVH+bFiIdr+ENnAynhaLCHGyKNHFzqVlZgy6CSIeVX/FWevNecA6q7C7EXupoxQGdMimxw== 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=U5WCE2P1/Ewa/uQFzzi0Jlc3+KKSsTwCAJn/FZJulyM=; b=XWIut7RxFlPrYIXj7pSm1zvl0fcNDiaDpXw0j6XgancvaHp7tapPdHHh+mSpr+u2i6Ujs6CsdxKG7joaxPvbQLlDPi00gZxjXXEYKhREzbwUt0F14H9idz20KVDSpHCzM76l479PLv6XOP30Csm5ZHfkS27dfkaeElm0Q4qRBMoRWPbLvTQ8i4FF9M0oL6e87qVLFP1EVup1HbrL1dKhPDTaCl4OTTDW2M+PPMTS1y2M8f1KJdY/6NTRH8c8MMD1bo8Pxh2+GiOzo9Rd/ifGWZfOmEf4ELLdhloA28yerR76fYDFHbWgJIIAIrkT45TDoK7W0jIVVUncAr+5pcn/Jg== 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 VI1PR08MB4624.eurprd08.prod.outlook.com (20.178.13.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:25 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 27/28] drm/sti: Use drm_bridge_init() Thread-Topic: [PATCH v2 27/28] drm/sti: Use drm_bridge_init() Thread-Index: AQHVqpi89ZSI0/jtHUG0V0fAqzMiWA== Date: Wed, 4 Dec 2019 11:48:25 +0000 Message-ID: <20191204114732.28514-28-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 4e42bf03-49e7-45c4-e15b-08d778afe479 X-MS-TrafficTypeDiagnostic: VI1PR08MB4624:|VI1PR08MB4624:|AM0PR08MB3682: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1169;OLM:1169; x-forefront-prvs: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(2351001)(305945005)(316002)(6436002)(81166006)(7736002)(6916009)(4326008)(186003)(99286004)(6486002)(66446008)(5640700003)(66476007)(1076003)(66556008)(54906003)(2501003)(5660300002)(66946007)(64756008)(6512007)(86362001)(11346002)(2906002)(44832011)(2616005)(14454004)(50226002)(6506007)(36756003)(25786009)(5024004)(81156014)(8676002)(3846002)(71190400001)(52116002)(26005)(478600001)(71200400001)(8936002)(102836004)(6116002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4624; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: v233dY/6lxNaaPA0Yk15MvBwRrVKY2JKpR3dvlr0WV+6wh9755I4tMiFwOTEg+pBmuzZOdSFo9C0G2/KGNz6aKd89iccKGDW29jnb9nBN7jFcX6IrWjwx3ITkJUjBhg3ViTSXew42KdL+wZrCic2lRVaVRWnU43JBIfTqyV7Qd7ej2LU3JDhILocFW3kDO5lvNZP6ke7BvQcT8rvYWhj9FB8Dz4H04VPuSTBxE2CSI+NjOJf8FWiMgRd253KMajm8CckEHaasOrKxtZqGiWo8LySHWZ56PzX4QXhez0TF8v8RByHcGJ7bEjtYsRfRfx4L7KVPdfEccZW2BpMs9mxlj9OzMPeroKwhiwU/1hVZnbizncSeN6asdDL5Y7qposhEigAGDF3+hsvGMpa3HCGqz92oZ3s2PgFlXySxHmnyJl/WV7rJnw3DgokbqDBkl/b MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4624 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT058.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)(39860400002)(396003)(346002)(199004)(189003)(7736002)(6512007)(26826003)(50466002)(186003)(2351001)(6506007)(316002)(478600001)(102836004)(2906002)(305945005)(99286004)(23756003)(50226002)(14454004)(5024004)(356004)(76176011)(5660300002)(1076003)(36756003)(86362001)(4326008)(5640700003)(54906003)(8936002)(8746002)(2616005)(11346002)(81166006)(70586007)(70206006)(76130400001)(107886003)(6486002)(81156014)(25786009)(2501003)(6916009)(336012)(26005)(3846002)(6116002)(8676002)(22756006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3682; 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: c52ba38a-ccd5-49d0-5f49-08d778afdef1 NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5gI1hREyvTtcYg9JEZDBaZJtveZ4tkp8UmJGR9KDlg8ld1Djk4hjARDLp0OoiqSSzyDjlervZBwFuSS2COQZ78BpqVnIP79lMwE0sgdOXd2Yc6v7BFJFyjyQjKCw3cLgJBP5Cnv+eGrzE1JQpZ1Jim9BvU8maxBSdJqgSzGqWTLUToFQhfXQciTDFLDUNP1yb4rvp8fbZBdR9nf4XzwuEzx4hZkG1FLHlr9RZ9uaHBnADd8nDPvhnAEu87jGtppxIKH47StuhvwKwJhLxPTJPPnV3UK90Tt8aa8p/lhfcIvNheGJcIVfc7V8iQF99dcBiJFndOWYx2QoKBftn5iw4m6GcQhqrMQhs/mUzREM5hKXg6wzrfCYCytKsbsubT8vpZaMa3Ds9ShD1YxvBeUKM3pp8P3qXUsoTQbOmSLvEXlKn3kTyO/XX22B44OIgZoN X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:34.3466 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4e42bf03-49e7-45c4-e15b-08d778afe479 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: AM0PR08MB3682 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=U5WCE2P1/Ewa/uQFzzi0Jlc3+KKSsTwCAJn/FZJulyM=; b=gjkhBQklYpQsyBAjs90nPQ0PBQ7SL1KVIWblXPZI3eg+Uen+LQ8wqibrAYXklxVrwvEfVYX3XpLfQmgNNoUOJjCb9iT5ZsKwgEd3q9mW/BaQZhWvaD/pUImDfgMsWsIKGB0Zxkf2puFVwnXqzFapc81uA6nQgW0G1Irm9Ap6S3U= 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=U5WCE2P1/Ewa/uQFzzi0Jlc3+KKSsTwCAJn/FZJulyM=; b=gjkhBQklYpQsyBAjs90nPQ0PBQ7SL1KVIWblXPZI3eg+Uen+LQ8wqibrAYXklxVrwvEfVYX3XpLfQmgNNoUOJjCb9iT5ZsKwgEd3q9mW/BaQZhWvaD/pUImDfgMsWsIKGB0Zxkf2puFVwnXqzFapc81uA6nQgW0G1Irm9Ap6S3U= 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. v2: - Also apply drm_bridge_init() in sti_hdmi.c and sti_hda.c (Sam, Benjamin) Signed-off-by: Mihail Atanassov Reviewed-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_dvo.c | 4 +--- drivers/gpu/drm/sti/sti_hda.c | 3 +-- drivers/gpu/drm/sti/sti_hdmi.c | 3 +-- 3 files changed, 3 insertions(+), 7 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); diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 8f7bf33815fd..c7296e354a34 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -699,8 +699,7 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data) if (!bridge) return -ENOMEM; - bridge->driver_private = hda; - bridge->funcs = &sti_hda_bridge_funcs; + drm_bridge_init(bridge, dev, &sti_hda_bridge_funcs, NULL, hda); drm_bridge_attach(encoder, bridge, NULL); connector->encoder = encoder; diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index 814560ead4e1..c9ae3e18fa5d 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -1279,8 +1279,7 @@ static int sti_hdmi_bind(struct device *dev, struct device *master, void *data) if (!bridge) return -EINVAL; - bridge->driver_private = hdmi; - bridge->funcs = &sti_hdmi_bridge_funcs; + drm_bridge_init(bridge, dev, &sti_hdmi_bridge_funcs, NULL, hdmi); drm_bridge_attach(encoder, bridge, NULL); connector->encoder = encoder; From patchwork Wed Dec 4 11:48: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: 11272829 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 5819113B6 for ; Wed, 4 Dec 2019 11:49:03 +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 3E5F020803 for ; Wed, 4 Dec 2019 11:49:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E5F020803 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 3390E6F4F8; Wed, 4 Dec 2019 11:48:44 +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-eopbgr30080.outbound.protection.outlook.com [40.107.3.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D4886E8DE; Wed, 4 Dec 2019 11:48:37 +0000 (UTC) Received: from VI1PR0802CA0035.eurprd08.prod.outlook.com (2603:10a6:800:a9::21) by AM0PR08MB3011.eurprd08.prod.outlook.com (2603:10a6:208:64::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.13; Wed, 4 Dec 2019 11:48:35 +0000 Received: from DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by VI1PR0802CA0035.outlook.office365.com (2603:10a6:800:a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12 via Frontend Transport; Wed, 4 Dec 2019 11:48:35 +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 DB5EUR03FT004.mail.protection.outlook.com (10.152.20.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Wed, 4 Dec 2019 11:48:34 +0000 Received: ("Tessian outbound 224ffa173bf0:v37"); Wed, 04 Dec 2019 11:48:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5acb59b5d3ab0914 X-CR-MTA-TID: 64aa7808 Received: from 27b0b5ea6d36.8 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6BCBC33A-A306-46EF-AA00-F67C455BA3BB.1; Wed, 04 Dec 2019 11:48:29 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 27b0b5ea6d36.8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 04 Dec 2019 11:48:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iSyJIHM/g84h9uPKgoy4iCKjJx+I+PniyVmIpWES8rEXFfUOJswmIxH4wGhu/kjk+2IrWRag/FGcTPhRGLUP37meYRfjwui4jVrSpSumxAE5biVVnCXzZZrXjMSubeqQHAL/CCu0uMuLPbwNVvm+Qxjg612EJJaASpsg+0B6HpZffGbAxmsD7fENPKZaHJKOiaEvF8JSSxiotV/CmBgTmiQVy97akKjGpY+jUMg3zkTtxxNOf29r/m9EvOSTCusn5vSMsbou6yddw0OV8VrVVmVmx6Q4VoDVdWT9rYf5Kom83qYiALMw2p/OkMll5dB3O0ks26s4NEiGwpgyfRMnzg== 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=Fxo3+RzQSfhOefcNBomfpRFJ4IJWVvT6Vr/vLAaxzWU=; b=ca6vJvTuQ9ICiri/nSY8O8EGGWMtsR4zfIf/bWkAfwqe2wpgLNGk0709jRdwXl5ch/ssm5BQxo4vSM20JYTXcvmkxpSRVLRghWiXpUQQqrywxvpSsizW5YSbrlNMsm0RVhtOjlfPvZWxjoMzAROWjNuAoAXbNHTui+4HSZTz84n+//TvNJIy+NxcsDd70L6wHKhUW8i0UFEUN8OEU+uqzE0zgqKk1rZnNUmKhimT6Et3znlfU1XRLDjFRzxPaOBRqp9ak0R+9/OUa34nGNEX1OW9Korvt3KiS/Tp7yMM3cqoyECuLMcGs7paJ0rbbdDBmy8k/rRx86cyVhmBhEkOnQ== 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 VI1PR08MB4624.eurprd08.prod.outlook.com (20.178.13.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17; Wed, 4 Dec 2019 11:48: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.2495.014; Wed, 4 Dec 2019 11:48:26 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v2 28/28] drm/msm: Use drm_bridge_init() Thread-Topic: [PATCH v2 28/28] drm/msm: Use drm_bridge_init() Thread-Index: AQHVqpi8TVGRoIDoh0OFCoA0pbs6IA== Date: Wed, 4 Dec 2019 11:48:25 +0000 Message-ID: <20191204114732.28514-29-mihail.atanassov@arm.com> References: <20191204114732.28514-1-mihail.atanassov@arm.com> In-Reply-To: <20191204114732.28514-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: LNXP265CA0055.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::19) 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: 9b42bf3d-c42b-4fe9-3cb7-08d778afe4c7 X-MS-TrafficTypeDiagnostic: VI1PR08MB4624:|VI1PR08MB4624:|AM0PR08MB3011: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:6108;OLM:6108; x-forefront-prvs: 0241D5F98C X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(2351001)(305945005)(316002)(6436002)(81166006)(7736002)(6916009)(4326008)(186003)(99286004)(6486002)(66446008)(5640700003)(66476007)(1076003)(66556008)(54906003)(2501003)(5660300002)(66946007)(64756008)(6512007)(86362001)(11346002)(2906002)(44832011)(2616005)(14454004)(50226002)(6506007)(36756003)(25786009)(5024004)(81156014)(8676002)(3846002)(71190400001)(52116002)(26005)(478600001)(71200400001)(8936002)(102836004)(6116002)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4624; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Lez9SUM230WUagT5ubKBLA86pC51KWmbiO8LPtuTEmv3r1p+zwBFKqEh6p0eFOoF+lZ0DQ1a1gryVTSfUUSRCGH9kDuq7BOP+1VygsvpwJo5CAAFeO77n2JOrsG3MzdM7+C5RMEWGxyEWDOUbN1y4rAO5BEHlU8wAtzTooWWwSAMefzZv3FiJiqYHlwSS7mvqg70kj9t0hnRe17W5ONZiAagrwePC8oWdHkb4E6aKEZ4uIAkj18A2eKGF7Htkvfr38aGC4+YSQ8QzYRdJFrizZ5GoAiPnS5RUlwncuFunW/jFvLENsF6ojXPVlBtawPJHexNGCx/qn59T+2o3CQY1S0kdbde1q1Gc690zxg06v3E2i8OMhQinD8EGLmw+3F1sSr9t5GrQFNzfIj3XaUwWyFje1+lyKBhzkSSRVWO2VOLFxUaonJU3UjU+IdwaSkQ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4624 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT004.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)(199004)(189003)(5640700003)(8936002)(86362001)(2501003)(11346002)(50226002)(2616005)(3846002)(478600001)(26826003)(2351001)(26005)(99286004)(6116002)(76176011)(8746002)(102836004)(23756003)(5024004)(4326008)(107886003)(6486002)(25786009)(6916009)(6506007)(450100002)(6512007)(8676002)(336012)(7736002)(50466002)(2906002)(305945005)(81166006)(81156014)(186003)(5660300002)(316002)(54906003)(14454004)(22756006)(1076003)(70206006)(36756003)(356004)(70586007)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3011; 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: 1ea17270-feb6-4e97-0518-08d778afdf5f NoDisclaimer: True X-Forefront-PRVS: 0241D5F98C X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2SIYgVSteyI1CyBn7K+8FnypZ1ZfE676QInRO7uboPZDB59NaJ/IucZCxkaPJ+IhYS2eTRXy2lY8F2fyDQ9ajdnA8Q/geCWlJ57L8eQKQeD547JOiAeBbIh5tY/TjhtMAbWfcnzGHbkvflYR+2tTZUxvCAmV+hz07bnFx+SB4YUmJTYA2aaAnyuSLNMUksTEHTJ/jYJGOTShBGZLDjIWDeZnrBZjmgGPYxgZ+qYFNfjsu2qYIagltFcgfqlVQchWE8BsGjPXIR9T1QS2CkyHup3Int/Eo9VmrvMofujvew6q4BPPCw9x+CppJzOH4N2svPexQoP4CL/zn8PESDr6hVZL3bc8+wd82tK6gkgFeZSv1P13dU+NMlYgqKtFcT3PnvvJNks3S69h4NUVoI3n1xe/a9xqZkTs6e+mFAKNgsLzQ6+VaR3nqaEWPOvfi1b6 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2019 11:48:34.8266 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b42bf3d-c42b-4fe9-3cb7-08d778afe4c7 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: AM0PR08MB3011 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=Fxo3+RzQSfhOefcNBomfpRFJ4IJWVvT6Vr/vLAaxzWU=; b=B1rYgWszkhTJjE2gQVMKWzmn92fQEwWvRD1DPY+MgW2JQtmlzLrfK5gvjfsyjmXbZOhzxj679psQl2UQw0Qt72+Xra1kXFBfVIyR1eDh+u3yuTnC/QZQfdvPdB2GQiNWJIFABbO9qQYRral+z2HANrQoQVH9kOMvVe1Y8THzYKU= 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=Fxo3+RzQSfhOefcNBomfpRFJ4IJWVvT6Vr/vLAaxzWU=; b=B1rYgWszkhTJjE2gQVMKWzmn92fQEwWvRD1DPY+MgW2JQtmlzLrfK5gvjfsyjmXbZOhzxj679psQl2UQw0Qt72+Xra1kXFBfVIyR1eDh+u3yuTnC/QZQfdvPdB2GQiNWJIFABbO9qQYRral+z2HANrQoQVH9kOMvVe1Y8THzYKU= 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: "open list:DRM DRIVER FOR MSM ADRENO GPU" , Mihail Atanassov , David Airlie , "open list:DRM DRIVER FOR MSM ADRENO GPU" , open list , nd , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change: drm_bridge_init() sets bridge->of_node, but that's not used by msm anywhere, and the bridges aren't published with drm_bridge_add() for it to matter. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 4 ++-- drivers/gpu/drm/msm/edp/edp_bridge.c | 3 +-- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c index 271aa7bbca92..ba54049a6338 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c +++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c @@ -662,8 +662,8 @@ struct drm_bridge *msm_dsi_manager_bridge_init(u8 id) encoder = msm_dsi->encoder; bridge = &dsi_bridge->base; - bridge->funcs = &dsi_mgr_bridge_funcs; - + drm_bridge_init(bridge, msm_dsi->dev->dev, &dsi_mgr_bridge_funcs, + NULL, NULL); ret = drm_bridge_attach(encoder, bridge, NULL); if (ret) goto fail; diff --git a/drivers/gpu/drm/msm/edp/edp_bridge.c b/drivers/gpu/drm/msm/edp/edp_bridge.c index 2950bba4aca9..53d4dc591bd2 100644 --- a/drivers/gpu/drm/msm/edp/edp_bridge.c +++ b/drivers/gpu/drm/msm/edp/edp_bridge.c @@ -89,8 +89,7 @@ struct drm_bridge *msm_edp_bridge_init(struct msm_edp *edp) edp_bridge->edp = edp; bridge = &edp_bridge->base; - bridge->funcs = &edp_bridge_funcs; - + drm_bridge_init(bridge, edp->dev->dev, &edp_bridge_funcs, NULL, NULL); ret = drm_bridge_attach(edp->encoder, bridge, NULL); if (ret) goto fail; diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c index ba81338a9bf8..d038599279bc 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c @@ -285,8 +285,8 @@ struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi) hdmi_bridge->hdmi = hdmi; bridge = &hdmi_bridge->base; - bridge->funcs = &msm_hdmi_bridge_funcs; - + drm_bridge_init(bridge, hdmi->dev->dev, &msm_hdmi_bridge_funcs, + NULL, NULL); ret = drm_bridge_attach(hdmi->encoder, bridge, NULL); if (ret) goto fail;