From patchwork Tue Dec 24 17:40:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310099 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 E33E61395 for ; Wed, 25 Dec 2019 10:20: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 C0E202075B for ; Wed, 25 Dec 2019 10:20:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X/ebVt8Y"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X/ebVt8Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0E202075B 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 43CDC89B20; Wed, 25 Dec 2019 10:20:08 +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-eopbgr50078.outbound.protection.outlook.com [40.107.5.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id A540B89E52; Tue, 24 Dec 2019 17:40:58 +0000 (UTC) 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=j9JSn30pd0NF9LZaiJcXz3M/19eZMzstYf8xwo/HeZc=; b=X/ebVt8YHGyQUkpT5UQiXu3JOl8KXH0Bqo+JJUnlvbMGQVDTnXv9Epde3Ir7HXpAfXMZHBt0MQDo2VO9Ixm6B0N6T7AGytYg1nu62SaZVgzW0vviZKhKtudwLjIeVZz3I4W6Xa0ZLop2Q4dKYkumMXH1NWzgu/nOj3UJoOcPX38= Received: from VE1PR08CA0027.eurprd08.prod.outlook.com (2603:10a6:803:104::40) by DB7PR08MB3578.eurprd08.prod.outlook.com (2603:10a6:10:50::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:40:55 +0000 Received: from AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by VE1PR08CA0027.outlook.office365.com (2603:10a6:803:104::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:40:55 +0000 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; 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 AM5EUR03FT019.mail.protection.outlook.com (10.152.16.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:40:54 +0000 Received: ("Tessian outbound ca1df68f3668:v40"); Tue, 24 Dec 2019 17:40:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c10677de45ca1696 X-CR-MTA-TID: 64aa7808 Received: from f9466a1bfe07.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3724AF7E-573F-4EF7-9CBF-5DCD78F8A484.1; Tue, 24 Dec 2019 17:40:49 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f9466a1bfe07.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:40:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CqFQUFCfTF8tkh+m8w+ayif8/g4ALYZuAjEDV5XoQr8W26zlDffaJ8bkH+wyi34netPR5ZdISCnrjKvOonyGKKzRd37Ii6AsjyEsBVxTvBnQEudr9I6urJOj/I6ecm+RNfwKrPN6wPyyBO+qwSGBBZAboSpWDxMKit7qIqoINnx+wWvk65iggrmjx6X/rREgdywqd1ofu5iddR6BV6G/ITUo6W4hyAS5G1tiyywoQ08MgLqgkz7sZSANe1uhesbw31h3ZMDrZMUlG5mRQ/GYmN9/fFh7mpNh1DIGLUYXmDyXlwWe5OcxmhQA87wYmqWU2VAWhymC0A8r9Zl0D7EN9g== 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=j9JSn30pd0NF9LZaiJcXz3M/19eZMzstYf8xwo/HeZc=; b=nOa9BRvGz4bkmOEd+oEHqSQVAlEBrR9uz4syv/WRaDC/p31LMZQansmTAZuJXApQzJZkUrXYlnQ18MyG+XvT3viYzdShByo+Zhw2UZEZ8y4qSfC/7PLOR/039HNhpEerMFYzUB3GrwLcRLJL/aFpz5v+Jx56VZc71cIfF6h7yMMjYqjWpNPd+y6fQG/7SD9yO2fv8AmwTnkc7RpMeGD6RDxYEN6QYlnfjk2mf+4A1dw7kUEnPKRKrhJ2biYAoag2aAgYZopZvgMKS+qJz/J2Mh89VPmW3CkC8/9nJ2TuCY9FAPdBRRk2gbm50I+MGadwMkMUfJ+TUXhzm3y0DsaTaA== 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 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=j9JSn30pd0NF9LZaiJcXz3M/19eZMzstYf8xwo/HeZc=; b=X/ebVt8YHGyQUkpT5UQiXu3JOl8KXH0Bqo+JJUnlvbMGQVDTnXv9Epde3Ir7HXpAfXMZHBt0MQDo2VO9Ixm6B0N6T7AGytYg1nu62SaZVgzW0vviZKhKtudwLjIeVZz3I4W6Xa0ZLop2Q4dKYkumMXH1NWzgu/nOj3UJoOcPX38= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:40:46 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:40:46 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 RESEND 01/35] drm: Remove drm_bridge->dev Thread-Topic: [PATCH v3 RESEND 01/35] drm: Remove drm_bridge->dev Thread-Index: AQHVuoFFITDfwI/JfEaH2idcTEq34w== Date: Tue, 24 Dec 2019 17:40:45 +0000 Message-ID: <20191224174019.29369-1-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: SN1PR12CA0109.namprd12.prod.outlook.com (2603:10b6:802:21::44) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 499fa3f9-08b8-4642-424f-08d788986d8a X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB7PR08MB3578: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:232;OLM:232; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(136003)(396003)(39860400002)(376002)(346002)(189003)(199004)(66946007)(1076003)(66446008)(64756008)(66556008)(66476007)(5660300002)(71200400001)(86362001)(30864003)(6486002)(81156014)(8676002)(6512007)(81166006)(26005)(186003)(7416002)(52116002)(6506007)(4326008)(2616005)(36756003)(2906002)(966005)(478600001)(54906003)(8936002)(44832011)(6916009)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: dY1BRfpRa6jMQoTq/pEQShAemM4xt4y2M2YpVXBRnLYWftYMH0lwkoTPUCcemPXZFSPtWH/R3reeM9XagUaG8Idolhgvp30GCJCxWD7gLo6/t8IT3z7oPdQ1Vz1pKn/JkpRdoMjCkjbxiXqW0uViWJ298sXBHWR998sbPUgC9PsWBPiaRgjPFA5mq69yXZqRINNlVTjHUojCo0CZuNbQ2f63PzxQXm1fuFPKKG8VsF/Wlxu13X20jG+vCBs8pudQoIP1Wa+nheRjLTbcT5gaX/NIjaWSgTDixVhAL/YVFQypgcic4FFEwodiBkyDys9ZojLBmMxceTrGH1Q5YykMOlloEKj2vwlXa+XplZ4k1q3Dp8SNB6ljRE2mwJ5tsZMBMwMBcO8HXuLoWfBqQ1P7majL01nEPhJLXGW1w4ff9j3Cnd6cRPnKN9sWBE1q7lbV0EcOk/0f8g5qsSX2dSmHfczbsOeJnII7YBJMet0Q46I= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT019.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)(199004)(189003)(81166006)(8676002)(5660300002)(81156014)(1076003)(316002)(356004)(186003)(6506007)(26005)(30864003)(478600001)(26826003)(6486002)(966005)(6512007)(36756003)(6916009)(4326008)(450100002)(86362001)(70206006)(54906003)(107886003)(8936002)(336012)(36906005)(76130400001)(2906002)(2616005)(70586007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR08MB3578; 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: d564c367-64a4-476b-9991-08d7889867f2 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GS/S5ZxlzobRQbROKBK+d/QqIC/L5KHjcqSeAf0zKfJz7mD859OlA2ZpVzDYTP7Gn97RhiFB8kWxJsXlt44o0ulbkVjztZKwDcGt1j0pEWxuDbX5Sv9MexmX6v7poRkAgwk59SdYe6A7tUW+UCfVLRh37JsZ9Md3QKxbLdsqf+cTB/ImGM7LASVcvV0LQzYjb2/HA3nZubWhwKsSjPnIbkVuu37kciuwRlXfwRB2gw+hN85InbeNsdiKNzXSEcbcEXd0k187zCGzCygUS/6+AJUls47ir3WLw/jS3oXGcrmFYkzn1kXn9VEQhAt09oNImLeqHfKW/u7LQ9bM8iMHzzCJZxav0u2Xv3guvwKkS+3q0Ga6/d3hiJXAlBzIeCVLPxOO4DHQIVRv+9qXlJi40NkvkFoDMnFSqO02PL6nnLkIx3B9N0Ity1za6MBZ0XtQ5SXTNcMD/yadNFOdT9BYe0G3LXAh3w4+aPe+Kmd1Ihs= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:40:54.9307 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 499fa3f9-08b8-4642-424f-08d788986d8a 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: DB7PR08MB3578 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Thomas Zimmermann , Neil Armstrong , David Airlie , "linux-arm-msm@vger.kernel.org" , Jonas Karlman , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , Laurent Pinchart , nd , "freedreno@lists.freedesktop.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" As suggested in [1], the 'dev' field is a bit repetitive, since it 1:1 follows the setting and NULLing of the 'encoder' field. Therefore, use drm_bridge->encoder->dev in place of drm_bridge->dev. [1] https://patchwork.freedesktop.org/patch/343824/ v3: - resend as part of drm_bridge_init() series v2: - fix checkpatch complaint about unnecessary parentheses in drm_bridge.c Cc: Daniel Vetter Suggested-by: Thomas Zimmermann Acked-by: Thomas Zimmermann Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx6345.c | 2 +- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 +- drivers/gpu/drm/bridge/cdns-dsi.c | 2 +- drivers/gpu/drm/bridge/dumb-vga-dac.c | 2 +- .../gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 2 +- drivers/gpu/drm/bridge/nxp-ptn3460.c | 2 +- drivers/gpu/drm/bridge/panel.c | 2 +- drivers/gpu/drm/bridge/parade-ps8622.c | 2 +- drivers/gpu/drm/bridge/sii902x.c | 6 +++--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 6 +++--- drivers/gpu/drm/bridge/tc358764.c | 4 ++-- drivers/gpu/drm/bridge/tc358767.c | 6 +++--- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +- drivers/gpu/drm/bridge/ti-tfp410.c | 6 +++--- drivers/gpu/drm/drm_bridge.c | 10 ++++------ drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- drivers/gpu/drm/mcde/mcde_dsi.c | 2 +- drivers/gpu/drm/msm/edp/edp_bridge.c | 2 +- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 4 ++-- drivers/gpu/drm/rcar-du/rcar_lvds.c | 3 ++- include/drm/drm_bridge.h | 2 -- 22 files changed, 35 insertions(+), 38 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index 9e13e466e72c..009cf1fef8d4 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -863,7 +863,7 @@ static int adv7511_bridge_attach(struct drm_bridge *bridge) adv->connector.polled = DRM_CONNECTOR_POLL_CONNECT | DRM_CONNECTOR_POLL_DISCONNECT; - ret = drm_connector_init(bridge->dev, &adv->connector, + ret = drm_connector_init(bridge->encoder->dev, &adv->connector, &adv7511_connector_funcs, DRM_MODE_CONNECTOR_HDMIA); if (ret) { diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c index 9917ce0d86a0..5b806d23fcb3 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c @@ -541,7 +541,7 @@ static int anx6345_bridge_attach(struct drm_bridge *bridge) return err; } - err = drm_connector_init(bridge->dev, &anx6345->connector, + err = drm_connector_init(bridge->encoder->dev, &anx6345->connector, &anx6345_connector_funcs, DRM_MODE_CONNECTOR_eDP); if (err) { diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c index 41867be03751..7463537950cb 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c @@ -908,7 +908,7 @@ static int anx78xx_bridge_attach(struct drm_bridge *bridge) return err; } - err = drm_connector_init(bridge->dev, &anx78xx->connector, + err = drm_connector_init(bridge->encoder->dev, &anx78xx->connector, &anx78xx_connector_funcs, DRM_MODE_CONNECTOR_DisplayPort); if (err) { diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c index 3a5bd4e7fd1e..32863e3ad537 100644 --- a/drivers/gpu/drm/bridge/cdns-dsi.c +++ b/drivers/gpu/drm/bridge/cdns-dsi.c @@ -651,7 +651,7 @@ static int cdns_dsi_bridge_attach(struct drm_bridge *bridge) struct cdns_dsi *dsi = input_to_dsi(input); struct cdns_dsi_output *output = &dsi->output; - if (!drm_core_check_feature(bridge->dev, DRIVER_ATOMIC)) { + if (!drm_core_check_feature(bridge->encoder->dev, DRIVER_ATOMIC)) { dev_err(dsi->base.dev, "cdns-dsi driver is only compatible with DRM devices supporting atomic updates"); return -ENOTSUPP; diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c b/drivers/gpu/drm/bridge/dumb-vga-dac.c index cc33dc411b9e..67ad6cecf68d 100644 --- a/drivers/gpu/drm/bridge/dumb-vga-dac.c +++ b/drivers/gpu/drm/bridge/dumb-vga-dac.c @@ -112,7 +112,7 @@ static int dumb_vga_attach(struct drm_bridge *bridge) drm_connector_helper_add(&vga->connector, &dumb_vga_con_helper_funcs); - ret = drm_connector_init_with_ddc(bridge->dev, &vga->connector, + ret = drm_connector_init_with_ddc(bridge->encoder->dev, &vga->connector, &dumb_vga_con_funcs, DRM_MODE_CONNECTOR_VGA, vga->ddc); 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..c914f01e4707 100644 --- a/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +++ b/drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c @@ -223,7 +223,7 @@ static int ge_b850v3_lvds_attach(struct drm_bridge *bridge) drm_connector_helper_add(connector, &ge_b850v3_lvds_connector_helper_funcs); - ret = drm_connector_init(bridge->dev, connector, + ret = drm_connector_init(bridge->encoder->dev, connector, &ge_b850v3_lvds_connector_funcs, DRM_MODE_CONNECTOR_DisplayPort); if (ret) { diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index 57ff01339559..3999bb864eb9 100644 --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c @@ -247,7 +247,7 @@ static int ptn3460_bridge_attach(struct drm_bridge *bridge) } ptn_bridge->connector.polled = DRM_CONNECTOR_POLL_HPD; - ret = drm_connector_init(bridge->dev, &ptn_bridge->connector, + ret = drm_connector_init(bridge->encoder->dev, &ptn_bridge->connector, &ptn3460_connector_funcs, DRM_MODE_CONNECTOR_LVDS); if (ret) { DRM_ERROR("Failed to initialize connector with drm\n"); diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c index f66777e24968..4ba4e9d9537a 100644 --- a/drivers/gpu/drm/bridge/panel.c +++ b/drivers/gpu/drm/bridge/panel.c @@ -67,7 +67,7 @@ static int panel_bridge_attach(struct drm_bridge *bridge) drm_connector_helper_add(connector, &panel_bridge_connector_helper_funcs); - ret = drm_connector_init(bridge->dev, connector, + ret = drm_connector_init(bridge->encoder->dev, connector, &panel_bridge_connector_funcs, panel_bridge->connector_type); if (ret) { diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 10c47c008b40..c32af9c2bbcc 100644 --- a/drivers/gpu/drm/bridge/parade-ps8622.c +++ b/drivers/gpu/drm/bridge/parade-ps8622.c @@ -487,7 +487,7 @@ static int ps8622_attach(struct drm_bridge *bridge) } ps8622->connector.polled = DRM_CONNECTOR_POLL_HPD; - ret = drm_connector_init(bridge->dev, &ps8622->connector, + ret = drm_connector_init(bridge->encoder->dev, &ps8622->connector, &ps8622_connector_funcs, DRM_MODE_CONNECTOR_LVDS); if (ret) { DRM_ERROR("Failed to initialize connector with drm\n"); diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index b70e8c5cf2e1..6ca297d78a26 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -402,7 +402,7 @@ static void sii902x_bridge_mode_set(struct drm_bridge *bridge, static int sii902x_bridge_attach(struct drm_bridge *bridge) { struct sii902x *sii902x = bridge_to_sii902x(bridge); - struct drm_device *drm = bridge->dev; + struct drm_device *drm = bridge->encoder->dev; int ret; drm_connector_helper_add(&sii902x->connector, @@ -820,8 +820,8 @@ static irqreturn_t sii902x_interrupt(int irq, void *data) mutex_unlock(&sii902x->mutex); - if ((status & SII902X_HOTPLUG_EVENT) && sii902x->bridge.dev) - drm_helper_hpd_irq_event(sii902x->bridge.dev); + if ((status & SII902X_HOTPLUG_EVENT) && sii902x->bridge.encoder) + drm_helper_hpd_irq_event(sii902x->bridge.encoder->dev); return IRQ_HANDLED; } diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index dbe38a54870b..99274ca0fdf6 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -2346,7 +2346,7 @@ static int dw_hdmi_bridge_attach(struct drm_bridge *bridge) drm_connector_helper_add(connector, &dw_hdmi_connector_helper_funcs); - drm_connector_init_with_ddc(bridge->dev, connector, + drm_connector_init_with_ddc(bridge->encoder->dev, connector, &dw_hdmi_connector_funcs, DRM_MODE_CONNECTOR_HDMIA, hdmi->ddc); @@ -2554,8 +2554,8 @@ static irqreturn_t dw_hdmi_irq(int irq, void *dev_id) if (intr_stat & HDMI_IH_PHY_STAT0_HPD) { dev_dbg(hdmi->dev, "EVENT=%s\n", phy_int_pol & HDMI_PHY_HPD ? "plugin" : "plugout"); - if (hdmi->bridge.dev) - drm_helper_hpd_irq_event(hdmi->bridge.dev); + if (hdmi->bridge.encoder) + drm_helper_hpd_irq_event(hdmi->bridge.encoder->dev); } hdmi_writeb(hdmi, intr_stat, HDMI_IH_PHY_STAT0); diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c index 96207fcfde19..e35e17b1f396 100644 --- a/drivers/gpu/drm/bridge/tc358764.c +++ b/drivers/gpu/drm/bridge/tc358764.c @@ -352,7 +352,7 @@ static void tc358764_enable(struct drm_bridge *bridge) static int tc358764_attach(struct drm_bridge *bridge) { struct tc358764 *ctx = bridge_to_tc358764(bridge); - struct drm_device *drm = bridge->dev; + struct drm_device *drm = bridge->encoder->dev; int ret; ctx->connector.polled = DRM_CONNECTOR_POLL_HPD; @@ -378,7 +378,7 @@ static int tc358764_attach(struct drm_bridge *bridge) static void tc358764_detach(struct drm_bridge *bridge) { struct tc358764 *ctx = bridge_to_tc358764(bridge); - struct drm_device *drm = bridge->dev; + struct drm_device *drm = bridge->encoder->dev; drm_connector_unregister(&ctx->connector); drm_fb_helper_remove_one_connector(drm->fb_helper, &ctx->connector); diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 3709e5ace724..ab1524c00777 100644 --- a/drivers/gpu/drm/bridge/tc358767.c +++ b/drivers/gpu/drm/bridge/tc358767.c @@ -1407,7 +1407,7 @@ static int tc_bridge_attach(struct drm_bridge *bridge) { u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24; struct tc_data *tc = bridge_to_tc(bridge); - struct drm_device *drm = bridge->dev; + struct drm_device *drm = bridge->encoder->dev; int ret; /* Create DP/eDP connector */ @@ -1514,7 +1514,7 @@ static irqreturn_t tc_irq_handler(int irq, void *arg) dev_err(tc->dev, "syserr %x\n", stat); } - if (tc->hpd_pin >= 0 && tc->bridge.dev) { + if (tc->hpd_pin >= 0 && tc->bridge.encoder) { /* * H is triggered when the GPIO goes high. * @@ -1528,7 +1528,7 @@ static irqreturn_t tc_irq_handler(int irq, void *arg) h ? "H" : "", lc ? "LC" : ""); if (h || lc) - drm_kms_helper_hotplug_event(tc->bridge.dev); + drm_kms_helper_hotplug_event(tc->bridge.encoder->dev); } regmap_write(tc->regmap, INTSTS_G, val); diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c index 9a2dd986afa5..8a4e64cfca1e 100644 --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c @@ -275,7 +275,7 @@ static int ti_sn_bridge_attach(struct drm_bridge *bridge) .node = NULL, }; - ret = drm_connector_init(bridge->dev, &pdata->connector, + ret = drm_connector_init(bridge->encoder->dev, &pdata->connector, &ti_sn_bridge_connector_funcs, DRM_MODE_CONNECTOR_eDP); if (ret) { diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index aa3198dc9903..76229367e2f4 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -135,7 +135,7 @@ static int tfp410_attach(struct drm_bridge *bridge) drm_connector_helper_add(&dvi->connector, &tfp410_con_helper_funcs); - ret = drm_connector_init_with_ddc(bridge->dev, &dvi->connector, + ret = drm_connector_init_with_ddc(bridge->encoder->dev, &dvi->connector, &tfp410_con_funcs, dvi->connector_type, dvi->ddc); @@ -179,8 +179,8 @@ static void tfp410_hpd_work_func(struct work_struct *work) dvi = container_of(work, struct tfp410, hpd_work.work); - if (dvi->bridge.dev) - drm_helper_hpd_irq_event(dvi->bridge.dev); + if (dvi->bridge.encoder) + drm_helper_hpd_irq_event(dvi->bridge.encoder->dev); } static irqreturn_t tfp410_hpd_irq_thread(int irq, void *arg) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index c2cf0c90fa26..258094169706 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -119,13 +119,12 @@ int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, if (!encoder || !bridge) return -EINVAL; - if (previous && (!previous->dev || previous->encoder != encoder)) + if (previous && previous->encoder != encoder) return -EINVAL; - if (bridge->dev) + if (bridge->encoder) return -EBUSY; - bridge->dev = encoder->dev; bridge->encoder = encoder; if (previous) @@ -137,7 +136,6 @@ int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, ret = bridge->funcs->attach(bridge); if (ret < 0) { list_del(&bridge->chain_node); - bridge->dev = NULL; bridge->encoder = NULL; return ret; } @@ -152,14 +150,14 @@ void drm_bridge_detach(struct drm_bridge *bridge) if (WARN_ON(!bridge)) return; - if (WARN_ON(!bridge->dev)) + if (WARN_ON(!bridge->encoder)) return; if (bridge->funcs->detach) bridge->funcs->detach(bridge); list_del(&bridge->chain_node); - bridge->dev = NULL; + bridge->encoder = NULL; } /** diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index a63790d32d75..17a66ef3dfd4 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -1360,7 +1360,7 @@ static int tda998x_bridge_attach(struct drm_bridge *bridge) { struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); - return tda998x_connector_init(priv, bridge->dev); + return tda998x_connector_init(priv, bridge->encoder->dev); } static void tda998x_bridge_detach(struct drm_bridge *bridge) diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde/mcde_dsi.c index 32e94bcb4a69..276a77c020c7 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -989,7 +989,7 @@ static void mcde_dsi_bridge_disable(struct drm_bridge *bridge) static int mcde_dsi_bridge_attach(struct drm_bridge *bridge) { struct mcde_dsi *d = bridge_to_mcde_dsi(bridge); - struct drm_device *drm = bridge->dev; + struct drm_device *drm = bridge->encoder->dev; int ret; if (!drm_core_check_feature(drm, DRIVER_ATOMIC)) { diff --git a/drivers/gpu/drm/msm/edp/edp_bridge.c b/drivers/gpu/drm/msm/edp/edp_bridge.c index b65b5cc2dba2..301dd7a80bde 100644 --- a/drivers/gpu/drm/msm/edp/edp_bridge.c +++ b/drivers/gpu/drm/msm/edp/edp_bridge.c @@ -47,7 +47,7 @@ static void edp_bridge_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct drm_device *dev = bridge->dev; + struct drm_device *dev = bridge->encoder->dev; struct drm_connector *connector; struct edp_bridge *edp_bridge = to_edp_bridge(bridge); struct msm_edp *edp = edp_bridge->edp; diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c index ba81338a9bf8..07c098dce310 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c @@ -20,7 +20,7 @@ void msm_hdmi_bridge_destroy(struct drm_bridge *bridge) static void msm_hdmi_power_on(struct drm_bridge *bridge) { - struct drm_device *dev = bridge->dev; + struct drm_device *dev = bridge->encoder->dev; struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); struct hdmi *hdmi = hdmi_bridge->hdmi; const struct hdmi_platform_config *config = hdmi->config; @@ -56,7 +56,7 @@ static void msm_hdmi_power_on(struct drm_bridge *bridge) static void power_off(struct drm_bridge *bridge) { - struct drm_device *dev = bridge->dev; + struct drm_device *dev = bridge->encoder->dev; struct hdmi_bridge *hdmi_bridge = to_hdmi_bridge(bridge); struct hdmi *hdmi = hdmi_bridge->hdmi; const struct hdmi_platform_config *config = hdmi->config; diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 2cf44b91853c..83538125a722 100644 --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c @@ -622,7 +622,8 @@ static int rcar_lvds_attach(struct drm_bridge *bridge) if (!lvds->panel) return 0; - ret = drm_connector_init(bridge->dev, connector, &rcar_lvds_conn_funcs, + ret = drm_connector_init(bridge->encoder->dev, connector, + &rcar_lvds_conn_funcs, DRM_MODE_CONNECTOR_LVDS); if (ret < 0) return ret; diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 694e153a7531..695d0898df38 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -380,8 +380,6 @@ struct drm_bridge_timings { * struct drm_bridge - central DRM bridge control structure */ struct drm_bridge { - /** @dev: DRM device this bridge belongs to */ - struct drm_device *dev; /** @encoder: encoder to which this bridge is connected */ struct drm_encoder *encoder; /** @chain_node: used to form a bridge chain */ From patchwork Tue Dec 24 17:34: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: 11310117 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 0C3541395 for ; Wed, 25 Dec 2019 10:20:39 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD6F22075B for ; Wed, 25 Dec 2019 10:20:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="wed33W6+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="wed33W6+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD6F22075B 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 EDB336E07B; Wed, 25 Dec 2019 10:20:28 +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-eopbgr60069.outbound.protection.outlook.com [40.107.6.69]) by gabe.freedesktop.org (Postfix) with ESMTPS id C847D89E52 for ; Tue, 24 Dec 2019 17:34:33 +0000 (UTC) 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=v5Js54wztOxzF/TQea784rwrZsTPXu/ICpATsm64vvI=; b=wed33W6+QfV35Mh2izYSx6mYU7HrIXJh8a6mKxmPMoXm792QvHKHYxetu8TUIZriCq4COloUKs7+dkmGqJ91YsjCMhFuCNtxqp5uXqgNCG0Fl20F9RVZK+b7NGjKGAtiFkDk4+7deXfSIx8aeN+J9HrtWZQNv53yt3Tspc7V46s= Received: from AM6PR08CA0034.eurprd08.prod.outlook.com (2603:10a6:20b:c0::22) by AM0PR08MB5121.eurprd08.prod.outlook.com (2603:10a6:208:159::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:30 +0000 Received: from DB5EUR03FT050.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by AM6PR08CA0034.outlook.office365.com (2603:10a6:20b:c0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:30 +0000 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; 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 DB5EUR03FT050.mail.protection.outlook.com (10.152.21.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:30 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 51c5c14281955d99 X-CR-MTA-TID: 64aa7808 Received: from ac55e6cc70e7.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1D37A69D-E821-447A-BB03-34533D11DBFC.1; Tue, 24 Dec 2019 17:34:24 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ac55e6cc70e7.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S40pI8K/2bi80x5aGnlBRmr+VuAxXBoKF4OUeAST0FbaAMaZ8bYqPMf/2wR5ItLamdp0p+urgsocu+3x4pQfR1KVU+iw3kvYxBKetJkmogrdGBy1CIfawMyPhfOe+XBhqb4CCfY+R4Cdprf3Ywx8MXV6+Dh8cpEBf/K3EtOalwoYysfc0A2zYNnUjYXdLbrWrr2X7CmekeuNxoEodUAieItugA+EURnBKYe36Cu94qDwogrX3KBrpb7119Yyg3z3w+TqZoA2s8oSXBhCBqtVoPDG9jThEl+N04YlZ+ovqlulgGRuK3AmDmIL5zNGFlN1ZcTxz739WzIUrjjWE9Of/Q== 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=v5Js54wztOxzF/TQea784rwrZsTPXu/ICpATsm64vvI=; b=NgYB7oaqX/+/cSMs599/Hf3TO1RWHi9iCTKoW8nXPKYPrThYg/gRbHBE40zMo0wYhJ62XNsZcO+i5pWVMgNK1F7ED0ThIgX5C2Oy5xaji4OEU43UUHITpDUe9+buwnZ7k3GGTWz6y1mCEDUm3zH7EW623dvcd9kCMdtyQIJRAPYmwb0QZVHoLS9YoFyfY+Xk99VOErgteWLYdN21xX4uFB6Qq1+10YdJzvRw4zxsb+zZBF2uwn52x1MlI5wJga4vQ4sfBMOy8ersak855HekonNazTEa9JFruIcNZClmD5MNo+rXxhHLjz4uB+U2MXVJnAJeu3Z+Mht8+Jlh33168w== 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 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=v5Js54wztOxzF/TQea784rwrZsTPXu/ICpATsm64vvI=; b=wed33W6+QfV35Mh2izYSx6mYU7HrIXJh8a6mKxmPMoXm792QvHKHYxetu8TUIZriCq4COloUKs7+dkmGqJ91YsjCMhFuCNtxqp5uXqgNCG0Fl20F9RVZK+b7NGjKGAtiFkDk4+7deXfSIx8aeN+J9HrtWZQNv53yt3Tspc7V46s= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:23 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:23 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 02/35] drm/bridge: analogix_dp: Stop using drm_bridge->driver_private Thread-Topic: [PATCH v3 02/35] drm/bridge: analogix_dp: Stop using drm_bridge->driver_private Thread-Index: AQHVuoBgZ7jOh/XVtkGuR+n5m9qjRw== Date: Tue, 24 Dec 2019 17:34:21 +0000 Message-ID: <20191224173408.25624-3-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: e0433bab-0724-4ba5-116e-08d788978866 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|AM0PR08MB5121: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1388;OLM:1388; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 5mg2fOEJi/wmJvGKqPvL3mRQVXqKgG01pG8JUo7eZBOMv9YMxn4loA2G+i2SbvtSMl80G75avJ8Wk9PoMSIHYxXwJsPZc4+0i/s+34Hjkt7fmwio1He3IqHky4IiBChkHW6eVwQrUmhJ2PBxZuRnvm6dlu9shCzsB/EsaNX59AqBU1l+dTaJO00P52kUtjrUXwMioM8A/mrQfEiAwnry2X3kG8kJl89bz6L0FEYz3M3bVMAGooSRwdlgFT1E7JaCYhuPLkTAMPqg6R49FiC/r+Uku37MtH8W/38gEdI3dFsEy6IO5yX1b543J9fGE7ytOVc0LayS93qTCS9IUH6y2VNR+D/i1AqcXCm8rKthA8hO5Evx3Q8WktA0i2dEYV3MGPyuAzNdRI63nlWiXqR05B8NQL06fv74OUUyKKbXAtXCdXBPpIfBoZxyJRLjvTo7 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT050.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)(39860400002)(376002)(396003)(189003)(199004)(478600001)(6512007)(86362001)(2616005)(186003)(336012)(26826003)(6486002)(70586007)(70206006)(76130400001)(81156014)(81166006)(36756003)(8936002)(8676002)(6916009)(4326008)(107886003)(1076003)(2906002)(316002)(6506007)(26005)(54906003)(356004)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB5121; 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: b485abaf-c70c-4649-96c9-08d7889782dc NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UvNHysjUY72qfeQRr29ZRfb658Aw7nr/fUpMdurOxfYwHNAhffuKOJr8dSahe2YSTqhw3vNlfARdfOnOlDokPI+A7z9YajckxHygdbV/fOYbL3O7zFGSs3a05xzOKoVDH+CHwCwyzMr0Ur9DKRomFDu4Tmz7qe9wF4uaMjMy80PBao+Icm1pJRlm9S+Qu3woeneI4bYTNM6+q6qv7TDT9a82UvHWH4ILXen7ag26BHovJTmPl4jZpCvIco84pQG7BSD3g1hg3eydysgnm1TKHfHbaEimuWSOjt0G88tShDUEamdjzFp3MP1y4rGcor+8yKKT2c77W9FwLksW/Sw2O8iTbZOCKvl8P1Z3DqNIl+ORIaBSLclZ6XReqJ4ZiO9oWu3C02iWMArAkIJ4eAHUdZi9e7ezWlIkkCT//TDZqHUqPr1wNbMlQPUdjpiCUUvQ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:30.5273 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0433bab-0724-4ba5-116e-08d788978866 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: AM0PR08MB5121 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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" Instead, embed the drm_bridge structure into analogix_dp_core and use a container_of wrapper to access the latter. Signed-off-by: Mihail Atanassov --- .../drm/bridge/analogix/analogix_dp_core.c | 40 +++++++------------ .../drm/bridge/analogix/analogix_dp_core.h | 8 +++- 2 files changed, 21 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index 6effe532f820..56ea3be27f2b 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1218,7 +1218,7 @@ static const struct drm_connector_funcs analogix_dp_connector_funcs = { static int analogix_dp_bridge_attach(struct drm_bridge *bridge) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_encoder *encoder = dp->encoder; struct drm_connector *connector = NULL; int ret = 0; @@ -1292,7 +1292,7 @@ struct drm_crtc *analogix_dp_get_new_crtc(struct analogix_dp_device *dp, static void analogix_dp_bridge_atomic_pre_enable(struct drm_bridge *bridge, struct drm_atomic_state *state) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_crtc *crtc; struct drm_crtc_state *old_crtc_state; int ret; @@ -1369,7 +1369,7 @@ static int analogix_dp_set_bridge(struct analogix_dp_device *dp) static void analogix_dp_bridge_atomic_enable(struct drm_bridge *bridge, struct drm_atomic_state *state) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_crtc *crtc; struct drm_crtc_state *old_crtc_state; int timeout_loop = 0; @@ -1406,7 +1406,7 @@ static void analogix_dp_bridge_atomic_enable(struct drm_bridge *bridge, static void analogix_dp_bridge_disable(struct drm_bridge *bridge) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); int ret; if (dp->dpms_mode != DRM_MODE_DPMS_ON) @@ -1443,7 +1443,7 @@ static void analogix_dp_bridge_disable(struct drm_bridge *bridge) static void analogix_dp_bridge_atomic_disable(struct drm_bridge *bridge, struct drm_atomic_state *state) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_crtc *crtc; struct drm_crtc_state *new_crtc_state = NULL; @@ -1467,7 +1467,7 @@ static void analogix_dp_bridge_atomic_post_disable(struct drm_bridge *bridge, struct drm_atomic_state *state) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_crtc *crtc; struct drm_crtc_state *new_crtc_state; int ret; @@ -1489,7 +1489,7 @@ static void analogix_dp_bridge_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *orig_mode, const struct drm_display_mode *mode) { - struct analogix_dp_device *dp = bridge->driver_private; + struct analogix_dp_device *dp = bridge_to_analogix_dp_device(bridge); struct drm_display_info *display_info = &dp->connector.display_info; struct video_info *video = &dp->video_info; struct device_node *dp_node = dp->dev->of_node; @@ -1571,28 +1571,16 @@ static const struct drm_bridge_funcs analogix_dp_bridge_funcs = { .attach = analogix_dp_bridge_attach, }; -static int analogix_dp_create_bridge(struct drm_device *drm_dev, +static int analogix_dp_attach_bridge(struct drm_device *drm_dev, struct analogix_dp_device *dp) { - struct drm_bridge *bridge; int ret; - bridge = devm_kzalloc(drm_dev->dev, sizeof(*bridge), GFP_KERNEL); - if (!bridge) { - DRM_ERROR("failed to allocate for drm bridge\n"); - return -ENOMEM; - } - - dp->bridge = bridge; - - bridge->driver_private = dp; - bridge->funcs = &analogix_dp_bridge_funcs; + dp->bridge.funcs = &analogix_dp_bridge_funcs; - ret = drm_bridge_attach(dp->encoder, bridge, NULL); - if (ret) { - DRM_ERROR("failed to attach drm bridge\n"); + ret = drm_bridge_attach(dp->encoder, &dp->bridge, NULL); + if (ret) return -EINVAL; - } return 0; } @@ -1757,9 +1745,9 @@ analogix_dp_bind(struct device *dev, struct drm_device *drm_dev, pm_runtime_enable(dev); - ret = analogix_dp_create_bridge(drm_dev, dp); + ret = analogix_dp_attach_bridge(drm_dev, dp); if (ret) { - DRM_ERROR("failed to create bridge (%d)\n", ret); + DRM_ERROR("failed to attach bridge (%d)\n", ret); goto err_disable_pm_runtime; } @@ -1775,7 +1763,7 @@ EXPORT_SYMBOL_GPL(analogix_dp_bind); void analogix_dp_unbind(struct analogix_dp_device *dp) { - analogix_dp_bridge_disable(dp->bridge); + analogix_dp_bridge_disable(&dp->bridge); dp->connector.funcs->destroy(&dp->connector); if (dp->plat_data->panel) { diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h index c051502d7fbf..aae4110c7bf9 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.h @@ -9,6 +9,9 @@ #ifndef _ANALOGIX_DP_CORE_H #define _ANALOGIX_DP_CORE_H +#include + +#include #include #include @@ -159,7 +162,7 @@ struct analogix_dp_device { struct device *dev; struct drm_device *drm_dev; struct drm_connector connector; - struct drm_bridge *bridge; + struct drm_bridge bridge; struct drm_dp_aux aux; struct clk *clock; unsigned int irq; @@ -180,6 +183,9 @@ struct analogix_dp_device { struct analogix_dp_plat_data *plat_data; }; +#define bridge_to_analogix_dp_device(b) \ + container_of((b), struct analogix_dp_device, bridge) + /* analogix_dp_reg.c */ void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable); void analogix_dp_stop_video(struct analogix_dp_device *dp); From patchwork Tue Dec 24 17:34: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: 11310097 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 AF2DB6C1 for ; Wed, 25 Dec 2019 10:20:12 +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 8CE032075B for ; Wed, 25 Dec 2019 10:20:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="7l3fOIov"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="7l3fOIov" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8CE032075B 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 277C589C1C; Wed, 25 Dec 2019 10:20:08 +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-eopbgr50055.outbound.protection.outlook.com [40.107.5.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2573889F08 for ; Tue, 24 Dec 2019 17:34:34 +0000 (UTC) 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=t8y3GMi06ZfA7o6GfitjMMzqG4xMPXJbq3e1jAMkuKU=; b=7l3fOIov1xafgnpggNQ2EZqPcKptPygSsLGDvPUBw/i1N/NRXlNYkRCCyf0K7plvIk8WY1S5N0emnp6hJSIpNl1F1gYbtk9VY5cIDfriVqMz4UbhBNcXMXWznH4dSbobA86M22tlN5gbpbmuVr/37HXvQPTD622WTDEcIGyzhEk= Received: from AM6PR08CA0046.eurprd08.prod.outlook.com (2603:10a6:20b:c0::34) by VI1PR08MB2878.eurprd08.prod.outlook.com (2603:10a6:802:19::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.20; Tue, 24 Dec 2019 17:34:31 +0000 Received: from DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by AM6PR08CA0046.outlook.office365.com (2603:10a6:20b:c0::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16 via Frontend Transport; Tue, 24 Dec 2019 17:34:31 +0000 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; 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 DB5EUR03FT014.mail.protection.outlook.com (10.152.20.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:31 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:34:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f1b881154abfd2ca X-CR-MTA-TID: 64aa7808 Received: from c7aa28829b3e.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1DF3A40A-A190-4531-9CFE-B0D49AEA1C08.1; Tue, 24 Dec 2019 17:34:25 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c7aa28829b3e.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f346dqzGGcASRKRIM3AEpMlKvS9YN5WHCVGqlRGsFpr25P0g44VDgI3vPMRlgUADDO+kJe+lQcevQk0hw06Yg/ylyC3TzERUNkQ4OzcPZ1cXlAOgtJCW0mpXcqeVvXo8dwb+cXIp6hdHQPoGFzkKzjicyQA0dAesc2mcyqaffx1Z6mvwvQq/chBIqde96fPPrfUsJ4nJDzlMkXoDmDftDEWgf8iDui52yLOKB7WYsI5xczXlDcd32nGuh/EqdmSgiB1MvfgKU+neRQ38+pILXyF4GWj2Yd6D7gxHeJuUOje0+lFNEN+0YS6MiecfpaSpkBIyBiMGo5SXmaDAMxmC4w== 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=t8y3GMi06ZfA7o6GfitjMMzqG4xMPXJbq3e1jAMkuKU=; b=HXjkohl4H8m/Wyf8swCRB3RXp3dljdp4WcX9PgJTMQj5ZWs3obvbiuVf5iUf30JQRVFSzbLG52cmAk5VsVU/8jjR48qPqrGPtupBV1lMj/T4KAOxgrAcOWzFFqqktIeVv0ZZFRCVVz+UQ39I13eiEIVbFIa4gOqErQnHZrfUIGkHeYhLPPCWiqEAaS+xKBKKk00WJVK+7vqUaRJinCeQjHApdLwjg1aMUkkHtRibPYj2BFypzftTDmkBPoNvybvVw6b80OkHPyM1TCgfmIWTsgJEZuORnTF4Jq4CQiQTmT+oNc89FvYb2V/vdRKeGp7g5sn14HaUS6IW80OI9gd3mA== 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 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=t8y3GMi06ZfA7o6GfitjMMzqG4xMPXJbq3e1jAMkuKU=; b=7l3fOIov1xafgnpggNQ2EZqPcKptPygSsLGDvPUBw/i1N/NRXlNYkRCCyf0K7plvIk8WY1S5N0emnp6hJSIpNl1F1gYbtk9VY5cIDfriVqMz4UbhBNcXMXWznH4dSbobA86M22tlN5gbpbmuVr/37HXvQPTD622WTDEcIGyzhEk= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:24 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:24 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 03/35] drm/bridge/synopsys: Stop using drm_bridge->driver_private Thread-Topic: [PATCH v3 03/35] drm/bridge/synopsys: Stop using drm_bridge->driver_private Thread-Index: AQHVuoBgDD48T29lSEihrvDPdP2k7g== Date: Tue, 24 Dec 2019 17:34:22 +0000 Message-ID: <20191224173408.25624-4-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 5cd8aebf-5752-4f05-bcdc-08d788978902 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VI1PR08MB2878: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:418;OLM:418; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 5O3rSr2i+a+tA0amttawEsipuBxuQ9aYk9nUBG3FXI8lsJwTQgFjeN36i9z1Baeg8K33aVK5psq9kZcnhjhWZPeOGX2q4fKb5hKPLHY2OV58+jTNCWvuuz5xGEh/pwglQ8RUV7L54Ncjlv+g2IMvU+VCRf+hm+EW+PGn1mMigzQ/GoLrQffMrkgVhTnuBNIQ5EkmtjNGrlH/dhqEtjnOQoJD88x1dUVS8SaIIS5Qqa5KQ2b+CjOzZ03gBo/JohsUXk4t09Da806A+hR2XcA3tHFMH157+tX2Kw7y7MUJ1rMkafq7hiX4NF95kZn2/lvNZ8BSgOxuUy2ZSMAeNHuWTIGjypviavzMkx4TZQJ68Yz0RTikdXcbCTZmOuNI5sMWUm8nSqk0FCqDb0+frqY3fFL2bJ+PtvemHQtJ+D6VViqbNp53A1ov6n7g3wtwh2bX MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT014.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(396003)(346002)(376002)(199004)(189003)(6486002)(4326008)(6916009)(36756003)(5660300002)(107886003)(8936002)(6512007)(6506007)(26826003)(81166006)(70586007)(478600001)(356004)(81156014)(316002)(2906002)(54906003)(8676002)(2616005)(336012)(76130400001)(86362001)(1076003)(70206006)(186003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2878; 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: 0ab56e01-81a4-44e6-971b-08d788978356 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UioaiIvi96Zn8qzc8ZwZIT+gNmxOOYJKdWhO8SKf6JlFW/9QlUqi5p7+L1mxsCriSKbXP9J3c8Bc/JmBz3yklpFGypf5Sao3D8RFKDJwleZuvNCE/+wXz+SERZ8YGc23TFwGP7ajgRLk9NOKdyW8Q81b0plqBU46RnCBPaNueXarywUR7GsVExwMFIsUi2V4v2Ax5I/Od0r62E2H9o4XRp9hHAGVibe35U4786RJin+jC8wEb8hyU3vyejn3hUdGXmAWB6Hvd846YA4ij891UcVRF8pF1LNToIxDO9n2rb9ChMLIp5W5rQ92eMhPX0bEV0u+W3Y/VmNtsRi14fjhWd24UQ1kpZS5/L3nAmEBlXjZSBPG+yICtyPZprHSNojSe4ycv9Bohu5JkEETaB3dRFNiZ1L4mT2LYY7Z0kXAHdz+l1qFgxrJunykah/ouCfV X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:31.5771 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5cd8aebf-5752-4f05-bcdc-08d788978902 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: VI1PR08MB2878 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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" dw_hdmi: The drm_bridge struct is already embedded, so use a container_of wrapper to access it. dw-mipi-dsi: The field is unused, remove it. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 15 ++++++++------- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 1 - 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 99274ca0fdf6..946aa1af8841 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -196,6 +196,8 @@ struct dw_hdmi { struct cec_notifier *cec_notifier; }; +#define bridge_to_dw_hdmi(b) container_of((b), struct dw_hdmi, bridge) + #define HDMI_IH_PHY_STAT0_RX_SENSE \ (HDMI_IH_PHY_STAT0_RX_SENSE0 | HDMI_IH_PHY_STAT0_RX_SENSE1 | \ HDMI_IH_PHY_STAT0_RX_SENSE2 | HDMI_IH_PHY_STAT0_RX_SENSE3) @@ -2335,7 +2337,7 @@ static const struct drm_connector_helper_funcs dw_hdmi_connector_helper_funcs = static int dw_hdmi_bridge_attach(struct drm_bridge *bridge) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); struct drm_encoder *encoder = bridge->encoder; struct drm_connector *connector = &hdmi->connector; struct cec_connector_info conn_info; @@ -2372,7 +2374,7 @@ static int dw_hdmi_bridge_attach(struct drm_bridge *bridge) static void dw_hdmi_bridge_detach(struct drm_bridge *bridge) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); mutex_lock(&hdmi->cec_notifier_mutex); cec_notifier_conn_unregister(hdmi->cec_notifier); @@ -2384,7 +2386,7 @@ static enum drm_mode_status dw_hdmi_bridge_mode_valid(struct drm_bridge *bridge, const struct drm_display_mode *mode) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); struct drm_connector *connector = &hdmi->connector; enum drm_mode_status mode_status = MODE_OK; @@ -2402,7 +2404,7 @@ static void dw_hdmi_bridge_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *orig_mode, const struct drm_display_mode *mode) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); mutex_lock(&hdmi->mutex); @@ -2414,7 +2416,7 @@ static void dw_hdmi_bridge_mode_set(struct drm_bridge *bridge, static void dw_hdmi_bridge_disable(struct drm_bridge *bridge) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); mutex_lock(&hdmi->mutex); hdmi->disabled = true; @@ -2425,7 +2427,7 @@ static void dw_hdmi_bridge_disable(struct drm_bridge *bridge) static void dw_hdmi_bridge_enable(struct drm_bridge *bridge) { - struct dw_hdmi *hdmi = bridge->driver_private; + struct dw_hdmi *hdmi = bridge_to_dw_hdmi(bridge); mutex_lock(&hdmi->mutex); hdmi->disabled = false; @@ -2898,7 +2900,6 @@ __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; diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index b18351b6760a..3aa4f9289416 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c @@ -1064,7 +1064,6 @@ __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; From patchwork Tue Dec 24 17:34: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: 11310077 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 CB4B71395 for ; Wed, 25 Dec 2019 10:19:45 +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 A8E112073B for ; Wed, 25 Dec 2019 10:19:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="3R0z8e8r"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="3R0z8e8r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8E112073B 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 E6E9989E26; Wed, 25 Dec 2019 10:19:19 +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-eopbgr40066.outbound.protection.outlook.com [40.107.4.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id 07B8989E52 for ; Tue, 24 Dec 2019 17:34:36 +0000 (UTC) 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=m+RrGPwpgBCfE2P0PK762qmZkaVJiWeF2kTSJ4tWHP0=; b=3R0z8e8rIeC9lpvU7E1vKCcxmw6r+vL1CVwInjbo9vXsEyaPurypnwY2fH0f49Aig8lGN5r3xJ6kxLQdnVhXMy9ZTw+JPp6sATNxL+XUjS7tMc/3ASrEy/RzC6zM6i+rAm28b48GRvoTg+SWHrW/okDVMiMeIqZfz3sHyeKZtgo= Received: from DB6PR0801CA0056.eurprd08.prod.outlook.com (2603:10a6:4:2b::24) by DB6PR0801MB2119.eurprd08.prod.outlook.com (2603:10a6:4:34::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:32 +0000 Received: from DB5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::203) by DB6PR0801CA0056.outlook.office365.com (2603:10a6:4:2b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:32 +0000 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; 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 DB5EUR03FT024.mail.protection.outlook.com (10.152.20.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:32 +0000 Received: ("Tessian outbound ba41a0333779:v40"); Tue, 24 Dec 2019 17:34:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cbb6c4108662efd1 X-CR-MTA-TID: 64aa7808 Received: from 64861fc03c2f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DFD34FB0-0012-46BF-AC15-C4B8A8BD800F.1; Tue, 24 Dec 2019 17:34:26 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 64861fc03c2f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d/PEai0hhkj29EqVGK4O5M/spfO7TRwashwJaM3Zy+HEMssTY9iNept2vwl26xA0YDgZopT2HpYNimTPO3xIWqdFVrZ9iYOwo8FhBob6mAoZnal8J94qLs7RBXsyv9TQIPYErfoSRzfVKxMku1MHkR3BSj7Xn+5P43d29ZjkHqHPPf+hBdnVO84OwpUBpV+qMPN0i/5PQ7k9pGZgxDoNQkLPcHDP4pAdLys1WY8bmWbxU8h9bqv10v3Lou8cfZVVNFh7Th+yb1ln0USsWS+kIYCaZvIkUjPZR9GN2ETGMsq7H4p43tWt1VIPKEH2Nxwc/bniVA1lw3VTdYfmq5dylg== 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=m+RrGPwpgBCfE2P0PK762qmZkaVJiWeF2kTSJ4tWHP0=; b=oPDW1ALG5h52AfxxsFUKg8AJg+P0V9VXcXBw+ffhonCp97sHcO3/aUWJYfsXOpLeuronUjqssmpGlK5R0/dfZQ5Ov+OObGxit0TE6MBSXvyMy2uKYeGPgZdJ/8Fz0ubEXCOJiBqoZm8teRXbyCv2Gi27Fu8eQx8zJKhPzH52BGPtKf60+A00lhoslYbumWnoPNb+e0aCXQ17n0DBo7kayNAzcjbgfazX1j6eXgb+AIqRbMdtcHH96GVccmhmEu9YoLmJZxYyxvAYT4teb+Ey2ZYywYy5LMkksJJZpyiOrrvtaRKhdGyzGsA0aRFik0vVzGOy7pfWi7j2SR/TKC0P+A== 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 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=m+RrGPwpgBCfE2P0PK762qmZkaVJiWeF2kTSJ4tWHP0=; b=3R0z8e8rIeC9lpvU7E1vKCcxmw6r+vL1CVwInjbo9vXsEyaPurypnwY2fH0f49Aig8lGN5r3xJ6kxLQdnVhXMy9ZTw+JPp6sATNxL+XUjS7tMc/3ASrEy/RzC6zM6i+rAm28b48GRvoTg+SWHrW/okDVMiMeIqZfz3sHyeKZtgo= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:25 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:25 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 04/35] drm/bridge: thc63lvd1024: Don't set drm_bridge->driver_private Thread-Topic: [PATCH v3 04/35] drm/bridge: thc63lvd1024: Don't set drm_bridge->driver_private Thread-Index: AQHVuoBhyechqLSWlkWGGz4EX7LiCg== Date: Tue, 24 Dec 2019 17:34:23 +0000 Message-ID: <20191224173408.25624-5-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: a851dbed-a42f-4012-5ff4-08d7889789bb X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|DB6PR0801MB2119: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: L2uCWjO6UmcKGQGloYlxvXqt8wW0crdB7zwUBcNiuLK0Gcx1G/VsxFbyWrzKicoxcN+h/sXFks/O3iakWxShoX0KNpDvAzm7tHcdr9kIaW4e9k9yERdNvzWMmd4a7xyXnxp9y9OOL1o6jfa43CDdsr6GWJXucLaXPgNu3HZs3i0N89FgVdEMS0ypxU4d/GoRgDSRR02Nv9JVddOF6ir9pLxmIktLgubfwNOAomH1oRP+aSEDowvoL8Y/gDKrk6HESUFqiuwry92veFdDVSZT+gY38ZIzEl1mZJCcGTXIOFv+WGPuMRLi1SZ6mciSGg4ROF30e2lXpdGwUyBw7ZeeGirxKbedokIy+yC22VSD+m7Je1QVJtcO9mzITX6lOp8kH8jloAn8lcUbty/vowpM8AguvLkT9Ic9x66x5bmVk/+TMSB5u5VAm+fubL+jOrWu MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT024.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)(396003)(136003)(346002)(39860400002)(189003)(199004)(107886003)(8676002)(4326008)(26005)(76130400001)(4744005)(6916009)(6506007)(5660300002)(36756003)(86362001)(1076003)(70206006)(70586007)(81166006)(478600001)(26826003)(316002)(336012)(356004)(2616005)(6486002)(2906002)(54906003)(8936002)(186003)(81156014)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB2119; 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: 9d4b31d2-d8e2-4d12-911c-08d7889783ed NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DS6KWKYbl28PrC5EGW83YU+6nINHDU/QSXWyfwzt3xgHrovsQQpQQgrjW3nW51Yp38kI7TGCLMslcV6qLsAVqJ1MqNjtAIKfd50gLSNxokYq3UBx1cS1vJ8FRD+CLV2OF/5FE6BckOWhsxo7qz2Dud28w1SGQIYDdG4YAxXyEjJSz+etk83J60P1DQZc0NQcwdNzk5pWdMbS+9eYrxQ7EZMlJ7lVwcJUFo/KS/XevoU/GMPeEX3+n4mEegMN8ND6/HQ65GoEiH3LXfQC0bUszUm4cgkBYPOD3EYOpVoh0DhH6hwcNr2Xlq7mS2Ef/293GnGWTRtz+haaznGvVaCS1nN++YuoivMk8zioCvUosu7MjEJGauNLzEe878jN/48zQWVjpPHUCBAQ1ArpiJ0iTPwsHEEhAblAh09+DPx7BT2H4t/7a9j6SknVd3oeJsYJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:32.7721 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a851dbed-a42f-4012-5ff4-08d7889789bb 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: DB6PR0801MB2119 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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" It's unused. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/thc63lvd1024.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/thc63lvd1024.c b/drivers/gpu/drm/bridge/thc63lvd1024.c index 3d74129b2995..784f4e4eea05 100644 --- a/drivers/gpu/drm/bridge/thc63lvd1024.c +++ b/drivers/gpu/drm/bridge/thc63lvd1024.c @@ -218,7 +218,6 @@ 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; From patchwork Tue Dec 24 17:34: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: 11310071 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 38E7A6C1 for ; Wed, 25 Dec 2019 10:19: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 0DF462073B for ; Wed, 25 Dec 2019 10:19:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="FtK2EgE7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="FtK2EgE7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DF462073B 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 4EB5889EFF; Wed, 25 Dec 2019 10:19:20 +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-eopbgr20050.outbound.protection.outlook.com [40.107.2.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9179C89E52 for ; Tue, 24 Dec 2019 17:34:35 +0000 (UTC) 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=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=FtK2EgE7kxnRfGBeC2MPPQLACu1uKU9d1cyj+vTcQCVq7VKdOf2sZEMB+OANzXPeHYRyyoGHb2bz9t3CozD2bNm4MqpgBaAll5cwh28P/6Et5mj6+wsvKfWb1x4CcojzqD79jIAVwIiwTZRuioPuLbQa3tcdac+G/PscL/RaRs8= Received: from DB6PR0802CA0037.eurprd08.prod.outlook.com (2603:10a6:4:a3::23) by AM0PR08MB3729.eurprd08.prod.outlook.com (2603:10a6:208:fb::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:34:33 +0000 Received: from DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::209) by DB6PR0802CA0037.outlook.office365.com (2603:10a6:4:a3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:33 +0000 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; 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 DB5EUR03FT019.mail.protection.outlook.com (10.152.20.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:32 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 839410e269e35020 X-CR-MTA-TID: 64aa7808 Received: from 64861fc03c2f.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D4E18AE5-8643-4259-A6C8-61B5FCB808B1.1; Tue, 24 Dec 2019 17:34:27 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 64861fc03c2f.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D9zUkcYNz+kD4pJw1/T+nZGnFhldbkTo/NegLQ2a7wXVegVaXbfeIHBzkz9anBhRxgz4uTEgZaI5FiktYrdzoFKNBWUT9cnGXkMMnHDbqakKWQsY67Gqos44UMybexyas3qhsRYfOl2Iy78AAB1SkII0XUPtPwFtPznmIVQ8wI4VJBrBeJz51UjgVBTZbFOR0alG1KNncbc4AltRnfz6CFDEtGa2UsZXRbsX3WN66Aqlg7vyb82z8bV6b94kecH+DRMvipZdtYDNbEhvEeFEuB1dP2h/BeRcDWU89g7z6SRvk4c0UCfgdHL96Rhvel5PkO8mGLTPWGCSIRNzcOH2vA== 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=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=b6aBlOf0OiTll2dBKWPqHkcAoVJQ8bhDwFfaiqri3iS7lAe0AX8rjRbU3aNLrTJEgEWhT8qZVzgtzb+azgoavK6qCRuJuIfa/EaLuUlqZzlsuoBaYbIOiI7BkF4utVz0nMVYfTrsA3xK4hF/ph1+zhzHAiTiWXC2lWXT3D8rlwoi5PeJLONMQZDO03uLSn5qYo+nvSUEb/qTvboPRk73EtJ1LF3ekbmVbrasrBwmOnkFGc0PgeUDZf/tD/cglrLsI1BlbV2+wku1lTjkgz2EGc8BlAJ4KLmc0nTM3RKc0DI/2T4KQwOjyg6DATOxz0OTNgnhXx51AP+wx7OcdeVLZg== 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 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=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=FtK2EgE7kxnRfGBeC2MPPQLACu1uKU9d1cyj+vTcQCVq7VKdOf2sZEMB+OANzXPeHYRyyoGHb2bz9t3CozD2bNm4MqpgBaAll5cwh28P/6Et5mj6+wsvKfWb1x4CcojzqD79jIAVwIiwTZRuioPuLbQa3tcdac+G/PscL/RaRs8= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:26 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:26 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 05/35] drm/exynos: mic: Stop using drm_bridge->driver_private Thread-Topic: [PATCH v3 05/35] drm/exynos: mic: Stop using drm_bridge->driver_private Thread-Index: AQHVuoBigv2vEibt+0GqA7jMsM/uxg== Date: Tue, 24 Dec 2019 17:34:24 +0000 Message-ID: <20191224173408.25624-6-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 4102d55a-391b-4a9a-4185-08d7889789cf X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|AM0PR08MB3729: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: UtunOQsjvO+cICPXtRbaGUZ9jFK+Pe7bUKGP9QiCk+YihI4jtdcAtVeu9HzFOK0LOHNWsgKG6jDyayl6uXiW0a/56lkbpugb4JOD2I+dBnW+m/EPlAq+oJsNHSTnZYBBupEz7y3A39LwL9h5NzxOC7KlwPOl53HXR0nKNf9P11NU+MQTaXgxIkleiz8VOGyqs2mkZdLmJvJGhKqYftU57Bg1Pu3IKjoaQwRKVnKhLe7xsuS3bQ+aoC3Lub8Vl5810Ed/IaRx1khOE45TJ2OgIVGBCdlYhEUFw6EXvBd11JtguX9v9lCuMnJnWLdgtyZOpYhLamSEIwhsMwnj1jrJwLtNCmcmC2J6G331qvbnKNwkgEOa4P+0fQ3pAKwa+D6tK6/1eAyFynJL6Gdt+4zt90R2d7OUSK22sIZxZlRkH42+4gtCeOgZ5WL474ga9KQD MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT019.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)(189003)(199004)(356004)(54906003)(6486002)(316002)(86362001)(76130400001)(336012)(6916009)(5660300002)(70586007)(2616005)(6506007)(26826003)(6512007)(8676002)(8936002)(81166006)(81156014)(186003)(4326008)(70206006)(478600001)(26005)(107886003)(36756003)(2906002)(1076003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB3729; 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: 344412ce-2f0a-47e2-cc89-08d7889784be NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0TTcYl+m3fPg7BOqzCy4nXgSjGdXJspt0yKli5PIuYXRCVKNacvBD5ZUDcn46ZnXLtiVmJYcfVxgfp2i4FKb0ukqc4SiESZRi7wgAQ1ycTOsqxeQAPFfLyuI1CZ1FBrRxAu6Mzp9QZklUd5Jhvdg9qAviyoE/z5Bth3WkrLWCbB4GmaxC68IJxwwn8xCpexorjKYbJRH8MgQKotATfiUjlW+1iKSpQ9uQd1ISa8pJXe8Ouy+huJIImvaUK6TBvLW8f9tInhwq160EbzpG2/QlojQ9CDW22sZdZ0B+WO1bHhrBms+YWidKno+Yqha5fiA3k26vTMAtKxoHGyrm63hJ2fcUiBTexANMlcNzSHRnsGrjqIwEleLf3P1jfSMv9Wolp8oszT/rHkTd3597R6m7Yd/OWLeN6zVv9h2iX5KMi3w9VREAjte7Vtr3LqVwWXX X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:32.9184 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4102d55a-391b-4a9a-4185-08d7889789cf 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: AM0PR08MB3729 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , "linux-samsung-soc@vger.kernel.org" , nd , "linux-arm-kernel@lists.infradead.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Use a container_of wrapper instead. Note that no logic depends on driver_private being NULL or not, so the cleanup in exynos_mic_bind is safe to apply. Cc: Inki Dae Signed-off-by: Mihail Atanassov --- Reviewer note: the driver_private cleanup used to be part of the relevant drm_bridge_init() patch. drivers/gpu/drm/exynos/exynos_drm_mic.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index f41d75923557..2b5f10c3a285 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -106,6 +106,8 @@ struct exynos_mic { bool enabled; }; +#define bridge_to_exynos_mic(b) container_of((b), struct exynos_mic, bridge) + static void mic_set_path(struct exynos_mic *mic, bool enable) { int ret; @@ -232,7 +234,7 @@ static void mic_disable(struct drm_bridge *bridge) { } static void mic_post_disable(struct drm_bridge *bridge) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); mutex_lock(&mic_mutex); if (!mic->enabled) @@ -251,7 +253,7 @@ static void mic_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); mutex_lock(&mic_mutex); drm_display_mode_to_videomode(mode, &mic->vm); @@ -261,7 +263,7 @@ static void mic_mode_set(struct drm_bridge *bridge, static void mic_pre_enable(struct drm_bridge *bridge) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); int ret; mutex_lock(&mic_mutex); @@ -309,10 +311,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; } From patchwork Tue Dec 24 17:34: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: 11310107 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 C9FEF6C1 for ; Wed, 25 Dec 2019 10:20:20 +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 A80AE2075B for ; Wed, 25 Dec 2019 10:20:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="VBqNaUrT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="VBqNaUrT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A80AE2075B 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 3D18089C83; Wed, 25 Dec 2019 10:20:10 +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-eopbgr10053.outbound.protection.outlook.com [40.107.1.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id E4F8789E52 for ; Tue, 24 Dec 2019 17:34:36 +0000 (UTC) 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=wNwfnenGsO46uWioPEasS2RfIRG0V894CZ2YaTDU8TU=; b=VBqNaUrTuaKNnfcUyTbCWdE+88s21aV/NmJwbxXVJcDUVHn5cQ1xk96FbJri8pDEEBDo9rQ9BumXlP/SQqc1HLuohYzhm6pnv8CV84R1fGMZhC+ubSxvyG1bcUoVwEOwghoilT01lEUOfxfiwtzEnhgiKmRyr9Gx2AtgKa8Equ0= Received: from VE1PR08CA0001.eurprd08.prod.outlook.com (2603:10a6:803:104::14) by VI1PR08MB4366.eurprd08.prod.outlook.com (2603:10a6:803:fc::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:33 +0000 Received: from DB5EUR03FT046.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::206) by VE1PR08CA0001.outlook.office365.com (2603:10a6:803:104::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:33 +0000 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; 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.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:33 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 49fd52f0b70b58b6 X-CR-MTA-TID: 64aa7808 Received: from 64861fc03c2f.5 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E3FF6F31-8B9E-490A-A69C-F64175C62902.1; Tue, 24 Dec 2019 17:34:27 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 64861fc03c2f.5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b78/KyylvTst23TEt0nzDfoJW5rJ52QJXz5a/L+8Jf5NLGw/meDIv8YHsy2Y41j/eCUIQ6xTLVSWv5PB2nxRu/17slsZCKmt/w7KMzGiaTvSHV8gPK+9wu4wIqyBp9VE+TNGTW+TGEJ3Wqi2LHju+UYwz1kFl8tqoN7IClquqqXZIn1JPapGvTQ0doBlGsTdxKr7RGFPPgTckjyNXG/R1G+dbSyfM1IgdMsgLUYT0laMgRSOPpfj5mGNlhL+fSdjJqUAnwuk9fTefoCjNAOg/doKuHFirXOQqHH3mlk1XAk2EOF08ZDi3+VCzU8T1DGZDURoguKKAtxdWmBSbEReJw== 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=wNwfnenGsO46uWioPEasS2RfIRG0V894CZ2YaTDU8TU=; b=HFxCbyBwF+NkMoZkQ2NvdBnjhF0Y/ad9kdLGvTIoBeAbnAj6PsqRmI+LTPXH/RBNdANCSK0X1wUoXIHoqTD7vBfTFlMq+UsfobsFtps7bLBRm/SVHgSh20X8WtTVI0li0Bf/E+1amfUFfJgE68QKLI3T5w9x8ay6N/F3xzItIwPLlQRJPpW/To1Wfk2YDLCkWqShg/t4VIm8oq/PkRqBn2IYnd09eFoylb+48rIX7HNSOjlmPHLAu88TBCss3rEdzSeACD/pSSF6MpQINnDsN2Hq3fJrbvaYtKrkh4vXQiW8SjagNY0uySjHQGRucWBx4Et6VvtRsReVKjk8Xc7HhQ== 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 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=wNwfnenGsO46uWioPEasS2RfIRG0V894CZ2YaTDU8TU=; b=VBqNaUrTuaKNnfcUyTbCWdE+88s21aV/NmJwbxXVJcDUVHn5cQ1xk96FbJri8pDEEBDo9rQ9BumXlP/SQqc1HLuohYzhm6pnv8CV84R1fGMZhC+ubSxvyG1bcUoVwEOwghoilT01lEUOfxfiwtzEnhgiKmRyr9Gx2AtgKa8Equ0= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:26 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:26 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 06/35] drm: rcar-du: lvds: Don't set drm_bridge->driver_private Thread-Topic: [PATCH v3 06/35] drm: rcar-du: lvds: Don't set drm_bridge->driver_private Thread-Index: AQHVuoBjrtytYs2ApUGJ8PcgRsSw4g== Date: Tue, 24 Dec 2019 17:34:25 +0000 Message-ID: <20191224173408.25624-7-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: cb2f7c81-d2da-4a19-0832-08d788978a29 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VI1PR08MB4366: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: F99dQzWikPK+PSU9/67ADWTyytTTkRNRd029NEBK7wrGRxaiFk1T7pSWh2hyxbcgaPvtR/Yc1tT5TouD0LIIitebe+HawPMOv+XHiLFE5+45mVhQ0fdReyQdjfPmS89OQMZheXq7J8Y+K3o7u2SvwucZ2rBSy7KK9zGkWnZ/icrm4qN4kNTlM9vTbsuBIWYUmEttBrinq7X1hPAvbVd8m63R26kNZZZj+wm9c1o/4id9lgY1HeLMglWbvqLuv0sTbo88MMpo0ymQNn4YpOUcMrldfVYI3Po1Si99ugsRgQ32KsH+WOXkTDiT7m7XRNcIMXtGY9y0ztFfpMONpAg5vJ6y4cuXpGZUIklslzQ81oqKsgVQTgtBjFkqrYghatf0vzMvmeAziQOBmoqThSVsLfC0m0Dy961W65/BU0tqq6LN5yK7uq3hs0sfWyKE/8pK MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 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)(39860400002)(376002)(396003)(346002)(136003)(199004)(189003)(5660300002)(2906002)(70206006)(4744005)(336012)(70586007)(26826003)(1076003)(316002)(8936002)(478600001)(6916009)(356004)(186003)(36756003)(81156014)(4326008)(54906003)(26005)(76130400001)(6506007)(6486002)(81166006)(86362001)(107886003)(8676002)(6512007)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4366; 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: 1c0ae6b4-7e81-469a-5404-08d78897856e NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TasVUngKt4cQAy5krAZQAHeCffNONN1iWOo6rrEZR7WTnzx3i4K8Ovdnltdn3OAI1E+Kn9BdJlOojaZLi02SMe+IEkFOQbMBXlkS1H+4Ao+3bzqG1eKnmWaXb0f5HOzMigz41hpRFC2KjycnNAjzS54AZ5usKkkcPCV72Dne6ZKOhhKuShmnHI63OV7s3iOnwC2ykxwpZWwBCHWCeBF3uLT6xTHktHwGaPpd2HPxX64Cx1k52489TsiAIOsljIe8IwafKrokgdLajNGAZ2mJrkCpPz29GJFlOhkPXBzwdVJkRZSznwjzveC6ORXGhRH8CSIb5nDdkqmfRLuoisV4yAfBNZoUDr+WQ6q+3ACpNS0dmg3hGOqr1AV1CddyVujFqa2MJwjsZH0jlZHt9a/H9398nFmnkmKa2/nSjQiuEoX4HTbY7EJPgySxczmPux1w X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:33.4637 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb2f7c81-d2da-4a19-0832-08d788978a29 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: VI1PR08MB4366 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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" It's unused. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 83538125a722..1d6dfae8a200 100644 --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c @@ -882,7 +882,6 @@ 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; From patchwork Tue Dec 24 17:34:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310081 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 A15621395 for ; Wed, 25 Dec 2019 10:19:48 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E9E12073B for ; Wed, 25 Dec 2019 10:19:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="mYIFAD2e"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="mYIFAD2e" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7E9E12073B 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 19A1E89F3C; Wed, 25 Dec 2019 10:19:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40078.outbound.protection.outlook.com [40.107.4.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4F0A389E52 for ; Tue, 24 Dec 2019 17:34:36 +0000 (UTC) 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=J+BjJ4oleP0F+g2uQH0sdo3cOlucbZnmXGMSAGPWTnU=; b=mYIFAD2e4WsuPFDY8d0DrKROsqf/Cj7Ya3ZlSrd0XT2aN8OZwrOg5I4Wlm2sx9edfPObmmINFVz0jyrR7hw8LOIZUp6ZJqLHD/LTbgJkWkrCtXX3Od2aCU1Pk/uvW3zVVF5LCF1qbxvXDpQCuhyNp+0VkHnqYTQmyp2RcSPjNHo= Received: from VI1PR08CA0224.eurprd08.prod.outlook.com (2603:10a6:802:15::33) by VE1PR08MB4782.eurprd08.prod.outlook.com (2603:10a6:802:ae::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.19; Tue, 24 Dec 2019 17:34:34 +0000 Received: from DB5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR08CA0224.outlook.office365.com (2603:10a6:802:15::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:34 +0000 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; 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 DB5EUR03FT020.mail.protection.outlook.com (10.152.20.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:34 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5375a5759b2747d4 X-CR-MTA-TID: 64aa7808 Received: from 3bb695b41535.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 19930B0A-9112-4056-9E8A-1A6F24B07B9F.1; Tue, 24 Dec 2019 17:34:28 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3bb695b41535.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UioaxFNnxh4vuSBOcxbYfGOQTW+sUs9SF3qjegxf9xQJGm99HuramR5/EiHsU7Fdc2pwcZYQXCDEHWOsC1n3pTh0eqpWmmUFMq0H+gOpoFy8Fz1a/4g1VM/UgF6YD3eLtBEXY3F8Ld5zMqsWSWQZZ0UqETb8EZc1Rox9nMP8dMbLASplxOT/vZCDySMtAlu2zWwY/ZMU96hY64mdhVZP2BKcltYaiOAajB8HaYg3g5q5B2O4IUJu5nRCwmS7mc/a1/oTltskC2B9ZHIBD4in124NjaLFBDZEtzwna8s94Wlgv6GoO4yMQhTjwxJPS7JMf1+0dcrV960gIXRyEyZ+hw== 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=J+BjJ4oleP0F+g2uQH0sdo3cOlucbZnmXGMSAGPWTnU=; b=GoZHQei+V5yncd2bKKZZ34asLtOLDbIjxuCctIeWdt8TZVhxgXCt015Z9D4a8yGT8MVlG4V8Y/Q/Jl+p06cyBrlDoU4QQRIM0oxiKuOAWnfY+nkl60HCCh9U73n7Z0VTf2EdTD7Pm3BIDwtHYFeHXD5zzAEEr1KMrwUhOWakQ5QcbOi3+FfLDRzYDrg4efnVZbxAJRHMOorbH4h/5JFMcn78QPeig/z7FVQ2uJ+T4JzZ1frUwAsXjkf/ahpN7oiryobwMwHYaE85G5Y5XQG6Frpe4WXd80Et2jhZJBPQw65OnoOKJEkL+Sdr/Doj3PhDpYxeTJixxCLo4f+jm0/yfg== 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 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=J+BjJ4oleP0F+g2uQH0sdo3cOlucbZnmXGMSAGPWTnU=; b=mYIFAD2e4WsuPFDY8d0DrKROsqf/Cj7Ya3ZlSrd0XT2aN8OZwrOg5I4Wlm2sx9edfPObmmINFVz0jyrR7hw8LOIZUp6ZJqLHD/LTbgJkWkrCtXX3Od2aCU1Pk/uvW3zVVF5LCF1qbxvXDpQCuhyNp+0VkHnqYTQmyp2RcSPjNHo= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:27 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:27 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 07/35] drm/sti: Stop using drm_bridge->driver_private Thread-Topic: [PATCH v3 07/35] drm/sti: Stop using drm_bridge->driver_private Thread-Index: AQHVuoBjsi6tg1ZBDEOAw9KpCAgOVA== Date: Tue, 24 Dec 2019 17:34:26 +0000 Message-ID: <20191224173408.25624-8-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: cac78d41-06db-4d7e-e074-08d788978a88 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VE1PR08MB4782: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:3968;OLM:3968; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 6ICbo7rSN+pfeClD8ZLLWS58j6MHR3aXKPPSgyof4Z6QYs90B8jihqpGht9srtqZe0TnZfsKRW9pOd4r3eEIuk41Gayao/HI1LmOqQBMXxgmp4DGExUi2QiAQ/gOEccRKVsP0mIXY9uyf8ppaB36GmYspjVffUZi9D0EYDJMvy5PGSQ4XbyZm0bTZvFymydzAVPS4Z0xcJ0EIfUExYH30fRApwtcBJCE6B74qUBEuxhTogvm0rDFSmKV1uEgiS8nhKpHoYPotZam4T1NmpWgMY75qvR6gv/95iVHgzs/BcIRnJ/PEnT4vvfvfCCxkH6f0L4Xv3QnmOLMv5E86WXjkyVaglkE9+dKNTah9VaO4lQi6WzV3nklmUjwpCtm5VDg/ZP5xKctHFlNJSlCkQ6qabVA102Mf0khddh3jnN7TRJiA2NEc1XetbI3qwsNzhlY MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT020.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)(346002)(396003)(376002)(189003)(199004)(26826003)(6916009)(2616005)(70586007)(478600001)(86362001)(5660300002)(6486002)(1076003)(70206006)(76130400001)(2906002)(336012)(6506007)(4326008)(81166006)(81156014)(54906003)(186003)(26005)(107886003)(356004)(36756003)(8676002)(6512007)(8936002)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4782; 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: d0868ee4-142d-4d0c-e825-08d7889785e3 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AP0dxNaLP4PPgmgrxX+ngCpE5FtXEOY+BBgYhahsKtKM94dn3YunSkwFuB80Gnq11CioQdDYikwKUYphRKe/v89OOFXlzu9IagwIudDMCv4qKaJQjh3cPP9nNxAvpWW6l+Fy1AgRe0cG/epiyvzhqr8ZElLR67VLsSfcxV8ZEMEV92YaqTsvwY1J+RsqqV4i4HHGsY3ntm7Gol/9dzuX/3c8eoVAegfRBapynVAQtNYdJjnDmN4w03hNTpRiWi6mHz2/7uWUspe4P5WAIp6+ubsojTmYYaTy2QR7vAszXHdmi/qWtBkFtn/8CM9coIZL1Apj9EMC8VCPzb9isxPP6whiJcga9oIlH2ZYb+giFRdCBlq1XTLlq+kBiU++wiVtNJYfDRLMT4AJL6SXJwH4b3ak7IvQQ/jgERS721K7X5i/9vbYPVXRqNHZUmYS70CI X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:34.1359 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cac78d41-06db-4d7e-e074-08d788978a88 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: VE1PR08MB4782 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , nd , Vincent Abriou Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Instead, embed the drm_bridge structure in the originally-pointed-to struct and use a container_of wrapper to access it. Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/sti/sti_dvo.c | 20 ++++++++------------ drivers/gpu/drm/sti/sti_hda.c | 17 ++++++++--------- drivers/gpu/drm/sti/sti_hdmi.c | 13 ++++--------- drivers/gpu/drm/sti/sti_hdmi.h | 5 +++++ 4 files changed, 25 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index df2ee86cd4c1..194491231de2 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/drivers/gpu/drm/sti/sti_dvo.c @@ -96,9 +96,11 @@ struct sti_dvo { struct dvo_config *config; bool enabled; struct drm_encoder *encoder; - struct drm_bridge *bridge; + struct drm_bridge bridge; }; +#define bridge_to_sti_dvo(b) container_of((b), struct sti_dvo, bridge) + struct sti_dvo_connector { struct drm_connector drm_connector; struct drm_encoder *encoder; @@ -210,7 +212,7 @@ static int dvo_debugfs_init(struct sti_dvo *dvo, struct drm_minor *minor) static void sti_dvo_disable(struct drm_bridge *bridge) { - struct sti_dvo *dvo = bridge->driver_private; + struct sti_dvo *dvo = bridge_to_sti_dvo(bridge); if (!dvo->enabled) return; @@ -233,7 +235,7 @@ static void sti_dvo_disable(struct drm_bridge *bridge) static void sti_dvo_pre_enable(struct drm_bridge *bridge) { - struct sti_dvo *dvo = bridge->driver_private; + struct sti_dvo *dvo = bridge_to_sti_dvo(bridge); struct dvo_config *config = dvo->config; u32 val; @@ -280,7 +282,7 @@ static void sti_dvo_set_mode(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct sti_dvo *dvo = bridge->driver_private; + struct sti_dvo *dvo = bridge_to_sti_dvo(bridge); struct sti_mixer *mixer = to_sti_mixer(dvo->encoder->crtc); int rate = mode->clock * 1000; struct clk *clkp; @@ -438,11 +440,11 @@ static struct drm_encoder *sti_dvo_find_encoder(struct drm_device *dev) static int sti_dvo_bind(struct device *dev, struct device *master, void *data) { struct sti_dvo *dvo = dev_get_drvdata(dev); + struct drm_bridge *bridge = &dvo->bridge; struct drm_device *drm_dev = data; struct drm_encoder *encoder; struct sti_dvo_connector *connector; struct drm_connector *drm_connector; - struct drm_bridge *bridge; int err; /* Set the drm device handle */ @@ -458,11 +460,6 @@ static int sti_dvo_bind(struct device *dev, struct device *master, void *data) connector->dvo = dvo; - bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); - if (!bridge) - return -ENOMEM; - - bridge->driver_private = dvo; bridge->funcs = &sti_dvo_bridge_funcs; bridge->of_node = dvo->dev.of_node; drm_bridge_add(bridge); @@ -473,7 +470,6 @@ static int sti_dvo_bind(struct device *dev, struct device *master, void *data) return err; } - dvo->bridge = bridge; connector->encoder = encoder; dvo->encoder = encoder; @@ -504,7 +500,7 @@ static void sti_dvo_unbind(struct device *dev, { struct sti_dvo *dvo = dev_get_drvdata(dev); - drm_bridge_remove(dvo->bridge); + drm_bridge_remove(&dvo->bridge); } static const struct component_ops sti_dvo_ops = { diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 8f7bf33815fd..d5b569ce93d0 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -236,6 +236,7 @@ static const struct sti_hda_video_config hda_supported_modes[] = { * * @dev: driver device * @drm_dev: pointer to drm device + * @bridge: drm bridge for encoder->connector link * @mode: current display mode selected * @regs: HD analog register * @video_dacs_ctrl: video DACS control register @@ -244,6 +245,7 @@ static const struct sti_hda_video_config hda_supported_modes[] = { struct sti_hda { struct device dev; struct drm_device *drm_dev; + struct drm_bridge bridge; struct drm_display_mode mode; void __iomem *regs; void __iomem *video_dacs_ctrl; @@ -252,6 +254,8 @@ struct sti_hda { bool enabled; }; +#define bridge_to_sti_hda(b) container_of((b), struct sti_hda, bridge) + struct sti_hda_connector { struct drm_connector drm_connector; struct drm_encoder *encoder; @@ -400,7 +404,7 @@ static void sti_hda_configure_awg(struct sti_hda *hda, u32 *awg_instr, int nb) static void sti_hda_disable(struct drm_bridge *bridge) { - struct sti_hda *hda = bridge->driver_private; + struct sti_hda *hda = bridge_to_sti_hda(bridge); u32 val; if (!hda->enabled) @@ -425,7 +429,7 @@ static void sti_hda_disable(struct drm_bridge *bridge) static void sti_hda_pre_enable(struct drm_bridge *bridge) { - struct sti_hda *hda = bridge->driver_private; + struct sti_hda *hda = bridge_to_sti_hda(bridge); u32 val, i, mode_idx; u32 src_filter_y, src_filter_c; u32 *coef_y, *coef_c; @@ -516,7 +520,7 @@ static void sti_hda_set_mode(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct sti_hda *hda = bridge->driver_private; + struct sti_hda *hda = bridge_to_sti_hda(bridge); u32 mode_idx; int hddac_rate; int ret; @@ -676,10 +680,10 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data) { struct sti_hda *hda = dev_get_drvdata(dev); struct drm_device *drm_dev = data; + struct drm_bridge *bridge = &hda->bridge; struct drm_encoder *encoder; struct sti_hda_connector *connector; struct drm_connector *drm_connector; - struct drm_bridge *bridge; int err; /* Set the drm device handle */ @@ -695,11 +699,6 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data) connector->hda = hda; - bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); - if (!bridge) - return -ENOMEM; - - bridge->driver_private = hda; bridge->funcs = &sti_hda_bridge_funcs; drm_bridge_attach(encoder, bridge, NULL); diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index 814560ead4e1..7a7b0ce7bb14 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -741,7 +741,7 @@ static int hdmi_debugfs_init(struct sti_hdmi *hdmi, struct drm_minor *minor) static void sti_hdmi_disable(struct drm_bridge *bridge) { - struct sti_hdmi *hdmi = bridge->driver_private; + struct sti_hdmi *hdmi = bridge_to_sti_hdmi(bridge); u32 val = hdmi_read(hdmi, HDMI_CFG); @@ -873,7 +873,7 @@ static int hdmi_audio_configure(struct sti_hdmi *hdmi) static void sti_hdmi_pre_enable(struct drm_bridge *bridge) { - struct sti_hdmi *hdmi = bridge->driver_private; + struct sti_hdmi *hdmi = bridge_to_sti_hdmi(bridge); DRM_DEBUG_DRIVER("\n"); @@ -928,7 +928,7 @@ static void sti_hdmi_set_mode(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct sti_hdmi *hdmi = bridge->driver_private; + struct sti_hdmi *hdmi = bridge_to_sti_hdmi(bridge); int ret; DRM_DEBUG_DRIVER("\n"); @@ -1255,11 +1255,11 @@ static int sti_hdmi_bind(struct device *dev, struct device *master, void *data) { struct sti_hdmi *hdmi = dev_get_drvdata(dev); struct drm_device *drm_dev = data; + struct drm_bridge *bridge = &hdmi->bridge; struct drm_encoder *encoder; struct sti_hdmi_connector *connector; struct cec_connector_info conn_info; struct drm_connector *drm_connector; - struct drm_bridge *bridge; int err; /* Set the drm device handle */ @@ -1275,11 +1275,6 @@ static int sti_hdmi_bind(struct device *dev, struct device *master, void *data) connector->hdmi = hdmi; - bridge = devm_kzalloc(dev, sizeof(*bridge), GFP_KERNEL); - if (!bridge) - return -EINVAL; - - bridge->driver_private = hdmi; bridge->funcs = &sti_hdmi_bridge_funcs; drm_bridge_attach(encoder, bridge, NULL); diff --git a/drivers/gpu/drm/sti/sti_hdmi.h b/drivers/gpu/drm/sti/sti_hdmi.h index 1f6dc90b5d83..4e33cbd7cbca 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.h +++ b/drivers/gpu/drm/sti/sti_hdmi.h @@ -12,6 +12,7 @@ #include +#include #include #include @@ -46,6 +47,7 @@ static const struct drm_prop_enum_list colorspace_mode_names[] = { * * @dev: driver device * @drm_dev: pointer to drm device + * @bridge: drm bridge for encoder->connector link * @mode: current display mode selected * @regs: hdmi register * @syscfg: syscfg register for pll rejection configuration @@ -72,6 +74,7 @@ static const struct drm_prop_enum_list colorspace_mode_names[] = { struct sti_hdmi { struct device dev; struct drm_device *drm_dev; + struct drm_bridge bridge; struct drm_display_mode mode; void __iomem *regs; void __iomem *syscfg; @@ -96,6 +99,8 @@ struct sti_hdmi { struct cec_notifier *notifier; }; +#define bridge_to_sti_hdmi(b) container_of((b), struct sti_hdmi, bridge) + u32 hdmi_read(struct sti_hdmi *hdmi, int offset); void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset); From patchwork Tue Dec 24 17:34:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310121 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 EB9266C1 for ; Wed, 25 Dec 2019 10:20: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 C87FA2075B for ; Wed, 25 Dec 2019 10:20:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="4JWDNwbN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="4JWDNwbN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C87FA2075B 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 742636E08E; Wed, 25 Dec 2019 10:20:29 +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-eopbgr130044.outbound.protection.outlook.com [40.107.13.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9C4B86E358 for ; Tue, 24 Dec 2019 17:34:42 +0000 (UTC) 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=cSDvBOZ3alE2evKaNIymyI/voICFfduJ2i2E7yDy8gA=; b=4JWDNwbNugC314EJbSe6rNva5Ds7K5LDHFdOk1o7CW+lZKWSvct/fnBGs1M6GcOwBrOhVv7+4Sba1foim9LLgkPGGYSkFoqUa+gdlM6+X3TY/6jB8AilmTApaXFN12KZXHWuNGjXRd+fVJq/8BypHuD6+16vgOzCbeSwnL+QHl4= Received: from VI1PR08CA0165.eurprd08.prod.outlook.com (2603:10a6:800:d1::19) by DB6PR08MB2805.eurprd08.prod.outlook.com (2603:10a6:6:20::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:35 +0000 Received: from DB5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) by VI1PR08CA0165.outlook.office365.com (2603:10a6:800:d1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:35 +0000 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; 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 DB5EUR03FT054.mail.protection.outlook.com (10.152.20.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:35 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:34:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f6da4f48f9d6bff1 X-CR-MTA-TID: 64aa7808 Received: from 3bb695b41535.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F6238562-0C3B-437C-9E06-3B289AF07FED.1; Tue, 24 Dec 2019 17:34:29 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 3bb695b41535.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WwGEDvisY5rtr6yRja3+0onKQx5C6NLO+xWBRloanV7sYgM5qTm7rOn3fxDo8w8fIV2LCnCKC9UtuBZH55+Y01aLRXuFnJb5qa/xmanI9zUxwCiGNamJe33gahsf4RIYO15tT7napwElPptQvC4X3TFhocqzE8I/ZFli7ofQ7IO8nywnYFVfd88D6ytTliW6Kh7tYFqkN/NYMfy8k4bjn5gat3GLuO8B2jfgCTCGUOP1A5Gc5BddJF6N22xt/9/zcFK7kWDfXmvZKhEZ4CDhQt/b9jMEoaOcKzSJoOzCC4hMkAUdPszw+lIsshtjc0U3rIOr+ma6j0Gsw+AgSN/tAQ== 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=cSDvBOZ3alE2evKaNIymyI/voICFfduJ2i2E7yDy8gA=; b=aMIwK0Abt0L/vdI6ADaK5WX/yFoUmdU0MQ7DshS70ihBcLmqOB8htQzSf73Dgsc1PslKdIVI6hDfQPnkmY92qbNzq4xgpfLj65bjzxttSu8Asdn//gjxiLS7zKNllR8bmWsqUd+01TeyCSvvutlJFkjc7/N74lGQyULJ0SPh8ttaZinZ7Z3/vOvZUwVzVk7junI6zmbnpOjyvFmK0+GvlcpkuWa2jlwnCMR0SjleSR52NFqdwcJm7X1wB/oHY8R5uYZLJwjVt5wN7Eyv/ywULkZEV/fOfrtL+gKJmb5jJNql1Rc4Fuzb9V/ibLe3pWW8O03M2Pv865lIA4JkqTgQBA== 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 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=cSDvBOZ3alE2evKaNIymyI/voICFfduJ2i2E7yDy8gA=; b=4JWDNwbNugC314EJbSe6rNva5Ds7K5LDHFdOk1o7CW+lZKWSvct/fnBGs1M6GcOwBrOhVv7+4Sba1foim9LLgkPGGYSkFoqUa+gdlM6+X3TY/6jB8AilmTApaXFN12KZXHWuNGjXRd+fVJq/8BypHuD6+16vgOzCbeSwnL+QHl4= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:28 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:28 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 08/35] drm/bridge: Drop driver_private from struct drm_bridge Thread-Topic: [PATCH v3 08/35] drm/bridge: Drop driver_private from struct drm_bridge Thread-Index: AQHVuoBk+QcG1vdB702CoP8zCZJWpw== Date: Tue, 24 Dec 2019 17:34:27 +0000 Message-ID: <20191224173408.25624-9-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 5053616d-de8c-48c6-12f1-08d788978b11 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|DB6PR08MB2805: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:1303;OLM:1303; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: gZXwvNI/YD84Xu9N21Kyldd5xsw3rntRy/yPOzrz49/O9zZWDrCTWzKXC3z4CpG4FitmKHXLZiW4ItCwJb03sn1J0etErcPOh88s36n4/tT4NCYC3guIpviPGA4qNItlEM6S7G5izhdOLwAr/wtl09zTSxS2vu8DbM35CGyqzFLEgpsjwhvq47YypFi4OZYXfkXZ9/dnAhN15wDWGLWRMsg1yh82oO0CdbQxRx4dcWgFMeo2elWtugxXodJxryxOZmi2Q6/bDbGgnB3M21ugnxtEVKRcgIh2DT0gJUnQHkOHLwu0juNm2voLhuxPG4AoUpeOml5Ro1/9q7jCR8dtGrS6Ntd2v3bVp/GGTRyepBXzjJkrIg/9Z6UAq6SfntinWkRybGjMlt37JnMRs66cqTlk6s6WHANk7I6PORhQBYojmscRERvCv4upkVouJAeQ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT054.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)(136003)(376002)(39860400002)(199004)(189003)(70206006)(186003)(70586007)(107886003)(26005)(2616005)(4326008)(2906002)(81156014)(81166006)(36756003)(478600001)(76130400001)(86362001)(336012)(6512007)(6506007)(6486002)(54906003)(1076003)(26826003)(8936002)(8676002)(5660300002)(356004)(316002)(4744005)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR08MB2805; 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: da99b08b-483b-4ab0-c7bf-08d788978640 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1hEf0pXBDSTmZA0yjsLQSMUAM5OOqaYPnCWAb0CWut3nJqQFp3ZCnWz83F2NiWZZW5TQmdo89effQudTHyR1j88Q2ItkRMMAngGdSDd5qkxJcBIV5StR+Kyt1dDXCcJkTNYPuK0qzz9TU9SYlqA3qm7j4T4qRhtqmDMbwBhSbSHJD+Z2Ss1ce4GSH00YSDbO50PBtj3aBwz1+dU7aTy+C5qtxUj9aw9WvEnfQ4WyrPlTJXLO78Ug6B3oaJI2H3KjFF4vlSpDJQnkMuAXUha7Bq7T1PqRuyvvsUsAz3Gq/3TO9hQfTKC85jcWl86Fclfj2au3hFxG7tJbPpshRB4g5FMEkgrfdEJl5Ilnn32qfJ9OwwOHzuvO3IKcH7NNY/tIn9c/3ldQ/DTuRnW5o8iFiVYB/+zXidfWxlR5MlQTcmM7hfOLT759Q8Wmn2SmUxYh X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:35.0275 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5053616d-de8c-48c6-12f1-08d788978b11 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: DB6PR08MB2805 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It's no longer used, all drivers have been converted to an embedded drm_bridge struct. Signed-off-by: Mihail Atanassov --- include/drm/drm_bridge.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 695d0898df38..ee175a2f95e6 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -398,8 +398,6 @@ struct drm_bridge { const struct drm_bridge_timings *timings; /** @funcs: control functions */ const struct drm_bridge_funcs *funcs; - /** @driver_private: pointer to the bridge driver's internal context */ - void *driver_private; }; void drm_bridge_add(struct drm_bridge *bridge); From patchwork Tue Dec 24 17:34:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310145 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 C8A626C1 for ; Wed, 25 Dec 2019 10:20: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 A5FE02075B for ; Wed, 25 Dec 2019 10:20:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="STXn+/pl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="STXn+/pl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5FE02075B 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 0FB996E211; Wed, 25 Dec 2019 10:20:30 +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-eopbgr150042.outbound.protection.outlook.com [40.107.15.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 98DEA89FD7 for ; Tue, 24 Dec 2019 17:34:38 +0000 (UTC) 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=ZMZ5ZAVYsnUfr4geYMTE6cLOip6KXPRJVQif8VdxATE=; b=STXn+/plckZ+d8m1SpxSJbNO4vAI3tZb5dDqMYbbJZ9wtheewScEb3je71CCMPscuX+obW9WExWdDbpZMoGgaYaAcqcUXvWOL6t3+UvlhZSHHE6/e5v9SoQEz252JCNavhsy+k3BsIZzVtlQY3/92FBLT4qX4KBZtJ4V5vZ+CJE= Received: from VI1PR0801CA0067.eurprd08.prod.outlook.com (2603:10a6:800:7d::11) by DB7PR08MB3305.eurprd08.prod.outlook.com (2603:10a6:5:1c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:36 +0000 Received: from VE1EUR03FT020.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::206) by VI1PR0801CA0067.outlook.office365.com (2603:10a6:800:7d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:35 +0000 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; 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 VE1EUR03FT020.mail.protection.outlook.com (10.152.18.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:35 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:34:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1d032c781cee466d X-CR-MTA-TID: 64aa7808 Received: from 588b9162f539.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8507C905-0511-4637-8B57-E3A3B8C7BB31.1; Tue, 24 Dec 2019 17:34:30 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 588b9162f539.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qu19ORQEbGPAGzKjXlVzuw3JQj9NhL4IKRfZPlAQh8WSWqHMDGUfjDQ9xVEgXShvMrLoHEBP10fpx2spF4CMhvrWqemiUlVcBcziSPAWjEcFt4yKadi0SCOe4nwxJc9aBu3kNm0TmTbf0i/ie5Q19AGvK3YXAnmuosBBmzgCgZwjh908lDY9yWsEPXZ+Toz19PjC3K9+8y/p8f66DkVbOogdoeYCqaSibvH0zQN9GwHBo1AdYT0/O/bMEOm9Ovmu5Tcbow5rrPNyAXOHg3piDYfBVIxw8xteHRLd8rwB8E5yexbqPdaVwbB/wJeuV4TcSIiGs88A9k5mD5FZj9hVEw== 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=ZMZ5ZAVYsnUfr4geYMTE6cLOip6KXPRJVQif8VdxATE=; b=fB/NM5WNNkAp11UQHpleUDGWyR/xLDMkgaIFm6lsZlomFFMiHuC8jljjSIgi/m4hxUwhQRCIpxc/9DQMD38Ekh602PccXHsyZY5UPQSOrW/8Sz1xbJK/zwhmFNOovjPexrFtcsUEhfvLhEjaUPl3uWFi5leYW/Iv7FJ0kEbhSCIMKmUiYDVsUvYjVHNLibKoCwULkLylGEcvygrc4NywEniU1MinwQlq5xgK69RTKHJJsEY+VyP3MZV7YdWYxE6qGN4mT2t/T4WWrGzqWHDxOceNhnjXgKWeXo0GTIN9FaxvdjdKaFC+PauPIyPA8rYwgjXL2+e9S8zzNyuyv285qw== 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 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=ZMZ5ZAVYsnUfr4geYMTE6cLOip6KXPRJVQif8VdxATE=; b=STXn+/plckZ+d8m1SpxSJbNO4vAI3tZb5dDqMYbbJZ9wtheewScEb3je71CCMPscuX+obW9WExWdDbpZMoGgaYaAcqcUXvWOL6t3+UvlhZSHHE6/e5v9SoQEz252JCNavhsy+k3BsIZzVtlQY3/92FBLT4qX4KBZtJ4V5vZ+CJE= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:28 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:28 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 09/35] drm: Introduce drm_bridge_init() Thread-Topic: [PATCH v3 09/35] drm: Introduce drm_bridge_init() Thread-Index: AQHVuoBk/kdoLcRc2kWafO/PUjf5nQ== Date: Tue, 24 Dec 2019 17:34:28 +0000 Message-ID: <20191224173408.25624-10-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 2a910a71-8da7-4cfe-05d4-08d788978b88 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|DB7PR08MB3305: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:513;OLM:513; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 3pUuxD/eaFpLIPQa5bNvaZXYZ0pxtwXbc57wYiWxRJ8YLWhSSgQ/pdpI9H1NbTMyx9P4UJEGslrxJSv2yK8SEjBk8E/OEV9GOHnc0buTfhEoFBQxUfONxq+UolRc7y8i0QEzxNEab4o75GB0RP9GfVmNj4Zkm32TIgJ+LrqRZTddxFkvfwhJLkSTZF/HeC1w3Na7hlPrj9yUKP9yMUG1i3m2LQ6YMbA9jHd0zSbAjjF4fLZpWiLWjOfhUAM4ssv1hEWxQWAfY5mTJXvcpDW46qi+Cy0m1oUArdj5PAuvltetEOHeYboj9jN4lLRtcl8g8g62OEVcYOmZtgOA8ccrOjVdhma9NjW9FTcR0jW9M6ItgjEalfihzYmCogsq1K2S03QFIwFp+u6XnRfrG5YwmE2S4o+beoK2a7QXzCaOsEuTUduTPN9ZRp0mPxUxaHs8 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT020.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)(396003)(39860400002)(189003)(199004)(81156014)(107886003)(8676002)(8936002)(356004)(70206006)(186003)(26005)(336012)(2616005)(478600001)(36756003)(4326008)(6506007)(81166006)(26826003)(2906002)(1076003)(6512007)(54906003)(70586007)(316002)(36906005)(6486002)(86362001)(5660300002)(6916009)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR08MB3305; 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: b9bc5126-9083-475c-7f3a-08d7889786ec NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jFW45IDMq8fpWmWjVTZyI5ZGTLOqH75Lu7O5TjUozDsV+8pT5gx98bLooGCBWFjCKIGnA6IlsQplr3AYfFiNcsAGIFmiy5fq0c3yylggvNBfWMiXdBRve4fbPcbJx8AvdzfM7RI+b9y3NonHvZc54DGMfDMwDk0OE+JeQzius6sdA+3DWIeyO8VSsDM0HGitZsccJOTT2fGc0Qq8PprGzyfFXySnppeOSclUwtMEKDJqY6Xsah/cqw6BFQ/rF4OLMgR3LOxwWTJ7PZ7eVPkJ0PK9lQuOq5swNZBMn00yvG0DJTMSVglNNnnsFRzUb/ptR5XYJlTkp1CS4rZ1SI/sba6+eRIFMWNd3iWVpFVreBHRQ8uDgQ9zkKrrXYGRbr9Jb42QHeLiR9iYMwaYgb1GdvtnGgG5frNRJYDj9mNiCQ6FwR1jeEZ1PCIX3eLITlyo X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:35.7530 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a910a71-8da7-4cfe-05d4-08d788978b88 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: DB7PR08MB3305 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Daniel Vetter , "linux-kernel@vger.kernel.org" , Laurent Pinchart , 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. v3: - drop driver_private parameter (Laurent) - spelling & style updates to docs (Laurent) - don't set drm_bridge->dev (field removed) 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 Reviewed-by: Daniel Vetter Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/drm_bridge.c | 30 ++++++++++++++++++++++++++++++ include/drm/drm_bridge.h | 12 ++++++++++++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c index 258094169706..d6b64e9aec7c 100644 --- a/drivers/gpu/drm/drm_bridge.c +++ b/drivers/gpu/drm/drm_bridge.c @@ -67,6 +67,11 @@ static LIST_HEAD(bridge_list); * drm_bridge_add - add the given bridge to the global bridge list * * @bridge: bridge control structure + * + * Drivers shall call drm_bridge_init() prior to adding the bridge to the list. + * Before deleting a bridge (usually when the driver is unbound from the + * device), drivers shall call drm_bridge_remove() to remove it from the global + * list. */ void drm_bridge_add(struct drm_bridge *bridge) { @@ -89,6 +94,31 @@ void drm_bridge_remove(struct drm_bridge *bridge) } EXPORT_SYMBOL(drm_bridge_remove); +/** + * drm_bridge_init - initialize a drm_bridge structure + * + * @bridge: bridge control structure + * @dev: device associated with this drm_bridge + * @funcs: control functions + * @timings: timing specification for the bridge; optional (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) +{ + WARN_ON(!funcs || !dev); + + bridge->encoder = NULL; + INIT_LIST_HEAD(&bridge->chain_node); + +#ifdef CONFIG_OF + bridge->of_node = dev->of_node; +#endif + bridge->timings = timings; + bridge->funcs = funcs; +} +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 ee175a2f95e6..955d9bd13805 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -378,6 +378,15 @@ struct drm_bridge_timings { /** * struct drm_bridge - central DRM bridge control structure + * + * Bridge drivers shall call drm_bridge_init() to initialize a drm_bridge + * structure, 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 { /** @encoder: encoder to which this bridge is connected */ @@ -402,6 +411,9 @@ 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); struct drm_bridge *of_drm_find_bridge(struct device_node *np); int drm_bridge_attach(struct drm_encoder *encoder, struct drm_bridge *bridge, struct drm_bridge *previous); From patchwork Tue Dec 24 17:34:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310101 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 5ED651395 for ; Wed, 25 Dec 2019 10:20:15 +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 3C8CB2075B for ; Wed, 25 Dec 2019 10:20:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="baahbcBL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="baahbcBL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C8CB2075B 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 BBE3089CF5; Wed, 25 Dec 2019 10:20:08 +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-eopbgr80073.outbound.protection.outlook.com [40.107.8.73]) by gabe.freedesktop.org (Postfix) with ESMTPS id 630D589FD7 for ; Tue, 24 Dec 2019 17:34:39 +0000 (UTC) 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=h9ls/aoOTQc/7MCW/HA8um4kag8X2AYI+VRD6FJMDQ8=; b=baahbcBL2cPpPIwD5vfa3GKry+0ufILeUK9hbzwobGsB5V5wJRU6heGlc+Nj+o5EbDK7A3PgT8juv5TgjwdP7vDeCjXlxlbzb8UUvC3AQCHOVbTV9s4HPNefTSVmBdsiNXgN6rP/Q2EqPEElnHRt5K8+07gfbk2XVyAOW5Mjf24= Received: from VI1PR08CA0095.eurprd08.prod.outlook.com (2603:10a6:800:d3::21) by AM5PR0802MB2547.eurprd08.prod.outlook.com (2603:10a6:203:a0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:37 +0000 Received: from VE1EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::205) by VI1PR08CA0095.outlook.office365.com (2603:10a6:800:d3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:37 +0000 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; 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.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:36 +0000 Received: ("Tessian outbound 4f3bc9719026:v40"); Tue, 24 Dec 2019 17:34:36 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4f94b2c4191e1048 X-CR-MTA-TID: 64aa7808 Received: from bce15b33d58b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 14734123-E42D-43C8-AB4F-C8604D2EFADA.1; Tue, 24 Dec 2019 17:34:31 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bce15b33d58b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RYGgJjnaThC5x1e4xrs50VzaKO92aAWI/+FLaARuK23V68Kkc5Upl5oeSlItpqA5/CGUojJ984ieb4DoIooJJWJzuYVhN/N3VkBpN/SQR+gEB7FqQLi04gZDyi71VmBVs4s7FzYvFXqMiqFSF2LQWPyGKaD8b3GxxyjwTU+G+T6hV/ETM7oktVFTWRiuhS1uLwVpdI+rsj8yzrZAE2/ZHU+T9B1ByA0k+j78E1DzEVxSGoszuwz3/nH5zCRraHKikr6YiaI9plvsb1RwFtY7Hktt5hmL3synxWrELYmGq7ZCEy8HR478njo0Y0Fu/wpJ+mAh3WxZjAIy3fS42NZHfQ== 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=h9ls/aoOTQc/7MCW/HA8um4kag8X2AYI+VRD6FJMDQ8=; b=bsRaNTDUofCQR2azxiRq0PJwUtVy2ciexmxo0dnlnSBQfX8P0hKUQxz1i9NTlCsmXkeLxDYqmjqx5NLwRJKoKmlUwQ0rnxeTYluy/ymluMdsahyqH5sxAz8WlnxwaL7UWM6CFvjQYU/a9NGQs1x08i4l5OL2QlEme1GMgpn08M9BwP+FUHp3xZ2aEwiA+ZEc+dz0m5QxiflvJDrDs/1Hwzt7GIv6sZv8VvdjsQeo0XLDBF7lDhgcrHjK9T3mxNFlzuSRJZEXu36eL5uXI/U74lKfh5E1TVZzokvpMcQgsjmBMHmEMTIG/GIFy/TXfeMXi81Tk1ksqMg5TrGGHr4dKQ== 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 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=h9ls/aoOTQc/7MCW/HA8um4kag8X2AYI+VRD6FJMDQ8=; b=baahbcBL2cPpPIwD5vfa3GKry+0ufILeUK9hbzwobGsB5V5wJRU6heGlc+Nj+o5EbDK7A3PgT8juv5TgjwdP7vDeCjXlxlbzb8UUvC3AQCHOVbTV9s4HPNefTSVmBdsiNXgN6rP/Q2EqPEElnHRt5K8+07gfbk2XVyAOW5Mjf24= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:30 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:30 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 10/35] drm/bridge: adv7511: Use drm_bridge_init() Thread-Topic: [PATCH v3 10/35] drm/bridge: adv7511: Use drm_bridge_init() Thread-Index: AQHVuoBkMIOFtQciZEaSiVpU4Xi4LA== Date: Tue, 24 Dec 2019 17:34:29 +0000 Message-ID: <20191224173408.25624-11-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: b68423eb-8ae5-4278-a2d0-08d788978c4a X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|AM5PR0802MB2547: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: lJxQfiB6NUo0WJi8UFdhO7CwcIiqYthGwzeutXZa7MBo7fQDC8UuG6A9apT4GLLqzBtmeDhm+jXwfJPevTaltYJtHC8dqxQRcKoiuAWInJDriLG9mlcgUtw//zUIENLx9GQ5W+vGeuRx8Cq9Ylml0T6TviqyE/TmGGzKqfrqrS4D+ysajkbOXJknWuIiRqFbDLFrhzhghZLvaGfHHCtE8kMjRHtkW32pIxdn8UYyGEUmxp7qCTGWEIkpSKcXEWzozH42hW5grXo9GE0t2iAsdeRVxfX4KrEk5PzUtluU0yQIy/fuEIM/dSfYKkIOBiW+MhGUEE1+4GZSZHz5TxuKtDVwVzo0cPT7IQC2Tnv8hEZiP3++wm1IqoRDLSvclfJ8TB7T6/0b9yvOMmn5rixDoEsqAZNYOT+ZmrJYGrQeqN7IDzSLwy+U+VFz37XyD6vu MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 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)(376002)(346002)(136003)(39860400002)(189003)(199004)(26826003)(6506007)(36756003)(36906005)(2616005)(6486002)(186003)(107886003)(26005)(316002)(478600001)(4744005)(8936002)(54906003)(4326008)(8676002)(1076003)(70586007)(81156014)(81166006)(76130400001)(2906002)(6512007)(5660300002)(86362001)(6916009)(336012)(70206006)(356004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2547; 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: e20c03c1-2f25-48d0-920f-08d788978755 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nnSPOJxqevqPfWZQREIuDP989pavZwXSLLof7rNs4FsXAT1D/j0yEVZimdnK45xALouILp+SLxeVFr/o/QlbZa/bIEG1AJhI1g61wCjp4s1CzwxDcSC1dylDzFv3RMqhU9pJVWuSbfq6zuTl2Sl+IRzyoR8r42LeF44GLceXMGY1H07a2tixDrhh6sBIed/1Pjq39aBumBAz804rd8vESTkGgJgVCE31pfrS+4/yefjXWpz6AuA8rpLRxUqRtjFhJEZvsQUYY/6J6qUgKliI5EgrInWmOcq64gm0EYDL6sXRF00CeftF6O0bFFN4jYvMkTXAjc1AMwBBnJMH97UEf8Oh3tcHXejKgAoStQt9+1MMbUjO09Bg/v5oir84ovedUkr4hm/+MZ49hA84j+aqH8L1tb1I5/ntSIXOJznawr0rlt4z8cWDaOmIbVr/aDYa X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:36.9894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b68423eb-8ae5-4278-a2d0-08d788978c4a 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: AM5PR0802MB2547 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c index 009cf1fef8d4..14a393f1c957 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c @@ -1216,9 +1216,7 @@ 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); drm_bridge_add(&adv7511->bridge); adv7511_audio_init(dev, adv7511); From patchwork Tue Dec 24 17:34:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310091 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 D6DAC6C1 for ; Wed, 25 Dec 2019 10:19: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 B405A2073B for ; Wed, 25 Dec 2019 10:19:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="kytft3WL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="kytft3WL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B405A2073B 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 CDFB789FC5; Wed, 25 Dec 2019 10:19:22 +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-eopbgr50077.outbound.protection.outlook.com [40.107.5.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F0286E353 for ; Tue, 24 Dec 2019 17:34:41 +0000 (UTC) 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=k0jWwWLLMB0S5WuYpGadsNiUw9pXePSigM7IcaavYBY=; b=kytft3WLg3kRS8zKHOE09V65fFXdHkaVIfgBAsW49ZubyKHIP4JgRef5ydwPuPq28HBl5i03kwCBNM51z3XnUip5MvsKxhb3/A5IKwpnBcnu74x9pixcYNkcUjeyVdbflEz+0ikRDXUaLINgLY+uup03avQ6ePc+hC6JVRMuMqI= Received: from VI1PR08CA0159.eurprd08.prod.outlook.com (2603:10a6:800:d1::13) by VI1PR08MB4061.eurprd08.prod.outlook.com (2603:10a6:803:e7::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:34:38 +0000 Received: from VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::200) by VI1PR08CA0159.outlook.office365.com (2603:10a6:800:d1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:38 +0000 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; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT012.mail.protection.outlook.com (10.152.18.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:37 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 98e897c25d104c9a X-CR-MTA-TID: 64aa7808 Received: from bce15b33d58b.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 24AABA8E-B277-4B85-8C75-AA0E9CE6173D.1; Tue, 24 Dec 2019 17:34:32 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bce15b33d58b.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=We+cmYLhfn/nQh8VlXETG+ip0ZRcYprQg+3HR+zXeTDbjibY7uW0VeBSpkUy0tVVda+igrWLpsrROyjFQO2BCWZUtLSBZTJDEY9c+SbHBSc5GflEoEYo+YBzndWa4l6fnJi8vsjvYO93lTZD/4hp3ddjPRtPFcNgegUKWsy0sW4xuN7YFd3InbSfTPOVJbXKi95j8qaFMyYAnXY/TISQ6EzlureNl/AWtVeluO40INhsKWDKAuPVXFqyTPvAHwiaJ9DzsitO31tfI481bpecwOSOd9O5Z0Gj8Rko7HzcEwD7ZWJcxRUHE9oixKe1mqNYq9nR6eD8MYLGqkxcfGq0+Q== 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=k0jWwWLLMB0S5WuYpGadsNiUw9pXePSigM7IcaavYBY=; b=oEwK1agh7r401T9oR0i6SLdtYa5Dv38Tf9n9OeXIBbnig/65msw40yN8RK0jPXvD4e0XC3fQ7uY1UrXGpN1/ex0qYkORLi7Daxhm2TaQjPamfNV+yMepRr3YPwGBXu2iy+o979dstcQjyzMLA6mCrRDP2mdIL+IFakc/4qJpmrU+zYV2AWIRRzRSu1O+AxHdD1gGibK443f64WyKsaWtvR4P84bTObph9WimrFuItZNcpCZi9GujXCgdQrMDTMeQrvvJkwrUqabpTKyvB/pVEt6njLExjJ0wJOEFjnIS6y08vt08g8WPBboKbJ3oWf5Y/YdAjgilsqjzcOclhTPzng== 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 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=k0jWwWLLMB0S5WuYpGadsNiUw9pXePSigM7IcaavYBY=; b=kytft3WLg3kRS8zKHOE09V65fFXdHkaVIfgBAsW49ZubyKHIP4JgRef5ydwPuPq28HBl5i03kwCBNM51z3XnUip5MvsKxhb3/A5IKwpnBcnu74x9pixcYNkcUjeyVdbflEz+0ikRDXUaLINgLY+uup03avQ6ePc+hC6JVRMuMqI= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:30 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:30 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 11/35] drm/bridge/analogix: Use drm_bridge_init() Thread-Topic: [PATCH v3 11/35] drm/bridge/analogix: Use drm_bridge_init() Thread-Index: AQHVuoBlpOm1s13reUyMoPETVyW9PQ== Date: Tue, 24 Dec 2019 17:34:30 +0000 Message-ID: <20191224173408.25624-12-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 9622674e-c155-450c-ed29-08d788978cd8 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VI1PR08MB4061: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:3826;OLM:3826; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 670oSzKSuyj3Jef60y6ZI1pM2O7QWQaoVSDHAbqei9FeP7p6z5rsiaxy6Qtcl/lR/gDzY7XaO2F7DFsNjMd48f9VlN0tEYHTPyEvMkLW6NiUsD/h1OK4295C5uBXoPbjcC+yMlZ1HH8240aurjr6KPb5/enWPX024GY1PIhI97xmK0HWPzzJh7sNtxU/j1jDHYRkpZQSN+yk2wVAp7OjOKPSK3fXOa+JUEphBz715+mZ8taZgqQsT9bPlBQfwJC9VCvmAjBcuBy3wDM1Ep7NNDsF6BCFl4SNDqsXFTUsUs5r6MK9j0XjUsJZ7Nh6zFBfr8msLSuRUZ3R5lMwYEjnomB5LXas+jEO/1abJ3Au98vpI4qIpmq8p+ONJtTSZuSs8UMkttG+lyo3uZ8sChpyRN2RlIH9hZKHeEd9yUh3/UTT8iUD1LMHgxlw7+H0ulD0 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT012.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39860400002)(136003)(396003)(189003)(199004)(2616005)(6916009)(4326008)(70586007)(70206006)(6486002)(6512007)(26826003)(478600001)(36756003)(2906002)(36906005)(76130400001)(8936002)(336012)(107886003)(54906003)(86362001)(316002)(1076003)(356004)(81166006)(6506007)(81156014)(8676002)(5660300002)(186003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4061; 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: 3d4fb853-b5df-46d2-63eb-08d78897883b NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QP4lS8HejEiVZSeKJw/b904JisStp1aEbyJe3M1/VKUBaRq77OpwD4+R/RdCeddeGuQC3HzMh/xIzNm2zo/cFZVxIjFyV/pWDb74E+Bbnti2ooFlu4tN7/c3MC0IT496SPF/NYyjI8Uzbf8ojTJA+7e0WE7VIRa4iv8jMKhVVkgKv1qWhbkv91ucvXceQG8YNwbIGw825tdvjqxt3AO/K5oBbK+TLE53I1SLatlZQ8rWWwnxDECnQEhIvXA+vehBBzmvakqXg3Ryb1jx72Ci4LqHX2pVdPvT5nMRht7RDfElcd6go0y7FTyhw9ct5YYhFzGrmPchKcFUWX9MBBSipKTLBBaVViQp55FKMpctrxos1v8uiSeA1hgkrdTzaqmEEj/PmL/yvigPHVv+WbkFMLVJGcjqfOhjaCf9vLpzPczrgfxJkqVMCuJI+kUmPxmD X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:37.9559 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9622674e-c155-450c-ed29-08d788978cd8 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: VI1PR08MB4061 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. 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(). v3: - drop driver_private argument (Laurent) - pass correct struct device pointer to drm_bridge_init (Laurent) 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 | 8 ++++---- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c b/drivers/gpu/drm/bridge/analogix/analogix-anx6345.c index 5b806d23fcb3..62404b0f2fc1 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); 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 7463537950cb..e30df40ec512 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); 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 56ea3be27f2b..29693d48682e 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1571,13 +1571,13 @@ static const struct drm_bridge_funcs analogix_dp_bridge_funcs = { .attach = analogix_dp_bridge_attach, }; -static int analogix_dp_attach_bridge(struct drm_device *drm_dev, +static int analogix_dp_attach_bridge(struct device *dev, + struct drm_device *drm_dev, struct analogix_dp_device *dp) { int ret; - dp->bridge.funcs = &analogix_dp_bridge_funcs; - + drm_bridge_init(&dp->bridge, dev, &analogix_dp_bridge_funcs, NULL); ret = drm_bridge_attach(dp->encoder, &dp->bridge, NULL); if (ret) return -EINVAL; @@ -1745,7 +1745,7 @@ analogix_dp_bind(struct device *dev, struct drm_device *drm_dev, pm_runtime_enable(dev); - ret = analogix_dp_attach_bridge(drm_dev, dp); + ret = analogix_dp_attach_bridge(dev, drm_dev, dp); if (ret) { DRM_ERROR("failed to attach bridge (%d)\n", ret); goto err_disable_pm_runtime; From patchwork Tue Dec 24 17:34:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310113 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 814C96C1 for ; Wed, 25 Dec 2019 10:20: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 5A9CF2075B for ; Wed, 25 Dec 2019 10:20:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="4EmgPT0G"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="4EmgPT0G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A9CF2075B 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 BB15A89E8C; Wed, 25 Dec 2019 10:20:28 +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-eopbgr80071.outbound.protection.outlook.com [40.107.8.71]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6F0D46E353 for ; Tue, 24 Dec 2019 17:34:41 +0000 (UTC) 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=pBlGwLh9pKkOUqEM2641n+ym25NOlv35DCAiYqvltQI=; b=4EmgPT0G++Gvq2ROwttsAoxiWG5O6KaS5hAtMzX8Nro2ewUSY8LdJyOVfIEu52+itGKZCx2pOuwmTJqd3gtALumoBjT2vmpm5840nO3FETSlnfeWPvy/IMenP8IApdW3ti+HR8C60lMETqcy7TrQugAaRKNssEcRPqRFCR1BYlM= Received: from AM6PR08CA0045.eurprd08.prod.outlook.com (2603:10a6:20b:c0::33) by VI1PR08MB4368.eurprd08.prod.outlook.com (2603:10a6:803:fe::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:34:38 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by AM6PR08CA0045.outlook.office365.com (2603:10a6:20b:c0::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16 via Frontend Transport; Tue, 24 Dec 2019 17:34:38 +0000 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; 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 AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:38 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c42846624a921ba3 X-CR-MTA-TID: 64aa7808 Received: from bce15b33d58b.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 787EFA2E-6617-412A-A6F5-81D8DC82D241.1; Tue, 24 Dec 2019 17:34:32 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bce15b33d58b.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AxrBUvy856iZD5BUZQ3KVUjnSUA0wd/i1M84tw2X/wGpF3XSUMYc43PCHS/Di6pV84vvSdsC3fQmrWUT6YKiFz2Ul7Hh04TRAsGS/3+CZqYr2dj04OdYtamAFO10oMEcGqhFcANF6+JkzQT8JvfXIgH2/yf0KQbhlvRv576xvVeGIYQLLrKrWGyiNzcoPhxbIs3HLoQQ0/xlJfyooxVzFa+mpA7nKeajLIZxmkHSC3j8bkQOyHXb0s/90u/U742VLpEJgzUpNqwuKNdxgFPZZXJKGFued/9w0JwHYO71Dv6s15v9IKGhA7fikuiEPkd75k5ZAHcZvCG5sfdAiM+jmw== 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=pBlGwLh9pKkOUqEM2641n+ym25NOlv35DCAiYqvltQI=; b=nZTrtRoyM3ry6pNtbaJ0NB1Vf3sUhpVx50CmwlgaruJGZEqYg6DMNXGyLvqth8xSLaxIJhvOGYM2I0DzydWjio68uhCH1ZpzFLhZKblufEOqaHuUEkTlFk6NnXGe4KdsYHytJvzeDx2+kHNBdlhM3JhKnGlI9P1nmfZiYAjUyQr8FTyERffmPVdvx7j34VDdQg6TdzBlobcKoaFnDGGlVGRbID+ZpXhakLlTi/oDlekmhP05bVe2d2yZoJcngYz1gS3ht4nj+5KTSknJRolH+KNIMn+XFLsEu/1b5SLyyzjI4tJ33E4q+NYL1il3YSCzJ7Cvee4yPlN5OUF8/W7GRg== 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 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=pBlGwLh9pKkOUqEM2641n+ym25NOlv35DCAiYqvltQI=; b=4EmgPT0G++Gvq2ROwttsAoxiWG5O6KaS5hAtMzX8Nro2ewUSY8LdJyOVfIEu52+itGKZCx2pOuwmTJqd3gtALumoBjT2vmpm5840nO3FETSlnfeWPvy/IMenP8IApdW3ti+HR8C60lMETqcy7TrQugAaRKNssEcRPqRFCR1BYlM= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:31 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:31 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 12/35] drm/bridge: cdns: Use drm_bridge_init() Thread-Topic: [PATCH v3 12/35] drm/bridge: cdns: Use drm_bridge_init() Thread-Index: AQHVuoBmb+v7/Y5W6kugghe/aJFluA== Date: Tue, 24 Dec 2019 17:34:31 +0000 Message-ID: <20191224173408.25624-13-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 6d5920ca-240e-46ab-b438-08d788978d25 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VI1PR08MB4368: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: MgRUh7Kf13GGL/BvOPIgx9DLycLZsGRoVcFqt3DGWPX+59nPDHMe62j/jarvBHWGuzRj8uMK5qSTRL0Xh/QciGSDY6Sc1oSpHMJhhLAt5UG0jAInal74vQU6CZ83b7fRe9OjCDw0pYsmK1/a8DLzzKRSIwNlxgmeEtIZLffhc2rbb89IILTx+i9jHpjbGE5KVwzzbEpRa+Hk8psse6DxVBfUqF1ECar3WEFBJzn+vtUqGhv+hIXEaSd1bTKxH1ShRKyT9qGgwJf68oTPJaGntJnZmgnj2hizeCgF5Fd5MFhz6AXU4zPhhqOtxukqhNINfQRZQ5Dje9+21dFMoK+2Z/1VIHhA65kQyrDv8PNtYWK7ooPPdaJryBbx3XVHzOEAArFvNV2GrcyHYk9GV/6+QwT8FzGHDDG5VK2LJi1qKywkQ7FnL0GuVQvK9i4Y3eVn MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT039.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)(376002)(39860400002)(136003)(199004)(189003)(4744005)(70206006)(70586007)(316002)(6916009)(478600001)(54906003)(6486002)(4326008)(5660300002)(2616005)(86362001)(26826003)(186003)(8676002)(2906002)(336012)(6512007)(107886003)(81166006)(36756003)(36906005)(8936002)(6506007)(1076003)(76130400001)(81156014)(356004)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4368; 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: ffcb7b9f-8597-4628-b390-08d7889788a3 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p2GC0zzDZIFu5CJgMBMhgDDwftc2V3FQ7P0N95y6VlSv18FkhMnoiuXbJRe1XZIpVbtoFWCPaSyMtbyBo2esdklmk0uD19geArjAwdlld1pW2njPZ0vJZRGh8ONtqLS5wdgdP+HrCsqDSZSgGiepfY5NEKVuUMs7Bc34QRFYXTMHHmaEhVkcQCAijvKn1YUa2VWoyCPFSv9R9eANA7vru4MARyKhoRELvZENmFtS66KdJcIBZz1hnsrelPrc3XyngM+s7zihymcBZzYYWN8GNyYH+xNwfTICCQjCQZeaors4rEGph78bEZ85wPWxRlhuh2MXnYbaU1emCnUMIdgOoEkJjLCtZZ3oL1sXc7tXUNj6o+1T5RcCd7RfvrcZCAwKy0x7xqx373UhdcsxQ7UCSbksuvj1BAomFsHidQic/VdRLFQ9zxK3k6mL702ai3ch X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:38.5091 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d5920ca-240e-46ab-b438-08d788978d25 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: VI1PR08MB4368 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 32863e3ad537..15999c971cd4 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); /* Mask all interrupts before registering the IRQ handler. */ writel(0, dsi->regs + MCTL_MAIN_STS_CTL); From patchwork Tue Dec 24 17:34:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310075 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 4E9E21395 for ; Wed, 25 Dec 2019 10:19: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 2877A2073B for ; Wed, 25 Dec 2019 10:19:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="gbgH+8ZZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="gbgH+8ZZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2877A2073B 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 7AB3689F08; Wed, 25 Dec 2019 10:19:20 +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-eopbgr70054.outbound.protection.outlook.com [40.107.7.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8828F6E359 for ; Tue, 24 Dec 2019 17:34:44 +0000 (UTC) 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=H8GXw6v+q/NY8DJdmPHOebrg0bk/YbknsMy1IZGdVos=; b=gbgH+8ZZx49Tw9NNtPT6wy8LhimVjyZ0qprs7Lu2PjrshEP958uMkF07hoFQs1+J5N/EBtLKWxYaaOoo9jovGddvlZhQguX4oFTsZIO/lrlP/hKZXQJ0hSL0lPbQsMqE8RDc65El1TTowY/cNb15QrhL4Xkl1OSG7mVaO2vepdA= Received: from AM6PR08CA0001.eurprd08.prod.outlook.com (2603:10a6:20b:b2::13) by VE1PR08MB5054.eurprd08.prod.outlook.com (2603:10a6:803:10d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:34:41 +0000 Received: from VE1EUR03FT003.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by AM6PR08CA0001.outlook.office365.com (2603:10a6:20b:b2::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:41 +0000 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; 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 VE1EUR03FT003.mail.protection.outlook.com (10.152.18.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:41 +0000 Received: ("Tessian outbound ba41a0333779:v40"); Tue, 24 Dec 2019 17:34:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 10088ed5be068d1e X-CR-MTA-TID: 64aa7808 Received: from a20093a6efd9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 47256F7C-3E27-478B-BABE-4AD1BFE37FE4.1; Tue, 24 Dec 2019 17:34:35 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a20093a6efd9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BS8QHrJAXBO6hN2FR6SL+AuJR68j5R4W2AIzZCPFuIXaep3tCnak2HyAvulfQbb5wqKHqIpquTE4z2r9vIff4t4CL+ClMbe3rEF956LdA7G0UHLmErFK/mN3F3WvV/PA4TyjKjb/gFEOOY79RxPeAQp7HEhNGqFkeMvGwvb8y35PojKbBd652A+ZpbViwtuINWs263d7y5BYmAL8Riyr6kUTDmv7CWPgzVGSgwS89HuVW/YasIpzu6waRDoU4yG1MMpEpwMc0kX5qxpCeIiZ2z157eVsNfrdLUI8WVbeHg6HGKOfYp9YeYVObFKDwQjdOivzdabeGbtwYdcgh8EAHg== 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=H8GXw6v+q/NY8DJdmPHOebrg0bk/YbknsMy1IZGdVos=; b=kuVKWNBL/R7dX4tunBsUl+PTLV5Dh7Pl95AZbh+zBjp7yd6xVYMrari3jD2b5PGFDRtAhHL03Q2oqTIGbNvYiCMn6iy/9bYFZmxTYk+0jkIq+U+Nq1HvIH1iWSPuhQ0xcKKEtnDIdcyPK/ANbva+5ln83uk2PwoKG3qaYpywO0oK3cbTsazjLn3NyY9uhhRZ+5WENWO9/57zfDBacQ66iTDHO8ZvhUkhx8rS1TSdvYwFUA8sdpYCBBfjipLDMfSWK6r7LyEUoaPbPS5nEe26wNGfp14P7dTRv5RVNb7zcCel8qEgUHkoMSZIZMPkc7wOfDeBi0Sx1gvp5Pr9KtnEdA== 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 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=H8GXw6v+q/NY8DJdmPHOebrg0bk/YbknsMy1IZGdVos=; b=gbgH+8ZZx49Tw9NNtPT6wy8LhimVjyZ0qprs7Lu2PjrshEP958uMkF07hoFQs1+J5N/EBtLKWxYaaOoo9jovGddvlZhQguX4oFTsZIO/lrlP/hKZXQJ0hSL0lPbQsMqE8RDc65El1TTowY/cNb15QrhL4Xkl1OSG7mVaO2vepdA= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:34 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:34 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 13/35] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Topic: [PATCH v3 13/35] drm/bridge: dumb-vga-dac: Use drm_bridge_init() Thread-Index: AQHVuoBnmIESwf0th06/ctvQqHI7lA== Date: Tue, 24 Dec 2019 17:34:32 +0000 Message-ID: <20191224173408.25624-14-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: a25d34b0-a1ad-4b43-d7cb-08d788978ec0 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|VE1PR08MB5054: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: AwQefWC9xvOeB9znZGMWlxH+sZgiJBW8J3u0P0foTGF8+OYYzqiyNLu0815F8ycKGsro0WKmr3UyyhTKXg6I0zOs/AelXaYrVoDZM3tOQLQ3qmYinN+ch4n6a4U5w3FV4ukVBWVN3+lixUYTFc6wB91eFjErWkhdGIoFkK/9/WkPfsfZZrNGKnfv37cGVtqSlfhbqlajb4Z7pPkSB528RiLE21gTIYEbasPyOzVQaiPBFfEjJDp8aXwMg9ji2Y4jZ7lNddzVhiKriqS2O3CmbFUfo1p+5WxXMd0cYe3qV3gijuOFLsdF9e0g2FQ45a0kHsJNpu3I/gLNinittDgV/TaslrczW7KexYpbZ+8R/8+qoLItQ6flNLRvVou05NXA/NiZnyLmB2Cole/rOE62I4EFZguQ/ej60azKj0ldMQqiFS+TSukB88S5LW+9BCAY MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT003.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)(6512007)(186003)(6486002)(356004)(81156014)(5660300002)(8676002)(81166006)(2616005)(36906005)(54906003)(316002)(6506007)(1076003)(8936002)(2906002)(70586007)(26005)(76130400001)(107886003)(4326008)(336012)(4744005)(478600001)(6916009)(26826003)(36756003)(70206006)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5054; 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: a4fcc757-37b3-43aa-0f61-08d788978918 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jPzCrrihfWXGvg9xljOAVr/tAGWgCEEeuWBpQKQuMu/P6bWzk2CTLL9mCe60jWq/X1fpxVhZxtVdSfPEy3WvZWjVgAW7e8h4zI453L+75+DRo01uXpZTPRf113bbrHRINHqeZM36z8PhqCB7RMADlxQ3/X+Uzw6vyfOHP7SisOk43MT7s0s+yYmgNMayYQ9K1XDMQfUynilui4Jtu1hdGkHiV0R7IALgBoa7fq64yvrEYvHrdCF8RYYDGkKofJtF2HThEGrpbzEE27ZqYXkrFn62vzSIipxW/MEw/guNdiDszmCKscTdB9vBV5QXF+lXs2/+V3IPblmrm0DR0O+XaD40PWDjk8WgKqPBtLxheDDjIfGK+g0wBmxVZHNKk8PivvEFBSTn+1Yn3K3mzE9uVFl0PvTG3RJpEkJOwtZo1IHTHRuos/mtlyP+rsX2+Lf1 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:41.1595 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a25d34b0-a1ad-4b43-d7cb-08d788978ec0 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: VE1PR08MB5054 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 67ad6cecf68d..a737042a350b 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)); drm_bridge_add(&vga->bridge); return 0; From patchwork Tue Dec 24 17:34:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310083 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 6C8EA6C1 for ; Wed, 25 Dec 2019 10:19:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A7682073B for ; Wed, 25 Dec 2019 10:19:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="JZnFu6fr"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="JZnFu6fr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A7682073B 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 CBB7E89FBC; Wed, 25 Dec 2019 10:19:22 +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-eopbgr70042.outbound.protection.outlook.com [40.107.7.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id E91BD6E359 for ; Tue, 24 Dec 2019 17:34:44 +0000 (UTC) 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=VYlkeJ90WiZW8Cggtnrv/K+fKTcTQr56ghgZZwwHLbo=; b=JZnFu6frIx93pXcxsyo2Pb2jIu/iV0wHEj31Ara6SuGu9/LsjwVueu7NGSWusvDf/PMLRJEbSzGU1udmerY8j3rJaiQhSNzGdSuQu8tm1FiPPx7W+Wxjsj9fC9qOGu/yLeyFGpuvuh2czBY9ok0XdGIJ7gjxgBuEUkJx6goQv+s= Received: from VE1PR08CA0029.eurprd08.prod.outlook.com (2603:10a6:803:104::42) by AM6PR08MB3560.eurprd08.prod.outlook.com (2603:10a6:20b:4c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:42 +0000 Received: from AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::200) by VE1PR08CA0029.outlook.office365.com (2603:10a6:803:104::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:42 +0000 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; 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 AM5EUR03FT013.mail.protection.outlook.com (10.152.16.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:42 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8cffa408b5dfffe4 X-CR-MTA-TID: 64aa7808 Received: from a20093a6efd9.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E4898AC4-9CBA-4373-915A-5BC35E8B3BA9.1; Tue, 24 Dec 2019 17:34:36 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a20093a6efd9.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bj4CtvK5aMiabpRYT4r5CerBHl+NyXPjUZ64IOfQOjVcC8weoPBrT7aYc0WQlfMtHsndvUsxozJnoGPlQQXWNhbBhmJSlixbmAs0p2FYk0PVxLSQ4A/Is6l/KDaddbAgkHWsHGHvCwe/JC+VdDC9aFQuVi34EAL9/fPqAfn7ORtGb3l4qE/H6YSTRDwKtl0w/5RYkt9aTuFXT5my1OrWEPTmymtajKyrJQ2LFnN+opyWtrDVxQZFaFmYKO4Sk/EVxWFFXfOXxryAhzFjt1/8hmByVB/zUPoWyYxezZALaYixdVkIElo8XQITaf8taVgnbUBYTg1j99Jw/6SQS1YZFA== 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=VYlkeJ90WiZW8Cggtnrv/K+fKTcTQr56ghgZZwwHLbo=; b=B4QlyjAf7XK3jXAAYBpuqXQK7agkWOyStVU8/W0cqf0Q1qr+KHNJK90dqLtaLD96Mv7S43vFcYO8x31yvxVZaP7TjUbEjiAdhxZCSFNiGsXElK+biHEJFhxr+myFXxvLC57YdZsYFJtdZI7ODNy077k1A1aDL7LSC/PI34M+9gxAgBNaWuL2QDCSeekWG2XHoJM1QubQv0WCBdvhaQEzTysi6FHLGK9bPg/FwCePefMomfMO9BoJtVWROCj15ZanvOdBicdmnxt+iqPej/a2ON2B/FhuwieqUKcaPwXBZSROH5Bl6Ul3eljmcAvHIRqgcsMsj0oD0m37jX/eytfr+A== 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 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=VYlkeJ90WiZW8Cggtnrv/K+fKTcTQr56ghgZZwwHLbo=; b=JZnFu6frIx93pXcxsyo2Pb2jIu/iV0wHEj31Ara6SuGu9/LsjwVueu7NGSWusvDf/PMLRJEbSzGU1udmerY8j3rJaiQhSNzGdSuQu8tm1FiPPx7W+Wxjsj9fC9qOGu/yLeyFGpuvuh2czBY9ok0XdGIJ7gjxgBuEUkJx6goQv+s= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:35 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:35 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 14/35] drm/bridge: lvds-codec: Use drm_bridge_init() Thread-Topic: [PATCH v3 14/35] drm/bridge: lvds-codec: Use drm_bridge_init() Thread-Index: AQHVuoBovxfdmrLJtUmljZ+7k+j1zQ== Date: Tue, 24 Dec 2019 17:34:34 +0000 Message-ID: <20191224173408.25624-15-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 4c735d28-c798-4575-613d-08d788978f55 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|AM6PR08MB3560: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: xYyvdLTWwqX6ZAsJAbCP1Frd/om+vqcaapIVWJ/ky4br0QXobeS4y6lJr0bG6NexC4d3/xAQAJ/iov6tJiwaiCifQ8ujjUO8+/z89KrIbeA86GAUhkJIAoOATMuZ5uwyGUNT65LtiDynetw/gSdyfBgInUhDxrnu2DutR07lk2f2nubCdo99xMmxLo9n7SqupIreKp0Tbl9GtF/ZgFqc8VK3dSA7bJBg+GvVZFg67U4RNGvyObgQx1ZiadChRuglF2Hgq2xU0b5Ucf4wBdRHhAiK2CSonXKZIUVc0Dg2F6J0Di5OcWitt+i/FWR2aAG/E+Fr8SkGBd1WJOlM8/M2hiYjjYVDGTpmci6/BnzQvVBgMV9P6VlzU5awqSz6sT4iDb7H2zkB+rVqikG9W3jP3rxPz/qbnEVfYrkwG7VQGJEexu08f9NBu5GA/HOK1qWI MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT013.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)(26005)(107886003)(8676002)(54906003)(36906005)(186003)(316002)(86362001)(336012)(2616005)(4326008)(8936002)(81156014)(5660300002)(81166006)(36756003)(6506007)(6916009)(70206006)(356004)(70586007)(6486002)(6512007)(2906002)(478600001)(1076003)(26826003)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3560; 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: fe05137c-8a34-4a60-73fc-08d788978a48 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z2/OvZSLJtEJtlcjedtFt/ICfZUxsmUpqq78fy2EU2msxL0GAf181wpsfY7DLdViUxR0vJxlFv+OoOFoP9uVXwgccXwnb/afpW2JVP/h0rajXTZh5+LNbzWj9d1rRJbR9xk6Z+tJjvAdXlAOpe9iaMRHWF4HWt0ZV/RehTtfe+Skx6QrqtBjQlS5y8tNU/3ue5mER0cd+CjaODqL8PzjhQy8WfZYseSUcUJLEizHzS1bajQF5PAe2/5NjnnHit7FdlZPRUlHGBA/s5fohRQHt0KjLi2eZbnZrHNR3ppOM05YBtYGG/OXjR0nfr6LZnguX+4vRCJNdBfuhBJ1TD3b0KprrNHV3pGpPLb0MGMNNtAByx3joRTmvnn8K3vMzt+PC+NHoO4uoxFf+2lRpF40dg9rg/Sow525M+oCBL15j9d9xo+eEOxzirHWC/aZHpHm X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:42.1620 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4c735d28-c798-4575-613d-08d788978f55 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: AM6PR08MB3560 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/lvds-codec.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/bridge/lvds-codec.c b/drivers/gpu/drm/bridge/lvds-codec.c index 5f04cc11227e..3bdfa7cce6d9 100644 --- a/drivers/gpu/drm/bridge/lvds-codec.c +++ b/drivers/gpu/drm/bridge/lvds-codec.c @@ -98,12 +98,10 @@ static int lvds_codec_probe(struct platform_device *pdev) /* * 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_codec->bridge.of_node = dev->of_node; - lvds_codec->bridge.funcs = &funcs; - drm_bridge_add(&lvds_codec->bridge); + drm_bridge_init(&lvds_codec->bridge, dev, &funcs, NULL); platform_set_drvdata(pdev, lvds_codec); From patchwork Tue Dec 24 17:34:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310063 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 A8DE11395 for ; Wed, 25 Dec 2019 10:19:34 +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 865D62073B for ; Wed, 25 Dec 2019 10:19:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="pG6C1Za4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="pG6C1Za4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 865D62073B 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 11D3D89ECB; Wed, 25 Dec 2019 10:19:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id BB5706E362 for ; Tue, 24 Dec 2019 17:34:47 +0000 (UTC) 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=0ShXCfn8ryNmKZhoRvxGw0VU+0xf/g1xjkLqqtEGc7g=; b=pG6C1Za4bdgnEIkbmKVhG+WrEBskoXxvelp+tb4sNDSS7m0Whh+NFVtKl2xLe7pgKWl3zseMTWJJ4pW+vRLamwzywNdcEeXg3hyybF8ojjTTTLixZjqpBE6u15KVMAJA+qJmiOZmA4dFXsX2HoJH89tMn9yjU9dANi1rVSgoR8k= Received: from VE1PR08CA0007.eurprd08.prod.outlook.com (2603:10a6:803:104::20) by HE1PR0801MB2059.eurprd08.prod.outlook.com (2603:10a6:3:53::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:34:43 +0000 Received: from AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by VE1PR08CA0007.outlook.office365.com (2603:10a6:803:104::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:43 +0000 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; 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 AM5EUR03FT013.mail.protection.outlook.com (10.152.16.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:42 +0000 Received: ("Tessian outbound 0eaff1016ea4:v40"); Tue, 24 Dec 2019 17:34:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 48d55b3b41932df8 X-CR-MTA-TID: 64aa7808 Received: from a20093a6efd9.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2D504777-08F0-4CC1-BE28-11798842B63A.1; Tue, 24 Dec 2019 17:34:37 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a20093a6efd9.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TkjLpr5EmK3Jbcd5ftkucQUQ4oK8cKNKeaufqa+u0rl+k2i9aQGr502048UMJF3bM4xsg+smJHnusWv/hEosHj+spU+3Epeq3vy7mlgZ2F3V82lahUmFzvXGSfsqLkinOy/ygRMgNw9OVwoNk/ULbZ2Gz+9vXk4kEswh127Q6CcDYl/zIpe2awi9+fJ6qkVSZcWmeenobt6/jS6zzWJYeAbGVa6DrB7rqiorTSNf+VkMfBQPu+cBOOTuLMN8dC1WEZpLG25xDzMcj1YLTegpimoAEMpkzko8lAW03StCyYEhM9BtGkq0WeWaro/0OX414zO4K9pnZ6y20YSwMgHkng== 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=0ShXCfn8ryNmKZhoRvxGw0VU+0xf/g1xjkLqqtEGc7g=; b=ORqz8WJVpwu4rx5YG9xjcK5uNQ0F3C/KBSLMZJILR/SOsLnMZXqlPiHYudICaLLSJsz17jZy+OBU6R14bp7qlnZzL7jp99Cc5l6m+RDEYjAsqg/tsvs5aYj9mD2lrWcAvidxieM618u8CgVpIlyqrdHLb4h1m+ffv+w+5QxTIgEaEy2EPeodtU8MkeBHPYV8Heh+xyLWySmQzXh3elPx5KR6oKdwQBawgevYm4WFhdBfuu4lM5/E+GME1aIiRhj1tR//zkQPhrjyyaWo/sqnaCAGtwe+Ck7UmFlozmvGjaa9CcpEvzNSzE1gOM3wwTcFdmpiAYid/pK+eWpgLNoaAA== 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 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=0ShXCfn8ryNmKZhoRvxGw0VU+0xf/g1xjkLqqtEGc7g=; b=pG6C1Za4bdgnEIkbmKVhG+WrEBskoXxvelp+tb4sNDSS7m0Whh+NFVtKl2xLe7pgKWl3zseMTWJJ4pW+vRLamwzywNdcEeXg3hyybF8ojjTTTLixZjqpBE6u15KVMAJA+qJmiOZmA4dFXsX2HoJH89tMn9yjU9dANi1rVSgoR8k= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:35 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:35 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 15/35] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Topic: [PATCH v3 15/35] drm/bridge: megachips-stdpxxxx-ge-b850v3-fw: Use drm_bridge_init() Thread-Index: AQHVuoBoYgUHgfU1Dk2mbm0heByIWA== Date: Tue, 24 Dec 2019 17:34:35 +0000 Message-ID: <20191224173408.25624-16-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: ee58a5b7-c0b6-47ed-5e72-08d788978fc8 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|HE1PR0801MB2059: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(7416002)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HbdHY3GyUAq2G/f1IE12mkZ29AsiTlvpOxnnL6+c92k0VKHgEqOjCZHYscskYmFhUtoIzaGr3WTGTKqJu2bewdT4/wlZBYSxaTfv3ae2al9pPcp8jx7DIBflvFtfD3kvgGmEvg4j52tdxeujvIntEGGMcs6f7rw03OdA7T2qRLfBjo6o3jO9B+FTfuHA9oZg74MGtxrKDT6g8OkuDhKcBQZmqh0zwaV1Ke6eWyorWPOBuJLn9bnmVCKeEBl2hsY+rxyrNmdFEAWgvMFp4bJ+Jzj+7Q6i3587T8kN7TjlLlQeAKBtVSiQUAJg9w09vN3s0UFlcBI195E0XhMaRrrCMBH17QZAOf1WSunbegwYO1hdGW1VBkD9rU6CzFKImANSz57kWo6JTM2UCLQT6PREDzSqOjGAk9eTLyp2PqlvBa1UJzpz0UELI5aSQ0Skc/nG MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT013.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(39860400002)(346002)(136003)(189003)(199004)(107886003)(76130400001)(26826003)(478600001)(70206006)(70586007)(36906005)(336012)(5660300002)(26005)(4326008)(2616005)(8676002)(186003)(316002)(8936002)(81156014)(54906003)(81166006)(1076003)(6512007)(356004)(6486002)(36756003)(6506007)(86362001)(2906002)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB2059; 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: 540605c2-2816-46f3-2663-08d788978aff NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: unobWQP0qPEXI7hXPw07bjKLAoakiB5BBtfNlVsKmitlmONE7Oy3fmliZnH3m5gI7/3uHwdz0mDCVsO3Ekk0304GPvjAppwsAgv7tgGVn+S94f7EGzOsOhs0kOkxDV3+OSxYanpOWILpFskHxo0RbJe1JxnIeWuwOom8HZ22eKVEFYzfEGk0yNB+QxgKFig/+sHLh6gnHe79ZkbnyaPqI57vQd5hTNTyiGgEWnbIkfYQOSzw2+1Vpo4hsL/vP2aqL4VPMwO6gZMizAsk0wcSo6hRh63I9aLmbNvnXnYzNv5K0gzyImQWn5Oj9L7wycLnXOuwMCAlx9Ii1YM4xjs5eLXni6LuehrQ9Dxg/ut4yGhooU2jxy8qvJ2h5OdxYhB0YF8YC0yoWZNTt2HovQPIkD5rElKei86wXdHLBAAb9pzE09GBL7c+lCgT4FB2p35s X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:42.9316 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee58a5b7-c0b6-47ed-5e72-08d788978fc8 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: HE1PR0801MB2059 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Martyn Welch , Neil Armstrong , David Airlie , Peter Senna Tschudin , "linux-kernel@vger.kernel.org" , Jonas Karlman , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 c914f01e4707..a13ba625cca8 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); drm_bridge_add(&ge_b850v3_lvds_ptr->bridge); /* Clear pending interrupts since power up. */ From patchwork Tue Dec 24 17:34:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310111 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 5033C1395 for ; Wed, 25 Dec 2019 10:20:34 +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 2D2CC2075E for ; Wed, 25 Dec 2019 10:20:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="1wZOZKKJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="1wZOZKKJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D2CC2075E 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 8C7A189E7B; Wed, 25 Dec 2019 10:20:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20068.outbound.protection.outlook.com [40.107.2.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id B64FE6E359 for ; Tue, 24 Dec 2019 17:34:47 +0000 (UTC) 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=t6BGzVEaBC49FSJuemqQ0iZnKQkWSDkEjaiqbvPgxmM=; b=1wZOZKKJJr7JHzbXzhZH3owcB+WXxVR1v7QPa19WiHiY/Nze4KQ9mrXMJoQUsU7X4zCUp8GqBiGIGJxZp3zEmJov1VTOUTD5T5PcIRz7Z+fBLQWuNi5oi9vnPliVq9FqAEOreF5uocBcf7NjU+ie7m7pjvs6EXoK335o+OktItI= Received: from DB6PR0801CA0061.eurprd08.prod.outlook.com (2603:10a6:4:2b::29) by HE1PR0801MB2106.eurprd08.prod.outlook.com (2603:10a6:3:4a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:34:43 +0000 Received: from AM5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) 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.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:43 +0000 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; 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 AM5EUR03FT047.mail.protection.outlook.com (10.152.16.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:43 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 465c61a2700d202a X-CR-MTA-TID: 64aa7808 Received: from a20093a6efd9.7 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1A16AE48-D545-45C8-AB56-7FD94DA70B09.1; Tue, 24 Dec 2019 17:34:37 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a20093a6efd9.7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wj1PcrKMVQtxaoHa9uDdrvMqImDWU+CnjVLljuSnmHXMyNlqzNgiGW8USqQ7+dWzp6O6C73ZjR70o6JAWAg2zIHvpiChOvzH2HNmui1YutAU8TKlJbneiN/PMEkIfYnTxkGnsdhJGWrO8mAo3wxYXQyLNXGKWtAc6DLSEEPU+Un6EurkwEixqp3NJf75bxo5SPiX6rDHqSV2u6nvQ2fI7y13plzOfVim4F83aLDI1F8Fz6LKBJcnTnPnMQPmPhLxEb0RSrazItcVdJ+UEuoLmthaFBFcgM2OWfjn8oeJd8KomOke3O0szoPfRgZ5nAlzyrxW8nXDYw0JG4OyaG1BvA== 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=t6BGzVEaBC49FSJuemqQ0iZnKQkWSDkEjaiqbvPgxmM=; b=WW7ItflSxUgnqFAZs85CXDOEV9BzjfOp7qbQbKDZQRs0Yr092Z3DVKvkpFjj4Py0CciF5022Up+thYvnwD6Eet6fOZFLVb6NgsV1r2HiWeBv2QQBSeq0cWvKhtfkSUx/1YLEDDjvBLWuaJ6ZGzib9TyZQ3o9wI5jzudGcXav4ajlZNpcnzpHS6gxg47hRrnNx88hDNUp09LRCYC1Db6IuBJI5C1RwsSa3XqiXypCgDTnHSpzW9zQnM/+XfCrxQqmdr6qw/Mchll5lRTQLnXAQMwZ9bBrvOGckq927h9/pLX1hVBtGM1FjSgJRXSf9eP++Dw+5mHWij1tgb8WwkxoAQ== 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 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=t6BGzVEaBC49FSJuemqQ0iZnKQkWSDkEjaiqbvPgxmM=; b=1wZOZKKJJr7JHzbXzhZH3owcB+WXxVR1v7QPa19WiHiY/Nze4KQ9mrXMJoQUsU7X4zCUp8GqBiGIGJxZp3zEmJov1VTOUTD5T5PcIRz7Z+fBLQWuNi5oi9vnPliVq9FqAEOreF5uocBcf7NjU+ie7m7pjvs6EXoK335o+OktItI= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:36 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:36 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 16/35] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Topic: [PATCH v3 16/35] drm/bridge: nxp-ptn3460: Use drm_bridge_init() Thread-Index: AQHVuoBpAbASn/F6nUe58QN+gfzUEQ== Date: Tue, 24 Dec 2019 17:34:36 +0000 Message-ID: <20191224173408.25624-17-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: f051afeb-72f1-4427-7817-08d788979008 X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|HE1PR0801MB2106: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(4744005)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: hf7J2l1Rbd+CjtAu3WNNgpf+5mLks18faxECKLN6RVL7HQBU1H3iLIja+O1x6M5mXBhI9GYI3MHvIq3g0UXMIduiUIj56C3ZDV2OLQQLLUNmUczdt6LXAUmdLKmPy0fvTddpGvtn4xaIfuFS3tVg1NXgygTFRoLAJztvJLpiORENmAsXd0eD+1xcN8RNuONca56xJozAWCmCqToleiDkzISac/aBvng2EjOnB6kaXvFZjMEnRBV2M+NtXP1DHT5zMpv8FUDa8WHnGEdS245di2oizK+fRNzLCJNYFRL69ImTlSVIwNZCvgmN9cJLy6aCIqyJqUy3fKLeGqtcOyyf9U8Eabnb4S5KKi+Oe66qQFZ2YFEETpBgFbZPkK4WzK7+565tU4QvrA2AFH+vI3XZTgF9qiVNM4NGbm2YQKGZ6ZJqIkmVf7JE3M2dT54XIBuP MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT047.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)(376002)(39860400002)(189003)(199004)(6486002)(356004)(6512007)(76130400001)(26826003)(478600001)(6506007)(86362001)(81156014)(81166006)(316002)(6916009)(54906003)(8676002)(336012)(36906005)(36756003)(4744005)(70586007)(107886003)(8936002)(70206006)(26005)(4326008)(1076003)(186003)(2616005)(2906002)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB2106; 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: 55682447-3964-4c1c-72e8-08d788978b94 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GPhZwH7aZ4jZ7AKNDnDtJjyXy2xj+NmfSFv+4HES9Dva5aF/znt3eP+94N5INzV96gMaMhtsD85ONaOJQ1NnzSNxrnCO+e/Ycntsre9YTxlcfkwEMIiRw6m9nBf+tVQCv5Hz2QZhJRKEMJ3sZYv6K+0mnSUg0SoWwmM+Po/nF78QiJPz/mmCZ/AuETWKstnlRM5DZjygCuJt0DJJ2DPNvqLiivtPXn90QrbmTmZ8Go+NEiUivOmBOQ2G0FLGve2Oc7qbtXGpXlCxI96HS/OVScu45dBycImjdOT6osbz01q0XAjTl+UPnxg/zx4gFk5223im8pzcPIVXUvP35eoJB1lE1UIyCLq2G31lNv9jS2O60wQN1MMp0ZpgQ7QSFHFaFcXf4UkQjbpe1tWAuA/0f1bd4SJS0qEfsNUKsXX9kFjUjOSTeWibK9lZ/D7UOEyi X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:43.3567 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f051afeb-72f1-4427-7817-08d788979008 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: HE1PR0801MB2106 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/nxp-ptn3460.c b/drivers/gpu/drm/bridge/nxp-ptn3460.c index 3999bb864eb9..19f37ec8284d 100644 --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c @@ -320,8 +320,7 @@ 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); drm_bridge_add(&ptn_bridge->bridge); i2c_set_clientdata(client, ptn_bridge); From patchwork Tue Dec 24 17:34:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310133 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 861EF6C1 for ; Wed, 25 Dec 2019 10:20: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 62B6D2075B for ; Wed, 25 Dec 2019 10:20:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ycDhivft"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ycDhivft" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62B6D2075B 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 135626E212; Wed, 25 Dec 2019 10:20:30 +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-eopbgr10076.outbound.protection.outlook.com [40.107.1.76]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FDE36E359 for ; Tue, 24 Dec 2019 17:34:51 +0000 (UTC) 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=74Er7HGJjw1Cwr3bFeUYspIQ5XLO7ZkancZfqNVar4k=; b=ycDhivftC93rR0pUMxG/HoLSv+0QxEXBdqMe9UPYQm9AFHFunOuREpJMIQvqsj6kTlk3rGmfmTCT3DChLCc+b70XVPaLbEFVND7w1qPi7Op/oI6Rrba99b2S0MN89LPnYhaen83P2YbGV5AO+wD5Xh7A+vzxWtChni+er8Mb/DU= Received: from VI1PR0801CA0071.eurprd08.prod.outlook.com (2603:10a6:800:7d::15) by DB8PR08MB5211.eurprd08.prod.outlook.com (2603:10a6:10:ed::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:47 +0000 Received: from AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by VI1PR0801CA0071.outlook.office365.com (2603:10a6:800:7d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:34:47 +0000 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; 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 AM5EUR03FT003.mail.protection.outlook.com (10.152.16.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:47 +0000 Received: ("Tessian outbound 0eaff1016ea4:v40"); Tue, 24 Dec 2019 17:34:47 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 647041dd202bc325 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9028DC3C-AB21-4F1A-B25C-9CF4DAA2E21F.1; Tue, 24 Dec 2019 17:34:41 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KI4mP7Zw9NfJlvIFdK/6Hw1lgCUogkxFtWp9y0c8Yw57lstS1MAHl3gW03QBqxRWSXrLw0MvIZgu2JJ9ajaww3UGKZdWDgLeRMwUbrTo+e6oBObaJOwqtPMA0IiL4jwnaENFMmqfNqlnNdDM9J9HvPrzy/vZjHPxGw7a7uhzL9fVQEwHW4PYjpKJoVX27SkGYWvj+RxGg99yf5DC6yqrGaCQT5TL7AilCLZQM6a6dqwpclcR5xIjfcWYQL83ZcomyVYcDu4gxxI2gJehts7AyZbJcgDquJBt0rPvMtWwLZhIoAn8jmI2Vk9BhOWsvvDSDduZoTkDEz7NFPT0X85Dwg== 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=74Er7HGJjw1Cwr3bFeUYspIQ5XLO7ZkancZfqNVar4k=; b=Dzn2y/ri5z5XeRXQhsq7x3yNJjMVgE8gmd1Di8DpY2v3JhaZxwhNPPMn2VFhrmLtSOLci2ykpI2hk35mCvMd4gddlIH7c4/NLGQ2wng4O8As+zbLow+Ljr22BEFiQaRMGq5tqxzqrvcxEN68ej4njNBdmFE5lH6pDm8QbfA2ttdf0EyVL1yV5IsOKqjyToQ+kITK8rb//1T80hIQgytD5l0NE8Thlp0P+MQIQc+bIP7J4Cr3IM2nG+eeMgOD6CJ9CROJUwP98hv7jGIKvIiPBtrfmuNsXY6SU7vAVwvgb0dKV1FXVQKdAG+u3rJBgXSPv2GEyM9wshUan0U6GQ5bRQ== 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 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=74Er7HGJjw1Cwr3bFeUYspIQ5XLO7ZkancZfqNVar4k=; b=ycDhivftC93rR0pUMxG/HoLSv+0QxEXBdqMe9UPYQm9AFHFunOuREpJMIQvqsj6kTlk3rGmfmTCT3DChLCc+b70XVPaLbEFVND7w1qPi7Op/oI6Rrba99b2S0MN89LPnYhaen83P2YbGV5AO+wD5Xh7A+vzxWtChni+er8Mb/DU= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:37 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:37 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 17/35] drm/bridge: panel: Use drm_bridge_init() Thread-Topic: [PATCH v3 17/35] drm/bridge: panel: Use drm_bridge_init() Thread-Index: AQHVuoBpmY1c5Klab0qW7+hkdLtpeg== Date: Tue, 24 Dec 2019 17:34:36 +0000 Message-ID: <20191224173408.25624-18-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 8ec7e224-1a92-4a21-81fc-08d788979242 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB8PR08MB5211: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: wcWghvz8NiLzq2Z4JNRdzJSi6cUehBlsWaz11eEnoc9pwHtxzRyYd1CtlSX++gL/dTS99opXownq0zeImIzScv5pw/1IWIv8FtmWv5c36QHr0DmL2qOIyvJCwkTXtWY+sTqFurGJuAyLsgVsJ1M3ZU9Yo2qMgdtuzANtaRG05021GckZGDbMTjf8kHAkIUfRFT1xFsEC/6jzgGb0iuzqbH70nxwHTjlxbVNo7z5nj4e1CjdX34DQkl+yZnXR7ED6L3MGB9NhYs1vMkG9buIVN8b0bMvjFSba3hnTw0rlS4DhUYEo84SfkWqTqRLPLcrvTHETjG87eYAszlkI2ZqWZw8/L4omxWWPqZCpnNa38yk7Fddjyt+t+acBwCm98Qg0gkLzUPX+QzM3sC5nmpp9l2SkL/p13QuLIsliCYYv63cGTof4D/xay++qm/gxcNlV MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT003.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)(396003)(39860400002)(189003)(199004)(81156014)(107886003)(8676002)(356004)(70206006)(186003)(26005)(2616005)(478600001)(336012)(8936002)(36756003)(4326008)(6506007)(81166006)(26826003)(2906002)(1076003)(6512007)(54906003)(5660300002)(316002)(70586007)(6916009)(36906005)(6486002)(86362001)(4744005)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR08MB5211; 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: bb5b6ea5-0a63-4a85-fe16-08d788978c0d NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mvWDUzeDirQZOhtmtUrvx9CnexMYez/2mWytGHSW10XxZvLR+E5hG5JkVzulxJa96mg+oYnHcJBFeInegasJt0UUsr4AEnG4LoTj42P+pPDXkOuRQhviNdo8n1G9UuyLycBrmBeLE/id3z/N03ncVyiybkb8Ok/BwNVkJBUKH8N+vI6sbtk3AMVykbxoqmIDxUxTO5hfLGYmjmGmaGgtxj3VJx2PW0VHIYSWGJXC28Z3UI1FWt9m+7lwEy9gevoBLs1d5Rz0UIEVGtrABYdAzjOIQzftSaSIbLResQLnVRC18YfBLfBy3v6wxA701r6UAigMiGaT5MhNfE6Gcz4N4F19CpbwI40il4o/BiN0w0WHuNZmSLQq1v0zXicbI/8dfNXuf50/AV5eywVRGq4+Q2FNzMkXxfsqTmxwOVPLVKDDJyigAIR517wEVUx4KeUA X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:47.0915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8ec7e224-1a92-4a21-81fc-08d788979242 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: DB8PR08MB5211 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 4ba4e9d9537a..b8a87a4956b6 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); drm_bridge_add(&panel_bridge->bridge); return &panel_bridge->bridge; From patchwork Tue Dec 24 17:34:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310079 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 3AE636C1 for ; Wed, 25 Dec 2019 10:19:47 +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 149172073B for ; Wed, 25 Dec 2019 10:19:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="uUGvG83f"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="uUGvG83f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 149172073B 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 3FE7789ED3; Wed, 25 Dec 2019 10:19:20 +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-vi1eur04on062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9F99C6E359 for ; Tue, 24 Dec 2019 17:34:51 +0000 (UTC) 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=av4RbeCcIzFcw7SkwkihJbx+cKuz7Y5laN42tNG5wis=; b=uUGvG83fhFTrFGFphPyCiicaqtJcFh91ZKcl6pDC7abDk30ie7n7Uf077v50H1W1B9nQVnqqq6zyAtsi+f4yVlc8xXbe6fU4Ws3KvJkjmvWIvhDMYcnJ/WMBmP9qFrdiT1+HQ9wl1flVpvVrxfDEQhbxItIpDq4gkTDPi4QLKZ0= Received: from AM6PR08CA0037.eurprd08.prod.outlook.com (2603:10a6:20b:c0::25) by HE1PR0802MB2537.eurprd08.prod.outlook.com (2603:10a6:3:e0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:48 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by AM6PR08CA0037.outlook.office365.com (2603:10a6:20b:c0::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:34:48 +0000 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; 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 AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:48 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1f14b32a4112de92 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 090D986A-5886-41E6-9684-1759EE94A263.1; Tue, 24 Dec 2019 17:34:42 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mpu8dwem56N9YN5JmiJMpYqfdezW2ZBlZFv1bFG7DRc7MPpqgyTiS/BAONsno+JdrA4BXJUgpUMeLKlpPIoDjk7fk4CZf7ZBZS+yd1ZMTvMurEagyyXMUYUUwQJitIgLOZpHiOOJ1ClFrHjIMvKpuSKX2ArKA1qIhLydezoGUwAlzSq6u4vZvuC03UxP1yjG05sR2mt2pYGg3HuJORnlystvKtP4xwrM59mvi6irnF5GwHFtt/z5ewvnqlL7XmggusHf5f1MVCrOktJTHse2x1Fcw5n7/3f6dfZZE3s6SxeRNqNd71+T0rWI3cfR1m+ZOIZ+ht9yGQ2FL3ihWUi1Ww== 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=av4RbeCcIzFcw7SkwkihJbx+cKuz7Y5laN42tNG5wis=; b=nG+viiJ822pmzSc7tGli67gz1pHBKKcGMSPI4PVt7GyvmCka1IHQUT9sljXj0+n2OMJVLrZ+XENSSJtzG98crVslfoS/PHmmX0z2epVkBKOUPCKIo6ORQgr717rynbk0v7cbh68/Nd6W3njBQljE4Bi+UZZDI257vKsoH7eCldoWuFU62HyVbXQMr51HoBlYgdf1OHidvmFjowLnLwFZUH/DkyrXQnHF1zHYGeW53FjKfkZO9o29SydpGTZGbaqoAqYv1lYWAu5Kwu0gEzujlk0CethzyJfmUA+/mP+RmIm2Q+RCocNjb6yUuDgLfzkaCehBso3qRxU8ZaB0MaNDbA== 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 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=av4RbeCcIzFcw7SkwkihJbx+cKuz7Y5laN42tNG5wis=; b=uUGvG83fhFTrFGFphPyCiicaqtJcFh91ZKcl6pDC7abDk30ie7n7Uf077v50H1W1B9nQVnqqq6zyAtsi+f4yVlc8xXbe6fU4Ws3KvJkjmvWIvhDMYcnJ/WMBmP9qFrdiT1+HQ9wl1flVpvVrxfDEQhbxItIpDq4gkTDPi4QLKZ0= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:38 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:38 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 18/35] drm/bridge: ps8622: Use drm_bridge_init() Thread-Topic: [PATCH v3 18/35] drm/bridge: ps8622: Use drm_bridge_init() Thread-Index: AQHVuoBqBe6XtLdBuk6r4vxdiq10BQ== Date: Tue, 24 Dec 2019 17:34:38 +0000 Message-ID: <20191224173408.25624-19-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: cbca88a0-5d2e-4513-770f-08d7889792de X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|HE1PR0802MB2537: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: hatUIA2eTnc4ZDQShxaQs93+xUl0tVSkLAEQeb2DieMTXzLhF1ucFlI7VnxAkK4lEpqmfjVMuVwaCy0TBgB04g+hQjtER3hc46cQCMBi+WKXI9v5hUN1I+UIedO2Ns8jofy84KHj8kbuaGkqrc0W7WFiYZdLSuhTjoTQyQ8VYNVhe+31y42zB8BCASBJXWdS7bPuteaK1AGWRKCxX1L66O554h8pLXDcX5aVzxwO51hjyuQpQ7o4wSWt9kaYh9ttcnLBtZCHEh2v4848X5b9OfXNR9WKCsSTnA0RPcS+ECBMidFewfL7p/dT371O3c4UUZBVvLd1mo5FRP29am1/X28GADjzaXiOIapIudE0LygyJBDBrpX5wdzGjsd0XR8P6Wn43/HF7JlV6SJOfhQGggR1QYsi8oisBqyFaFwHAEj5JtS1ywV1Z7e/bp55KMjW MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(396003)(39860400002)(376002)(199004)(189003)(6512007)(6506007)(81166006)(4744005)(81156014)(356004)(8676002)(8936002)(76130400001)(86362001)(107886003)(2906002)(336012)(2616005)(70206006)(54906003)(36906005)(70586007)(5660300002)(316002)(186003)(26005)(478600001)(36756003)(6486002)(4326008)(6916009)(1076003)(26826003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0802MB2537; 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: 88a5d40c-ae1a-4634-4969-08d788978cb5 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S/fmAWJXvhzp7AM4ZZ1Y23rnVsBfh1AFQkU7xPFYWn2ODC4kKj6+mqpgTg0oi3sgd/903x0ybVIaO22fp5hrf1p98wAdWzRU6Y/zBv40gNA66G6aOvmC2njtTlGV/vHt5p+J2XgiDr8g40LCw1+etPWbc9+7rv1pl+Sox3hGT2FpeJflSiBNV/06sOy6qnVau2/q6wtazyXCb154/1cKsjXHi0BC926o5lsuCfQZPMO1qyAYnH53Lrhd91V7NwTdwjieG0bZfqk8XXxq5Bon92zuHny8AjW7yjtJh8M+vEYPUlNOOf08sAj1Kn1RWrdJrKf2+HM61DYOMvjGxGfjV+aHImEly2VBngzfH7ij4x8XnX2QdwmA1pRNmorqweMn3df7vex9mZWAuVbZQVETi9i3jXwdJCmiaftPRJDy9sjBTmsYPuAHrKmZjZ8qnPXG X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:48.1086 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbca88a0-5d2e-4513-770f-08d7889792de 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: HE1PR0802MB2537 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 c32af9c2bbcc..ce870f26e93d 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); drm_bridge_add(&ps8622->bridge); i2c_set_clientdata(client, ps8622); From patchwork Tue Dec 24 17:34:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310093 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 36C3C1395 for ; Wed, 25 Dec 2019 10:19:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 101E82073B for ; Wed, 25 Dec 2019 10:19:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="vrmpy9rj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="vrmpy9rj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 101E82073B 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 D4F4189E36; Wed, 25 Dec 2019 10:19:23 +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-eopbgr60057.outbound.protection.outlook.com [40.107.6.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id B8AA86E359 for ; Tue, 24 Dec 2019 17:34:52 +0000 (UTC) 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=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=vrmpy9rjq7gbhax22znLTNWddQ1zQ9HtBGWtkFEr6oUzeB2BO9oyIVFD4hFv6gdatmKv0SZbw3zLkHsUCFy7X3oDgT8ZiyfG2W93eNGTlRT9f2Y10odB7Fp7cdqwtPSaM8NSGYhwmZMeP3zh5//4T8ecwAidyQWEIS52i7epeqg= Received: from VI1PR08CA0220.eurprd08.prod.outlook.com (2603:10a6:802:15::29) by DB6PR0801MB1816.eurprd08.prod.outlook.com (2603:10a6:4:3c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:50 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) 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.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:49 +0000 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; 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 AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:49 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 666611e05d6633df X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DEE49349-58AC-40D8-A225-A0875AD6EF92.1; Tue, 24 Dec 2019 17:34:44 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rr3+mnWJIQVh1AtC5+PQqOMHZsEWbbsSe7J0+MUuTEDtEZET/LDmdAop/p689EQK6e13BkN7o6nu+egGKnHvJQMDSB+EeWLCJkFT9Hr9Wnn+IvRmJD0LIOCtecoDt9xhkyMeqSO0AqS//ksH6CwqshiuKX951LIs2CY99ixU13cge0MyRrgeH/cZr/uIcLfe7JITGUjA81TD/8dxFy68SBitARheL16dhp1cJlZTP7I9yzoJ5hTWdgvxWxQHOEyvgE+2PdkaYA0ZxFCDLbj9NaAhQG8zN5Khs+as1BxCn65hPmUbnbmLtzqzeJGiBPWUbFWfVqEusYRvy9B6eAab6g== 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=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=GMYE6sDHUOXZAbJfmpiAerTRXGI+PlpO0jKcFmvGVViMZrEDOXftd6otnJ2es/mmPnnIqTiPXGVKnZwK/3jzLW8uQ+rgn93EjG7zZYg9EjP5AzSvY94PXkBrNt8LeLwfJMuXusVoFahbKOGRNHhKksoTjw2yoeOJD/Y7eu0Hcwgq4Cz1CtGzqkcMPrF7iJ11nMPSk3DJBuPzUvE5jKozUIm6P8D9fkLRRtw9au1WlaG0a8Al/lnjBtDHLUsGAAa+ZrJBkQtcGRCwfcyY+ciaHQiPNltAP/j9c80rSYZCF3Y50o6viWJ7yoy1awDrxboTsGpZhERQoIUcxm+1CGk5UQ== 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 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=/4Fbeyxa4xk1mtIQf01xWGzMfySjhoIiCQk9dUa48Ak=; b=vrmpy9rjq7gbhax22znLTNWddQ1zQ9HtBGWtkFEr6oUzeB2BO9oyIVFD4hFv6gdatmKv0SZbw3zLkHsUCFy7X3oDgT8ZiyfG2W93eNGTlRT9f2Y10odB7Fp7cdqwtPSaM8NSGYhwmZMeP3zh5//4T8ecwAidyQWEIS52i7epeqg= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:39 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:39 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 19/35] drm/bridge: sii902x: Use drm_bridge_init() Thread-Topic: [PATCH v3 19/35] drm/bridge: sii902x: Use drm_bridge_init() Thread-Index: AQHVuoBq8VaaLiR3k0KgAe5FATOv1w== Date: Tue, 24 Dec 2019 17:34:38 +0000 Message-ID: <20191224173408.25624-20-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 7b657232-a77c-485d-8519-08d7889793b1 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB6PR0801MB1816: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: fjANJfh4qqnsFszmQ/eoj61fWnRQEHJ/Hug+FzbvnvMy7+vTiU+Ih+KD9FdnKD7VxnH0FLz1YVJQxyJRrZBl5XloQydgAUhBzrZ5iE+Hyo+zxRGKCTzWLC/JuCTmgkx3Rl9OwSt5qmQrJlWhMrjO1XOM29JJ4UvkQ63gVhy9xezhhY2jlGtIKAHm45KZuL/VrF+nL1VXic6rCae5vSHQKHpzGyzsaGHUHpskEH/gx2RcaCv+jCBQ+DnON2d42xgjRSwpIucFZGoK1mJ89RsUMnKSfVmvKFNeGfFwamqrKGtpwXAjQWKzIMPA720FxUm0pZM3rpadY1gbh96kSAAy0NTv/ecQIgjf3yAq5RT/lFJBTQRwahsqU2LxL9x1OmW3CmZ0OkxbZL+uNMYVkyeM2tiqgm9kAfIHfjS+VRr8ae2kpv9J7f1Hz/oxpYkv0QQQ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(376002)(396003)(136003)(189003)(199004)(186003)(6916009)(86362001)(2616005)(6512007)(1076003)(336012)(70206006)(4744005)(36906005)(316002)(76130400001)(356004)(5660300002)(26005)(4326008)(2906002)(478600001)(8676002)(81166006)(8936002)(81156014)(6486002)(70586007)(54906003)(26826003)(6506007)(107886003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1816; 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: 537341a3-aca3-4a6d-5b9b-08d788978d27 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ihj6vCXLzWASi/Kg/P9JyReT1jleWEA9Tqr8ACQxG3waNfr8yZTb8iHRces+9cz1AUHYMccaOIDomQh2M1aepVsq9/9JC+3zdoHi1w3jBkymL5yWUY7Dz90oli7QZT9UnWoasFswCIs9IddRB3gblUSCBOCpSfO+PK5PSR4v0kb7Yru2MDcVolyeviaf8yIShOl33OcWSg61ZHn6mLjsGxIBnwdFW5LBtzXXTpLV7RZu3ygjU+kokM69JX8UWVWoCyAiS8HW1Wr7Tf9O0T5GToPPEXBaPW+cPLD6T/o11npJyrxz6LtFlZAetbZfs1SY86vbjSiMGGqTt9cMQPRk2tpRBwE4p+1HKA65rVMnUVeTcyQZcL7sye3YyoNjtj42L4FQiavOh97xJQoRXnGqMlSWBCpGJjFZ7Rlxu/MIh6OvnQWufTcNGXIAnZzT7w7f X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:49.4937 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b657232-a77c-485d-8519-08d7889793b1 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: DB6PR0801MB1816 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 6ca297d78a26..6f454e5ce258 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); drm_bridge_add(&sii902x->bridge); sii902x_audio_codec_init(sii902x, dev); From patchwork Tue Dec 24 17:34:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310141 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 85E326C1 for ; Wed, 25 Dec 2019 10:20: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 636CC2075B for ; Wed, 25 Dec 2019 10:20:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="EA++qB1t"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="EA++qB1t" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 636CC2075B 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 4CF516E2D1; Wed, 25 Dec 2019 10:20:30 +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-ve1eur01on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::619]) by gabe.freedesktop.org (Postfix) with ESMTPS id E3DDE6E353 for ; Tue, 24 Dec 2019 17:34:55 +0000 (UTC) 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=0EVvXSzX8SkIMS+Anlo3xRslnuu0TmdGIPM6m5znj/8=; b=EA++qB1tkVig23Uigp387/0FfvVVJ4h9e7p7IP+dp9Rn35FMpCnyzMJK8vyYDtXzbcCTHj5WEQNsnV94UUspQV6pk38G2ioasKzUsNFJnIiZGcVVYpplo7ahFt1Qtn3UXxkITZzPM8ZJVuVecje9RmLVh2V1KI6K5cwZ4fFYGG4= Received: from VI1PR08CA0089.eurprd08.prod.outlook.com (2603:10a6:800:d3::15) by AM0PR08MB4612.eurprd08.prod.outlook.com (2603:10a6:208:105::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:51 +0000 Received: from AM5EUR03FT016.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::206) by VI1PR08CA0089.outlook.office365.com (2603:10a6:800:d3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:34:51 +0000 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; 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 AM5EUR03FT016.mail.protection.outlook.com (10.152.16.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:50 +0000 Received: ("Tessian outbound ba41a0333779:v40"); Tue, 24 Dec 2019 17:34:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 35f8ef058319cd54 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.8 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C8A0404D-14E9-45DE-9173-78065C85E900.1; Tue, 24 Dec 2019 17:34:45 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BPXIIMWd3ItmIxkZTXJqEMKaaiV4xBlRxYq5LQS8q26Kjxk0U0YAEAexSWUQPQ6odvZU9KC2fmXW9NSUBf16p+OAyz7PkULoTRn7HvXoCfArqiD2X9aMfyKWWfsXaCxBJeu8lQT3xAzmvTmWIuN9lLqVE48HrprOyRGz7yIyH+tCLrKPLEXtTFRYFmBwiaMr571ZL1hiHlhfoPiooxNmdjXyx++T0KqEuew02EREgR4ViadykJs5GhqM116YaNPNlnOUQwB+z827d/TENI64tqeeuT5RxjejrgQRWIrkWk0yxqHrb7eCWL2ZPRazoPfBi5oqk88UOGMZuseQmE5zVw== 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=0EVvXSzX8SkIMS+Anlo3xRslnuu0TmdGIPM6m5znj/8=; b=Vp6QTLThOaMFY/b5gCh8lYaE3hBNsVA0vSdfHnZbCky4ScpOiGk70u18mFv+85fVyyhqcZfSdlKvY1nSA4xzL2HWGx9zIQPSYbjXZeen8rcV3IXzTAeMVYk3yhYxLaG9X8yzlVwEyAk15e0VvJAfOKzKvCRkUbbLqkuEtpREXALigvoLYeRtgYlf6xhOfy4m7vZlgcoph0qlMPd6+vxvq6G5FlqwQ7mpnNB2D9DoX3jpUj86+eC30EVuLvyODqXeWJ7IXJt48TWdR2xTP3iUA+spUu0iBZtWrooBpaInLkj/XGhPQOilDTzHzUiiSIr6Y4ojy3bjqOnzBWmTsTPx5A== 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 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=0EVvXSzX8SkIMS+Anlo3xRslnuu0TmdGIPM6m5znj/8=; b=EA++qB1tkVig23Uigp387/0FfvVVJ4h9e7p7IP+dp9Rn35FMpCnyzMJK8vyYDtXzbcCTHj5WEQNsnV94UUspQV6pk38G2ioasKzUsNFJnIiZGcVVYpplo7ahFt1Qtn3UXxkITZzPM8ZJVuVecje9RmLVh2V1KI6K5cwZ4fFYGG4= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:39 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:39 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 20/35] drm/bridge: sii9234: Use drm_bridge_init() Thread-Topic: [PATCH v3 20/35] drm/bridge: sii9234: Use drm_bridge_init() Thread-Index: AQHVuoBrbjmmu9/dQUmnvg8+r41VAQ== Date: Tue, 24 Dec 2019 17:34:39 +0000 Message-ID: <20191224173408.25624-21-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 701214f2-dd7d-4c20-69f8-08d7889794a9 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM0PR08MB4612: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:131;OLM:131; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: 0i2JEJ/6Ev3EbLun6cxcSCZd21PL3SQZeKDGljoTdLkQAHuAozdwjDWcC6dku62tsbNSkFS4u6GkFpJb3z251bZp/DVG4g/BqC75Nm4s2XnpLbLNa4QhemIWev53h780AdmdySPm03FgdhkamAchAajFHH3xgwDVS2xvAzt9eqXvXfh1lInmL5FnUvpuluFH1GMc6HMe5/7+r25jVPn53apk+Bjv31CeInlzOTXm6UiZ0xk69+nhrc/zxnxQxRvJAMjLnIDaZLry2l6ieBbNWj9zQNo58JTrR1XqTF8PVCMCMfU1/pqhyLz98ZUwXXwcUzUs/9AOUODuhbcQ6zV4Zjjju66aphqPetYnoMw0KweacfEvSFsMmKC+LYKH6wfpJ9RJTEh51QyoMsCkhmcE+i8XVbTqvT7mz5+hmRKxCWYi+jKIxuS1KnxAag0JJb7K MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT016.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)(376002)(346002)(136003)(396003)(189003)(199004)(6506007)(70206006)(1076003)(4744005)(107886003)(54906003)(26005)(86362001)(316002)(70586007)(186003)(2616005)(76130400001)(5660300002)(356004)(6916009)(36756003)(4326008)(8676002)(81156014)(478600001)(6486002)(26826003)(6512007)(336012)(8936002)(2906002)(81166006)(36906005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4612; 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: aa1150a3-f9aa-433d-162d-08d788978da6 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uPAAKnaOXptDDA0ZXOuS6JnC/iNCeFbMiT/GRHUo5bw4jSbG9xysDYbPRlQ9MxRnOh96Bvdvse1i/jEuB5zSkcY7g4vLxcD/mPsgn9WbLd4bOWRdf+42feRyxroGA/AxUFPGNB5J+ZrepK/s521v74Qof7mVu5ISIyBMBvBtJcJHmLQLfrE3Z53fEwXRgx8+X5l7d5iUOe+ezOexyaiMXqStV9x2+9haTICqMhOLWlt0G5rzWi/v2HIXEB6HTK3VF+z80G0LDKBAJO8bXh5TON/XnYk9cqm9MsbwR7Faf88zn458MVv91runNeCvuB+eceoWSDovrg4Xp53WmTam0rW0Fkqa534af6TnOCY+Kob4I/6g3b8KkCknPxSeebbo9qarnrBUgN14QrpNAziJh84vssoTsGeptQ5DFIFdYx357SkPHfgF/psAN1+XkRFk X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:50.9642 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 701214f2-dd7d-4c20-69f8-08d7889794a9 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: AM0PR08MB4612 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) - update commit title prefix (Neil) 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..108cff6c87b7 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); drm_bridge_add(&ctx->bridge); sii9234_cable_in(ctx); From patchwork Tue Dec 24 17:34:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310131 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 2C5541395 for ; Wed, 25 Dec 2019 10:20: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 053B72075B for ; Wed, 25 Dec 2019 10:20:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="XuSO4xBG"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="XuSO4xBG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 053B72075B 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 3F2936E362; Wed, 25 Dec 2019 10:20:31 +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-eopbgr150081.outbound.protection.outlook.com [40.107.15.81]) by gabe.freedesktop.org (Postfix) with ESMTPS id E42016E357 for ; Tue, 24 Dec 2019 17:34:56 +0000 (UTC) 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=v53aWVHznm28DhdSWj+bbqsUrhZa7rN2Ijd6RKwk5wA=; b=XuSO4xBGDbB7LXEb+vrTezudWEmTrE944SQnaANZ5i+2gYCuyZWfda9D1CXrUvowLs+kHsc5tTMOCF/RpsTn4WZIfzXCA+4DxtyKGr+4Lx/r/cda6douNHIub6yE0w9rFynu8IJTJukA9sO/ftF7S0J2fNIQ6Hsw3K4dpzp9aQc= Received: from DB6PR0801CA0050.eurprd08.prod.outlook.com (2603:10a6:4:2b::18) by AM6PR08MB3670.eurprd08.prod.outlook.com (2603:10a6:20b:4c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:53 +0000 Received: from AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by DB6PR0801CA0050.outlook.office365.com (2603:10a6:4:2b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:53 +0000 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; 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 AM5EUR03FT021.mail.protection.outlook.com (10.152.16.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:53 +0000 Received: ("Tessian outbound 0eaff1016ea4:v40"); Tue, 24 Dec 2019 17:34:52 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: cd98a4721141abbb X-CR-MTA-TID: 64aa7808 Received: from c54502d9e00b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A07D49C1-6E2D-48BB-B09A-0F904EB7F8AE.1; Tue, 24 Dec 2019 17:34:47 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c54502d9e00b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mjxlcvDZYL1YzIgrdxpjtdDaeYpApFWpaPcpp3NIh6w+K75Jsun0RaZljro1mAIc0DGrXjfZhez3nGuAFAUqvydIRb2+2OHwLhDN6vvL/Rg9NLTH1nxIfqjPautnWqprooEJRycWOUYAZb8LZHiOV7EfxLGa3wzkXQwbqB18N1O06eBkmicB3ZEjgS8dUKSbSi+zeGoN9pENB2FiUcsA64RIqHXuL/QOVE/c8L6yeXFzMo6wzm9MDbP/saLIlq6LHgCVcVsw4jLsSf1tjngF6SS1VKGNJiK6XWuCTceYa0XfwZIKuGm5f9l0POVVAa6LNU6Kmz5cOhmP9kCUraIjyw== 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=v53aWVHznm28DhdSWj+bbqsUrhZa7rN2Ijd6RKwk5wA=; b=K/GQnUL1M/R/sGTR9Wcltu/BVLY/TO4XWH89MGi7KZ/0qGF3sDw1rkvAVt8kcSlD/6/LVXaIclCfxRi91FZ8d1h4vy3Uz27hXxTiDGpnV3jt+RiyKMM9x910/RRqStX98HdoOKPijcXeQCCdg3+ymckr0ORK9nWCZhmNiG/uIRgRq9riHzxKXipyu/TaVPy+56BLfBt2nZdfj9JJcSke/glVVEAEs92qSs7QRV9nfp4A8UJgAwbyVU3tSXQlLjlv0xepHLwoTxqSx7rJSUwb9ly85XE/wzKIVNHrEw9w7+mN8UhZmykZk+nRPzhcKAa+1lAq19xxsyWTSO9D2V0MFQ== 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 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=v53aWVHznm28DhdSWj+bbqsUrhZa7rN2Ijd6RKwk5wA=; b=XuSO4xBGDbB7LXEb+vrTezudWEmTrE944SQnaANZ5i+2gYCuyZWfda9D1CXrUvowLs+kHsc5tTMOCF/RpsTn4WZIfzXCA+4DxtyKGr+4Lx/r/cda6douNHIub6yE0w9rFynu8IJTJukA9sO/ftF7S0J2fNIQ6Hsw3K4dpzp9aQc= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:40 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:40 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 21/35] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Topic: [PATCH v3 21/35] drm/bridge: sil_sii8620: Use drm_bridge_init() Thread-Index: AQHVuoBrYwqF9kghjkGVCqsPYsD34w== Date: Tue, 24 Dec 2019 17:34:40 +0000 Message-ID: <20191224173408.25624-22-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 36c1250c-223a-4548-fad8-08d7889795ec X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM6PR08MB3670: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: eAvmc8C9AZsVS3I+UtFGtCDfgePTkdGv8pCYTz1MTYRuzhVsdHvNFiNc675kT1AtRDCrEcVNeM9yGIkj5u5oBTLQmf4g9aTVptN6goZ2qKNVMUst4vnHMN0qLQ0Bi4CqmiBwo8j263wRU0VoLohaYATGoBupjGALQCjGpoakoo//sQsPZQW5AdfSvFLzqhtWuOZYYE0Owp59H0qIqNMe3ovmOyCdk+YviItu+ZkXy1ZTYAKF+XS+v1cXaEZyELb4kb1Pn6Q6OAz09WyyAPFT8x0XLQCQZNjIgqrii0FkIigI/dGvNvqEnIdNpSjHRuh35faWFhYvx4+e2ScAKqb0A6kO3aUypC+7ng2+5rhdbO14JZ9uOjdmT9Qce1A6INadPeA9P97NuJoxvrPqaa0sDeq1c9aVBlKItNWHPYSTzP4dhi9MTB0X7QcsEfS+gQXc MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT021.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)(136003)(346002)(376002)(396003)(199004)(189003)(76130400001)(5660300002)(86362001)(2906002)(6512007)(4326008)(54906003)(70586007)(81156014)(81166006)(8676002)(1076003)(336012)(6916009)(356004)(70206006)(8936002)(186003)(6486002)(26005)(316002)(107886003)(26826003)(2616005)(36756003)(6506007)(36906005)(478600001)(4744005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3670; 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: dbb96bda-812b-4402-67ce-08d788978e30 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CMMaZY7IskguVxaaOM+kXqHWVf5XIkpIHRbruMWr0SR9nshfGmxf2JwqWsFR4z0zX0ljJwk4WH1joxaNqvIp7LsFpph3eFxImkja9FPFBrMT1D5ONq3B0NeR19HW9tiftEDTLhi8gqHUSiMJPAhs3Hi1YckN+7XOIusgZi3dT5gwVwnttwzoAohUGofYUW8V/nPIpvoD7CAt1FNmHIyCqboiCQyWIvfrOIWklzWdmqp+qR0OFIyYBU9BBjE+u3Gomg+5bsJ58UnxS6PgLozglbGn3kr49lUZ2Fz4hSdODaYUwRZLgxBQP9G1aKJcR36LFpbmgQ4EvO0KH60A8+/wnzNvvr7V1mbrWmqzeXjAhmnS7caC0W2df0yDsf+NPH40E0iLNEnXMbFrLNtkAWf55EnqjJLPiwQ3MOTy7xOZ2Irkc1pVEQltKmDUdtfGg0FA X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:53.2369 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 36c1250c-223a-4548-fad8-08d7889795ec 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: AM6PR08MB3670 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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..d67f9a844647 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); drm_bridge_add(&ctx->bridge); if (!ctx->extcon) From patchwork Tue Dec 24 17:34:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310125 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 E47811395 for ; Wed, 25 Dec 2019 10:20: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 C19562075B for ; Wed, 25 Dec 2019 10:20:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="kDjCuJwW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="kDjCuJwW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C19562075B 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 7820F6E0AA; Wed, 25 Dec 2019 10:20:29 +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-eopbgr60071.outbound.protection.outlook.com [40.107.6.71]) by gabe.freedesktop.org (Postfix) with ESMTPS id C17C86E353 for ; Tue, 24 Dec 2019 17:34:56 +0000 (UTC) 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=WQXNbyJJUA+kccB4NHiZM6Z8Dct9s1nfwVvcMcnYYrU=; b=kDjCuJwWWSwKVle/pG9449SCtb/2j5jgeOzH8EIaQ5GyAZ6KfU7W7F2hjQJ1uuT7ptdq1nJpsIjWuHVHb+rBSQlxzUKKOwIgE2XfHS7YdGRc1fCNSukb1npPdyLQV3Bea40HPyacR1L0pMHt+SwfgWARVNMuqDbarkXPf/VruiE= Received: from VI1PR08CA0151.eurprd08.prod.outlook.com (2603:10a6:800:d5::29) by VI1PR0802MB2624.eurprd08.prod.outlook.com (2603:10a6:800:ae::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:34:53 +0000 Received: from AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by VI1PR08CA0151.outlook.office365.com (2603:10a6:800:d5::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:53 +0000 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; 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 AM5EUR03FT063.mail.protection.outlook.com (10.152.16.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:53 +0000 Received: ("Tessian outbound 4f3bc9719026:v40"); Tue, 24 Dec 2019 17:34:53 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d38e904be3fd0896 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.11 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 07E92312-9CCC-43B2-AE31-2E02211E93DA.1; Tue, 24 Dec 2019 17:34:47 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nbfk5dnO8ov8aBQmxUFVsERzA/BdaAccgHdVuPM3QSjNlBri8ShI2S9cpLsBEH+dk9a+LG0xaXt3fjJxCWzdoFv1F900Ftlpd1/rdewQfzqoxEHDxh68qCjU5MrqfUfTMNHV4yxZsJHBXrWWoDyn7l3TQMS0Z4XR/aVojyJL28j+KvaPYlhN0FtdHO4L8Nf80jNsTrsOHwQ0k5JxrMR9NhWiaatDGeqKUPO/iq2qr6TFmv4AObTCwS42KRm2HtsB5rdfNLdDtLuNOqFjKTpZo+pJEPSfOLWbaLiCw10h9dcsXCtFwKFkcfCl+ttqSLv7eFOVI3bumZI7RE0hg8qbmA== 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=WQXNbyJJUA+kccB4NHiZM6Z8Dct9s1nfwVvcMcnYYrU=; b=HW7kJXx1izuTnOgw+4s1ruuLm8BAzT4EQe63+WPs0h5yPh52mjHfGQ2LmA++sBsD/c0ssU1dNWxjOjm3v5/g1j6hctwlSaGLoiHuUqbpTS+w7Bi7LN6qMpPbLho75Ev4k1MbmnDuvKxVpvYoidotyy8DnoTtNVhNKQ9wLQaEHPHemljr6H2oCBadWaZsQfNee2t1a4MaNim0LgtGR7QiNP6yxpz1rIDiJ5x4F5tDk+I/rvbzWhExQfAI8dr9/MHkOEPL1pWQ5cfqswzpa2acqZiLyKL2XY5OxKAzI4auHDRWsohaZAVRPwBrUf8jgimBvUvB/wXWQ2GxTSOSqBu6wA== 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 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=WQXNbyJJUA+kccB4NHiZM6Z8Dct9s1nfwVvcMcnYYrU=; b=kDjCuJwWWSwKVle/pG9449SCtb/2j5jgeOzH8EIaQ5GyAZ6KfU7W7F2hjQJ1uuT7ptdq1nJpsIjWuHVHb+rBSQlxzUKKOwIgE2XfHS7YdGRc1fCNSukb1npPdyLQV3Bea40HPyacR1L0pMHt+SwfgWARVNMuqDbarkXPf/VruiE= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:41 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:41 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 22/35] drm/bridge: dw-hdmi: Use drm_bridge_init() Thread-Topic: [PATCH v3 22/35] drm/bridge: dw-hdmi: Use drm_bridge_init() Thread-Index: AQHVuoBswUteUei9z06pJQdMSXVMkQ== Date: Tue, 24 Dec 2019 17:34:41 +0000 Message-ID: <20191224173408.25624-23-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 2f78a220-d490-407b-294e-08d7889795db X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|VI1PR0802MB2624: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(7416002)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: VO0a6uxjoyROXRiYT+fhB7vWYJl0Kx2xWNa2ea4FjZ9/TobFkHG9yA3ASmtFxVlir7UTeXHzeArDP0DjkEV3QwnNUEBl+sEgXFcGRqD83BVlUy2bAUeCgriy8f8G5hRCOZ1pT+j9OtiYFmiCDA3bI3EiO9j4T7P8c08/lKC6JpvSWOQ5EBlIVk4Yr0WEd3wUmMlR7mQxTcAsRFI90ZoRAJq1xNO3zZPxjfux4zBL+v3/4FcexPqFXuvzLCbBmZytAOsFnQkoVDCrgXR47IdSPXbBKX17ziLKp1Fzm25WuVQnsBWlpAvvKItpZg8p1zfcFxsOM/c+6zHsJLEnH22l/n5jon7X8TaiPX+JZjICWZ1TJwt+NQDZEhpE6832IubuX+RY5IY0QSRPY2EyxPv4bqmQkCznlHpRemitL9dX5j5HkGYAtt3MWS22DQCXuoZT MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT063.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(376002)(396003)(136003)(189003)(199004)(186003)(6916009)(86362001)(2616005)(6512007)(1076003)(336012)(70206006)(4744005)(36906005)(316002)(76130400001)(356004)(5660300002)(26005)(4326008)(2906002)(478600001)(8676002)(81166006)(8936002)(81156014)(6486002)(70586007)(54906003)(26826003)(6506007)(107886003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2624; 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: f263c7e3-133f-4396-34e3-08d788978e9e NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XRO+EbBaWEUT0rHij83xmMNbk0na0nmGmqIY0jfffcSg+/1/I+UNcUQz5SCmHcgnuwA6kH62k3BIT8ljxmUxKe1JF3hnoxtqgyoCOdrgR1duMDcCdtLjQQy3BCrainvO4sA8F3zzsQTuyGRBvtSjleS3P0784j/V4Wrc2Tg5RkXaQAXw9AljdY6N2yiFUGETL3W0tHHNIe5I6c56wwxLQgFMRy0va4o/8leQS6kVZxkomm0hZyM+RCB1nC6WGjYI1TDIgjlMNb4j/gvLvH6NuS385lgE7Gy5B/youlA+3h2DSz2Il/Q2t9b16DNBy3XZdF3PiLohba5bizi6M3WC/bIF4GQlxN/DD0ozGJdIruzYmfCSOZdQCDnN+IFStBTGFfxD8RW2fysm5G5th8NzYZC/Zpjxi1Jom4jQcwTdDXA0mDf/U8UNLLUiYvfKsOmJ X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:53.1031 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2f78a220-d490-407b-294e-08d7889795db 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: VI1PR0802MB2624 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 946aa1af8841..55a2a2f58783 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -2900,10 +2900,7 @@ __dw_hdmi_probe(struct platform_device *pdev, hdmi->ddc = NULL; } - 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); memset(&pdevinfo, 0, sizeof(pdevinfo)); pdevinfo.parent = dev; From patchwork Tue Dec 24 17:34:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310109 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 36B2A1395 for ; Wed, 25 Dec 2019 10:20:22 +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 1080D2075B for ; Wed, 25 Dec 2019 10:20:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ELVIlYjc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ELVIlYjc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1080D2075B 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 A967689E41; Wed, 25 Dec 2019 10:20:11 +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-db5eur03on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::60e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 949B06E34E for ; Tue, 24 Dec 2019 17:34:57 +0000 (UTC) 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=MxUQ3adGGyn1efzoEOhEUE/pg4kZSpiAI3N7A8/PO8U=; b=ELVIlYjcNKf90kRz0QtnWE0dkCZ84bhrE4aSPu2gJdcPaGAKeGVVcBpOyLWTobQx/HVaaZdLosz/IyaP3yFdsGI4ZRKlsDw52fVqurNkkvi8kOQ0qyOUmVuoHyy8FmZDUwXbJoXzejIn4WBfNLy7JfP6wW5NhBwkazp0KdHOB6Y= Received: from VI1PR08CA0231.eurprd08.prod.outlook.com (2603:10a6:802:15::40) by VE1PR08MB5119.eurprd08.prod.outlook.com (2603:10a6:803:114::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:55 +0000 Received: from VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by VI1PR08CA0231.outlook.office365.com (2603:10a6:802:15::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:55 +0000 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; 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 VE1EUR03FT004.mail.protection.outlook.com (10.152.18.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:54 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a3a6d45adc80bbb4 X-CR-MTA-TID: 64aa7808 Received: from c54502d9e00b.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ACB102B0-485E-4D8F-B75F-EEE2D9F61809.1; Tue, 24 Dec 2019 17:34:48 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c54502d9e00b.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dsIr140glYRP0hBlirGs0i8WrUAVm+HkTqRCSxorf2d9pWb7kHXJetzKX84R2YEmp0xbU6DJnxy9r1ixvCi9fGQSahErrObHs4xORQHaNeZ5jBaFbHo2e3isPnOAmIoSKzolqEEw876jrAEuXzj02H+1gtW32kU195XKV2WRZuVS8L/3GMDjff3HaB7LjQuWNDGKT78OmJDgiR09n5jLenm92ZQYwBUlpK4qMqkLAFKOa6xmASN9B+bIn54odLgVNAbwXPIM6yjSGUam3bQtPm9hKGgIdyt/1vsXiJooHRihbgmgjvUBZ6eMNg8aZTNbsH9CGFIqEclHtttXRBxv3A== 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=MxUQ3adGGyn1efzoEOhEUE/pg4kZSpiAI3N7A8/PO8U=; b=BxmhE59OXWEh8osLKtjI7lkJVY1WWjmVTIiWAHMfgFsDfJIFQgohUNVexalgBwydRw2gib4Y7sw3b4+JMXO5ik7XNp/PdEq3fSqaUeIv0/UBDt+TgkxrdZNjfqsZQPFkDDSI2vr0CdASRG1ZH0DpXiekKtHkFVnI7O/lXgwxCbUapUC8SZW34ie2AYs/e+msMFp10AOLYh1MDtmnMAHINywvLgC3ql5fJxLAFgnMQYnIsUt50AvQF/5zbS4P1sza2OnzhZ4LMdrWGPTTdpNS77deWwZ1sA+kJ5FwaX54Co+yzxTP/GkrAgYENggelE02MdMv2eSayscW3RJ3XYAG4A== 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 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=MxUQ3adGGyn1efzoEOhEUE/pg4kZSpiAI3N7A8/PO8U=; b=ELVIlYjcNKf90kRz0QtnWE0dkCZ84bhrE4aSPu2gJdcPaGAKeGVVcBpOyLWTobQx/HVaaZdLosz/IyaP3yFdsGI4ZRKlsDw52fVqurNkkvi8kOQ0qyOUmVuoHyy8FmZDUwXbJoXzejIn4WBfNLy7JfP6wW5NhBwkazp0KdHOB6Y= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:42 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:42 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 23/35] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Topic: [PATCH v3 23/35] drm/bridge/synopsys: dsi: Use drm_bridge_init() Thread-Index: AQHVuoBskCoEV+4xvkW/r7Tjf83qFQ== Date: Tue, 24 Dec 2019 17:34:42 +0000 Message-ID: <20191224173408.25624-24-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 638a9c1e-d739-41c4-0dfb-08d788979732 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|VE1PR08MB5119: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(7416002)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: hKzgOSY8XjrYcvbZoHFvmGNtGNp+H5qaXwxT+D6jaTiTzOLbAz5pqz9mr8kzYn6T0+6oZFLccSDEK8xA7CvBEILjX2FKa/6ST1waN3BoJdmZ795TAEXJoLAbxKy+vPYvgVWF1TR4OxoVN7998gK7ufVDr7huMcBq8juDDw/bsco+JwGPUzgCmP9tHXUhIuwVJyOHieU8cvhP50pD6zpLmp0/q0LEDLlla1GoVrqnRUXlfRcEOshGX83dooZDQiUztTvsFl8XW8JEwk359w1TCHCmD+jcK9Mhjbw92HpvbMhBnHlmA1GApAxodjTegayxDtDpo88PhK7q/lni/bvHLeXAGsmV8jEvvJ/DViCgfl8GSNqhmJTbcJqIj6E3arv6qMUuKGl3ouFLqGZDYUQQOl7OAkfd3Ca1jWtliFS7ThwLk9MehSOE9pnNcrjnVsdq MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT004.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)(136003)(376002)(39860400002)(199004)(189003)(54906003)(316002)(2906002)(5660300002)(36906005)(1076003)(70206006)(70586007)(336012)(107886003)(6916009)(76130400001)(26826003)(4744005)(478600001)(6486002)(26005)(4326008)(81156014)(36756003)(86362001)(356004)(81166006)(186003)(6506007)(6512007)(2616005)(8936002)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB5119; 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: 99b24123-f882-4dd2-da53-08d788978f14 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u5uzOYxq0gc071XgZ+QVdesL292xKorhjQEbnNj3XA9GpRvp4xkfgy02O1DxsJVOqecvj4ltNOiA91s4ANGqaDf1m4BJgC16etTD4Gl9WonHlO36mJDL/eNjy0olpoFbky1Rn2LUyAqpx83+HQPTISo+j4Fxhkl175Yvt9GPXAVap3j5ke6IGRcdj+DJFjfAqPwC8tmD05PihIzzN+/T+NtVonhpGf8jv0aCzgGTg+qle5SMwPh/B2N2VOUYgukvOXF5b1rk8VZvfzAvT1eDVtzTpaQfKnEccQMcGjgRaldr1p3M5oEpFFlxgj2S/8D16OjO/gz1nF7lEbVso+1iB+52ZSXfT+2Wo5PQQ/nFc7k1BAW2Unos1mwZU72sug6HYD0k+aXQEfyEXQsy7GjxyLFO+nbNHsaKB4qR2CAMC8EjsAun4Rai0JlckreOo+N3 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:54.1875 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 638a9c1e-d739-41c4-0dfb-08d788979732 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: VE1PR08MB5119 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Mihail Atanassov , Jonas Karlman , David Airlie , Neil Armstrong , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c index 3aa4f9289416..40530d0a037b 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c @@ -1064,10 +1064,8 @@ __dw_mipi_dsi_probe(struct platform_device *pdev, return ERR_PTR(ret); } - 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); return dsi; } From patchwork Tue Dec 24 17:34:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310095 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 9C03D6C1 for ; Wed, 25 Dec 2019 10:20:11 +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 797142075B for ; Wed, 25 Dec 2019 10:20:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="dQf9JZx5"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="dQf9JZx5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 797142075B 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 CE33789C0A; Wed, 25 Dec 2019 10:20:07 +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-eopbgr150074.outbound.protection.outlook.com [40.107.15.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 26A576E34C for ; Tue, 24 Dec 2019 17:35:01 +0000 (UTC) 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=p78FT+8NCxCE/ne/FwrX9Ll2HlL2RYRDQI2jTB6aGP0=; b=dQf9JZx5l7oSBjJh2/vLq67eedZcZMMPoWNjq3GkBJ5LlOCOuZpqWWeSpwB9CPC4Fhm4o2HHj5OVF8n83Zk5TJTYjute1bw3FVXYkeuZm+FHUBBitld67WhiZV21183GoboBgm9ExbG3gDpsDeFUStXbozcYRprf1H0dYAgfwHQ= Received: from DB6PR0801CA0046.eurprd08.prod.outlook.com (2603:10a6:4:2b::14) by DBBPR08MB4630.eurprd08.prod.outlook.com (2603:10a6:10:d6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:55 +0000 Received: from AM5EUR03FT021.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::207) by DB6PR0801CA0046.outlook.office365.com (2603:10a6:4:2b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:55 +0000 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; 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 AM5EUR03FT021.mail.protection.outlook.com (10.152.16.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:54 +0000 Received: ("Tessian outbound 0eaff1016ea4:v40"); Tue, 24 Dec 2019 17:34:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 20224faac2e31d1a X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.12 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A26B0EBD-2D24-4187-A44A-A79195013849.1; Tue, 24 Dec 2019 17:34:48 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n4U+5/u71dJYJ1w67sVJSQT4M9TJdRfAimyaecvbEPmXOjNu0mP9+0iYj1e69Rp+dml1CdmcY8Mi1E6zX3LTCNYN2ecL1zEW9UWHwJwnjUf2T3CNexKHhZCTtmLW3e9Oa5HHIYKTYYSVoLVaxHGm9OPLFjMvNX2Db4sNPrZ5p4HfVq/T6HGsS31MtnTF08NkkatGx70MyrS2y9kw3xHStI3AibpuAbbV4AoVC6VSiNOlj8SoApANXK0tpGwcpXUaL6KHcxwFxRdtnAuzXzue5edaFR0TFPLxwl6GiRTlCsOib7a6jKND97lpqwsbpr092YprfDBU95QXgUvBhfevvw== 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=p78FT+8NCxCE/ne/FwrX9Ll2HlL2RYRDQI2jTB6aGP0=; b=YjKu4293hRAgopKzIiYwaxIAVL/OYs95mOFlFwX/jc9glqZBnW29aTlURq61OWoMTbuTY1hecAPKutnUrgSc9qURhJAyuK+a6rjIWz4zVBK6GXFWIFoLqpFGmEi7WEDE/oSN6+stF99eKf/ZZcEqRDTGazMM+PubCFiKZxq/NjXr+kEYkBMRFlS88TVP0mxNL7ql4K78TY3eZgr73ri7Dmi9hwZB6Jb3mEosKHIkrxRQELMSlDu3D4tM9fs/zlV2QDt9yMgZ/ThJ/1TnAA4UAW68Ux650N4xNhxs41pK/OQkKD4lHcfmTNPA5ZzZuQSZWUwcJSVHczSMrEq+FzRvsA== 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 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=p78FT+8NCxCE/ne/FwrX9Ll2HlL2RYRDQI2jTB6aGP0=; b=dQf9JZx5l7oSBjJh2/vLq67eedZcZMMPoWNjq3GkBJ5LlOCOuZpqWWeSpwB9CPC4Fhm4o2HHj5OVF8n83Zk5TJTYjute1bw3FVXYkeuZm+FHUBBitld67WhiZV21183GoboBgm9ExbG3gDpsDeFUStXbozcYRprf1H0dYAgfwHQ= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:43 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:42 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 24/35] drm/bridge: tc358764: Use drm_bridge_init() Thread-Topic: [PATCH v3 24/35] drm/bridge: tc358764: Use drm_bridge_init() Thread-Index: AQHVuoBtj+SJ2aa/306pQMxDTmf0rA== Date: Tue, 24 Dec 2019 17:34:42 +0000 Message-ID: <20191224173408.25624-25-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 946ad457-ab64-442c-5933-08d788979743 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DBBPR08MB4630: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: uQi5Rt1yVJ6ZUQ2Boshgl4tbo8aRLhPnBw7tNQtOq3QsZmp4Ym01b4kJDXNfIVAGZVDm4gRpMxzQS916f6Gt6JM5pyAT3abU7kle4tSmixyrMLp6hr5GcTahGVFhEcX7wgEXkjtXCjJ6nLIylQfW6dAN7YL7EjbQ6BxhXOCD6Xpju+b5n9mlJZTZaCkIttw5ks7NYqaPUpPIBYjQ5iJzoLmBOKCZLzfbqNqz3ry170yZV2QZ4jn9d0RogEsCvvLYMDIZXFVsc/sZE4AfkDp4TBg+uJXIviF55q+8Kdzl02NLD/5hVH2F3zFL1X1sRl8YikjG+guxG9nacgNQIV4xernoQEnpUO2pgGfQ0offk0PvEwg3P5jS6HLkcivtEpegdHG1Vdga8in2kkBM5xeYe4ycYJTExMmruNM/L0UxmgXeZ6xNUR44NHIYev4SgXQG MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT021.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)(396003)(136003)(346002)(39860400002)(189003)(199004)(5660300002)(107886003)(8676002)(4326008)(26005)(76130400001)(4744005)(6916009)(86362001)(36756003)(6506007)(70206006)(1076003)(70586007)(356004)(478600001)(26826003)(81166006)(316002)(336012)(2616005)(8936002)(54906003)(6486002)(186003)(36906005)(81156014)(6512007)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DBBPR08MB4630; 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: 5af10545-ec85-4f44-aa98-08d788978f92 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zWzIw0sPaACCEN4OyQjXhPb3FlGBiVa6EaED/tMH4TgSdVCKDJ9IZsjN40n8oMVeE2uJMlJTz5I3/vxeO53Yak7FqWv28TPdc1Hgq4gDLfgSRMDawpCclrh2nLJfoVjTA9zp9HAYpqm9pqnYeciLH1yg7p/wt/lA3us4AhzaqckdpcmdWHKVeHCH5+ZAx+eEjhkH8bWj8zbliHmC1y31i6BHNw25sEZvGsLs6gjvLX/IX5jFtr77bhGmC57kJWlzJ1EJIwCRNfqbljF+NEPoqSMMFYG+1Vl5vfLTFjsd0k/ypY06qchPow+4o6VdzQEqc+fx9BDGE+6lsd+yAFxCkJwYQpK1dtODBFYOrsdGJTBsEOLgWy1sSNQro1W/L/3q4/mY7zzG++9xelGQOATnOEzYC6laHBHCHjTWM+u0wYzSCF67Sn3rbpacLc0dOUrP X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:54.3487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 946ad457-ab64-442c-5933-08d788979743 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: DBBPR08MB4630 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 e35e17b1f396..5525f530f2a3 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); drm_bridge_add(&ctx->bridge); ret = mipi_dsi_attach(dsi); From patchwork Tue Dec 24 17:34:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310137 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 77DA81395 for ; Wed, 25 Dec 2019 10:20: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 54EDE2075B for ; Wed, 25 Dec 2019 10:20:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="iyX2tu8Z"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="iyX2tu8Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 54EDE2075B 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 AE7606E354; Wed, 25 Dec 2019 10:20:30 +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-eopbgr60053.outbound.protection.outlook.com [40.107.6.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id 43AF56E34E for ; Tue, 24 Dec 2019 17:34:58 +0000 (UTC) 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=A/0zJrf0XLA5Sb326x6RiVHw/NRaNDEgL3SBCtwP5Uc=; b=iyX2tu8ZBr+uKxvw1orgKBSywVv7JJkcmE1nBeHOvOJuy2nBMIkUH9YmWwVdkiHGbhwpdBF2GQAo7RPFrI7UgWUP0s327AJ6HW5guCFzGz9shhAdDeBDH9VxtlizQVyD5tb1m82L0JTJHczoKpCSARLnWyDpa8t4aFiXMv7qoDw= Received: from VE1PR08CA0036.eurprd08.prod.outlook.com (2603:10a6:803:104::49) by AM5PR0801MB2018.eurprd08.prod.outlook.com (2603:10a6:203:43::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:55 +0000 Received: from AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by VE1PR08CA0036.outlook.office365.com (2603:10a6:803:104::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:34:55 +0000 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; 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 AM5EUR03FT048.mail.protection.outlook.com (10.152.17.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:55 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c5c018cc780c467e X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.13 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E7E4FB5C-74A2-44E8-97CE-33F88B8EF429.1; Tue, 24 Dec 2019 17:34:49 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fZ/x9HQP95ngnCj3aDhViIv8Cw82dEArBgifZBzDevWZtDuZHFkImPizPWh22j8KBI5ty4RGCcfg3tzL8XnjHyxcf3adDDZ+bf1Ko+5afabqbudquK6IRUfZq06Py+64owCUgtZ0oTfKIvv8K2Yj2Ebh4b3JnmhUB/OSYJ/wE5P0D680OhQe5LGmsDIHrlZG3yR5qDQ4jiHzubl9IGuKgt7x1Q5QgQTv7jgEflUZIfHf5g1MYV/DcaZppbWASDp5z+vQzoCdz5NISKm8ZJcf5F7xfVw7YnFO2FneaZG1s9SsODm6sMOpalVtCsxclzl+JKk3C0Ba3vOE7rlK38vDZA== 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=A/0zJrf0XLA5Sb326x6RiVHw/NRaNDEgL3SBCtwP5Uc=; b=DIQ7zQfd36eEiBaMbrCoRMDgmGlLznoltXMBGxlaGf/7zqQlHjt55/bnsm1TdG+ovWv/G+xi/PY/LlGHgPzFjwYiBnGu30ag5bRu2eP4K4+vr44KCQUqk+tFEA6qq3tNcDcVwkQkaWUMFgFhLeOduQPoO36X2YA9+R6kBkBvf39O0LsixbgFkm/AV2jUEnBWiHP3TUgu3EyXDpqtcODIst6DeSv+vFCaNGv64HE80I7iak6NRTSeaiQlBj5o5VNnOrc3XGpsGXFFsEyhsUmLYyPUycyLhPW8Fj1G65T2RjUmZeLSl8GToPLQrEGcwFQnyWi5JGVP1ahWwnmLxqHHrA== 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 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=A/0zJrf0XLA5Sb326x6RiVHw/NRaNDEgL3SBCtwP5Uc=; b=iyX2tu8ZBr+uKxvw1orgKBSywVv7JJkcmE1nBeHOvOJuy2nBMIkUH9YmWwVdkiHGbhwpdBF2GQAo7RPFrI7UgWUP0s327AJ6HW5guCFzGz9shhAdDeBDH9VxtlizQVyD5tb1m82L0JTJHczoKpCSARLnWyDpa8t4aFiXMv7qoDw= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:44 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:43 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 25/35] drm/bridge: tc358767: Use drm_bridge_init() Thread-Topic: [PATCH v3 25/35] drm/bridge: tc358767: Use drm_bridge_init() Thread-Index: AQHVuoBtcoOxVV09yUKPt+/sYYv9JQ== Date: Tue, 24 Dec 2019 17:34:43 +0000 Message-ID: <20191224173408.25624-26-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 5ab403a1-b800-4457-a1a9-08d788979716 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM5PR0801MB2018: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: miEMQwkbu6tN+vQF6GwVUJ6BXnM77jOqDJ/I5ufL7A8uVh2oe6pzJCjxBZHzpeSLrv6fW+g8vJ0z2tkF0kEbJoZOpe5HA6C5LXmr+xh2UTkaZ+nJvN+8IpWfaCi8NSVhZcNJG65052W2HkvPYfMClqRq1EzhQOJELHYY7exBlA1n4c7+zF0m4f1FefgOwE5Xef/wHfhSvknfoKEz49cBrpFxvnFXgTTNoVHAn4SNYosqyKJD3sm3qzgRHxWFqVQ2pqUk2zEJxzCMkUf+i5MqOnu/CB9yUwlE1difuPqTHH5tnc8Tdoqca6+pLfKabgN5WxnuOaK508ZCHWn6tk8uPlNHxbvbdztdF2GKlalCgiC6VmuSJuUYO99bVb42lQg51EfMB7cpLhG+APRAVNskrQuGh6ZtQk0IDAg2PjU8LL4sQfthOTHF8tyqzO1u2EGo MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT048.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)(26005)(36756003)(186003)(54906003)(70206006)(70586007)(5660300002)(316002)(36906005)(26826003)(6916009)(4326008)(1076003)(6486002)(478600001)(356004)(8676002)(6506007)(6512007)(81166006)(4744005)(81156014)(107886003)(2906002)(336012)(2616005)(86362001)(8936002)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0801MB2018; 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: af1d5dfb-2add-4d48-4f67-08d788979012 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aOWR2E958nQQRRak0FeUry6Nr/wd7V6EIa0rZedg+/ONE8Y2F1bSjPUw68GB4fTfgfZpI35HUVMCkyWqmYUvtSNy1tCQAkoJcky7OgyBkDK6yKlBa5h7YEEhYGxHgA/DEQUVBcB3vZ50cYAhvWKqe3XBR/+jirLA0zIooVryaLBLLBUkbmdM8H3yUIE3gVzVmU+i4fulZmfnqCaLE0vn4O9DQoy6Wt61Tg++nMfNvEHTkLyODtlQFvBWotkfxfn4zTsHsz+3n3YivNkBgQv/2MFzDeExRwEelIehe27rcObB5ok6p/pBXMDgQ7BBarDC9WIUB5nH7o1kRGKbo0Z/wPr6x4UIAgB0jBsTDz4d+OwF/7XqTL8TrgTF4j7voLrW64dkvLbwk+RbyK0eZ5KZ8iQUePyMGHRfrWMi3I+0+TgtQOHjimqL5q0CHGt29+Wp X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:55.1906 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ab403a1-b800-4457-a1a9-08d788979716 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: AM5PR0801MB2018 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 ab1524c00777..7f60c6d85fb2 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); drm_bridge_add(&tc->bridge); i2c_set_clientdata(client, tc); From patchwork Tue Dec 24 17:34:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310129 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 B47161395 for ; Wed, 25 Dec 2019 10:20:47 +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 862D72075B for ; Wed, 25 Dec 2019 10:20:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="IxPKYBuT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="IxPKYBuT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 862D72075B 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 62E3F89E86; Wed, 25 Dec 2019 10:20: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-eopbgr150075.outbound.protection.outlook.com [40.107.15.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 153736E358 for ; Tue, 24 Dec 2019 17:35:00 +0000 (UTC) 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=Ij1zgGB0KfFqajqv2PzSevnA3ctHjx8hNIITFYHHNAs=; b=IxPKYBuTlpAcK45NKq1I1EcXAPe5hkntZn070+6LGZeFIQyhEz/Ady1tEHg+FENfvDtn0TheXAS9ziSUInOhmvXTvjmRG6KHB3Xx+wXGK77BGfRMihQ97usqgPA4HhJpnVZcPjWyeMWtOCBpKFqbDYpz9oO6z1WYsU3SgcWId/Q= Received: from VI1PR08CA0160.eurprd08.prod.outlook.com (2603:10a6:800:d1::14) by DB7PR08MB3324.eurprd08.prod.outlook.com (2603:10a6:5:22::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.13; Tue, 24 Dec 2019 17:34:57 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by VI1PR08CA0160.outlook.office365.com (2603:10a6:800:d1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:56 +0000 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; 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 AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:56 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:34:55 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2a48b47ca8cbd3d1 X-CR-MTA-TID: 64aa7808 Received: from c54502d9e00b.7 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 547571E1-1620-4766-B034-6F6E66A31FFC.1; Tue, 24 Dec 2019 17:34:50 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c54502d9e00b.7 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=frY2BUWOCpwfq6WH0kNWOvMkAXgdnD50peGpvwHStx8KFW+gZPoWDf2EUwhQe6yTJVynNIeWmIUzeAM3z2BHYvSnu6NWTZcAAaFx4xe1IbhwyBYoT73re/DYlAmzWJO8MOoZUHRQ1WekC8ZjUUx+NEOc/TNCM1sBrDugm3b9klPasFEV7SAv/xly5xMf9CGS66E5Qfi76itgKhVZWYjq2lRn/WfN3Gfi0YHd/YE5Ioq4pYqpnwMZmnFGMA+qYqOiMyHyE51AnvnFQN9MlF2iCSfgM9f3TZO+FaaoFyuyH70D27LiKX8utOySTjLUbsC7ijWVvMtVqU5603LTvs9c2w== 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=Ij1zgGB0KfFqajqv2PzSevnA3ctHjx8hNIITFYHHNAs=; b=JpmOBjG+ztg2d65AzBK2UkGv70YQa4LOLXkEwklCqlSinfJWK9Wvyg7uJrOr/m3htytHAQFKJ3DmiYgmaeIVUYPjhJY7mSU4DU2I48YeCe4TGjKG6YTzVb+ex6kx4xBI5/JcAjiiXby9uSRMbc2xojbmPeQOF//ZQHRcw0tT0tEqE2OxA/V69S5vO6BdmdfSvWEgBkHY8aKhPXBSHKv5n0ZmAay+v+Sk30zRQX5oo6FqXxRk4ugKP4HrkoPsLlxXsilGD/K2m0tSMiAEB3q+zO3034wEmdIn0yQ0k15DTfNeXpbptFvx4DKOjG90fOA/oHwsG8VPZkXilVFbTv70rg== 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 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=Ij1zgGB0KfFqajqv2PzSevnA3ctHjx8hNIITFYHHNAs=; b=IxPKYBuTlpAcK45NKq1I1EcXAPe5hkntZn070+6LGZeFIQyhEz/Ady1tEHg+FENfvDtn0TheXAS9ziSUInOhmvXTvjmRG6KHB3Xx+wXGK77BGfRMihQ97usqgPA4HhJpnVZcPjWyeMWtOCBpKFqbDYpz9oO6z1WYsU3SgcWId/Q= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:44 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:44 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 26/35] drm/bridge: thc63: Use drm_bridge_init() Thread-Topic: [PATCH v3 26/35] drm/bridge: thc63: Use drm_bridge_init() Thread-Index: AQHVuoButaaZf4N+00m7TBopJFb9qQ== Date: Tue, 24 Dec 2019 17:34:44 +0000 Message-ID: <20191224173408.25624-27-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 45064ac7-87ad-4fbf-dca9-08d788979807 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB7PR08MB3324: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: WMsyq7C3kfZWGUUNn7sKk+UO1rof4nJh3GmA/3BnvvGh0U5r8gc5a8Z656ifKaHG77//HXIILcfQSO5lWx2caCYxnxKjwKjcT6fLn90m1lX8JxKPIXjIn7ICikI/aEofPhlf7+CG1FFYpamhTT4Jziu9eJjVFdalIDZh8E7ijndz0ZE7WUKsyxLZ51IbIxo5LRh4ZqDXtxRnM5vSF//OsiOzm+Ko38HsHgOHx2lxW1HR02LKYoRCgePOtHITS9aH/WwFnuRdVzbS/a5++rG2GFlqHtKq/WU1Hu0b+O/+fC38/LrjIYgujU/swanNXW6JhRUIFyeDwLKqtc7g+n5wXBWvTNGphwwB591idjW3y8OscY7lag/JXrY3/UhyfSu+hjHueLKjTXVF7ssL4+S3ZBgpLTGN2s3Pl4gXjF4rptN2OiHN1mi6DXDVWZLfhy07 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.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)(136003)(39860400002)(396003)(189003)(199004)(70586007)(2616005)(107886003)(316002)(6512007)(36906005)(54906003)(1076003)(70206006)(6486002)(4326008)(356004)(36756003)(76130400001)(4744005)(2906002)(5660300002)(478600001)(81166006)(81156014)(8676002)(6506007)(6916009)(8936002)(26005)(86362001)(336012)(26826003)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR08MB3324; 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: 861b6978-b8f6-44b3-6dc9-08d788979090 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uEYZiOt9ZbDaLokzCo0GXPHneHeomWJj0TZ29E27bbP5NV4jXCHe05nD3qmGtqufIImzTpWud6dBmYmqr9M8jx1B61H8Gt5Duz1DsryP6v4m3o+07iDX+VyPFsPnpt1Tfnvyv0Knss4PcDX0CjLn1FCQ0ZNJXA0f1csNeTn1smTR8oTpsGN4MBCOHOcR5kLsPtG6ZKtZK+pNFWgLlocek/EQISxU7z4pzfyASXdqMD77S8zN7874HvKvZSwTkNV7qU8xMbZPmlOqu+dzXCaO+GQHgPojCeB/Tul3CUkawX9i/aGKp9JqHLP6b7Dw1BuRczZpTZmVwQCrq3RA3v0g5TbVDSVh6IJps3cam0NVBbWxMJ4pQC+io8e3vsNRfTrWI1JdMyxDCRvEBZAOQK2S6LiRKZ/DRnSZKkxNfiVdYaWSYfM6mTP+ng1YvwvBIj9v X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:56.7695 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 45064ac7-87ad-4fbf-dca9-08d788979807 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: DB7PR08MB3324 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/thc63lvd1024.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/thc63lvd1024.c b/drivers/gpu/drm/bridge/thc63lvd1024.c index 784f4e4eea05..30f6a76850f8 100644 --- a/drivers/gpu/drm/bridge/thc63lvd1024.c +++ b/drivers/gpu/drm/bridge/thc63lvd1024.c @@ -218,10 +218,8 @@ static int thc63_probe(struct platform_device *pdev) if (ret) return ret; - 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); drm_bridge_add(&thc63->bridge); return 0; From patchwork Tue Dec 24 17:34:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310087 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 39A531395 for ; Wed, 25 Dec 2019 10:19: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 131E62073B for ; Wed, 25 Dec 2019 10:19:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="zyDkZaj/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="zyDkZaj/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 131E62073B 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 95D5889F0A; Wed, 25 Dec 2019 10:19:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130077.outbound.protection.outlook.com [40.107.13.77]) by gabe.freedesktop.org (Postfix) with ESMTPS id D08476E34C for ; Tue, 24 Dec 2019 17:34:59 +0000 (UTC) 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=ZnB80cckWBIAQafLN0IPF91ce+g5Ht7qeutJ2eb+7QU=; b=zyDkZaj/EkSLpTmgA9/jx5/nb6hn2b7SpmXBsSySpUBORTWe2sQFUxjZ2AYj7hvyMqHkambLDenV/FocPhTDHtBU0SclhtF3KvTi9kan0dwSWy174Eo88nZfnWTDwUX8uBI38YFpNps9oK3CE4PLxg9zcd8QSA3jlDncCLteo24= Received: from VI1PR0801CA0080.eurprd08.prod.outlook.com (2603:10a6:800:7d::24) by VI1PR08MB4381.eurprd08.prod.outlook.com (2603:10a6:803:f8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:34:57 +0000 Received: from AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by VI1PR0801CA0080.outlook.office365.com (2603:10a6:800:7d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:57 +0000 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; 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 AM5EUR03FT003.mail.protection.outlook.com (10.152.16.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:57 +0000 Received: ("Tessian outbound 4f3bc9719026:v40"); Tue, 24 Dec 2019 17:34:56 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c55a258e76e13e4b X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.15 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E889DE88-3357-410B-81E4-B1EB10EFCCBC.1; Tue, 24 Dec 2019 17:34:51 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GHk/oocB6h1FOsJSSs4UzP9K1stzn/RX3TbP7O2+c01egkXDrc2qrhORNnOW7G1uElB1zYQiD/PRJls2GDRGRx76g7gFK/ZTg5uZlxLrf+VHE1sMVId41OZk8eiHuDTbBe9HfCsoLQO7OPNU1UDvQhGvaTHMLOHLQch/UICKkNu1LfPggnHJGPmq4tYGcEBaV5AiO2pvQZ5eMjiJd+qTGzdWYkf+rJMcxTuzeUCfzWMO6QA+TvjzGdWn+wxQiufQbto9b15XDYloPEYXP0j62lDSZr5bgniyyqhdfqgBatfvWaMEE+1MUV7xpTdwtjskWxiy98RgiOjYl7uSXAmtKQ== 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=ZnB80cckWBIAQafLN0IPF91ce+g5Ht7qeutJ2eb+7QU=; b=en+jesXrQmcbU9OoE5PFL+SCCWT6sotl8PDJqfGL8Q0KLXBFZGohrLXrC24ZIipLLUGoYapso0a8KnbOjah8nkzkOa/S20JS2wH9F7nvCN1ZVxtsJM/R5LK/OuVOjlMUAynfP8128Whoq0K/BbKx+a3T4ybh2ETPBwPRxmjQbuAXCBbmDawKw/yxdsZIn/e24qQQZMYNRaRe9rcqlUgB9v2IN2v1j/bZT3fqAWZAYayPcCtQ4dn46G30wjbV73VYXFjVCDQpzN9uD8hkpZhRCeKsmmZqOYK4wANWSil/i7At47PZFbQPozgQisIkOX8kN8ZxjroaOQbpZ+5rbxspLw== 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 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=ZnB80cckWBIAQafLN0IPF91ce+g5Ht7qeutJ2eb+7QU=; b=zyDkZaj/EkSLpTmgA9/jx5/nb6hn2b7SpmXBsSySpUBORTWe2sQFUxjZ2AYj7hvyMqHkambLDenV/FocPhTDHtBU0SclhtF3KvTi9kan0dwSWy174Eo88nZfnWTDwUX8uBI38YFpNps9oK3CE4PLxg9zcd8QSA3jlDncCLteo24= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:45 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:45 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 27/35] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Topic: [PATCH v3 27/35] drm/bridge: ti-sn65dsi86: Use drm_bridge_init() Thread-Index: AQHVuoBueFK3izZu8Uauiq2d8cLB6g== Date: Tue, 24 Dec 2019 17:34:45 +0000 Message-ID: <20191224173408.25624-28-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 7ba810c1-2de9-463b-5aa4-08d788979864 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|VI1PR08MB4381: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: pRgUrvrRb5q66klerm2j6rTE05IkB6ogY2B9OirsyQ1M6O22YfI5Nkybof7kreoitje8/YFaQsKmvRh28QuKhquvkfcWp1HuR4aaoxggB46DhcK2F/QV6qzMPqh0YKK79h0r8eByu/2BANIKxnxi0kX3ICjQViZm7Ne0RGpxRrtbS9NtnHxTqp6KR6tqVlImbFMlemIpMfWO6ca0gFizq6KtxZY/6hznaOIVrcahTqfHQ3P9PWmFijKXMKmohl8aTncVw3LT8hw1j+W/jXguFfiKeX3cvT8Tc780flP26OVMFwYzzMMe/s49q6hMED4pb9NW6xI8FlT8jKIpnlIDSoAd28Vl+gdWizR3oUkYFmp9MVgtys5rqlZRaWnayqXauoIif3gy3aZzOkAoUGgdRMW8uS6u7TUJSaNtt+TRE9b6rJHJVgvFf5Dbl6GQeuus MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(396003)(199004)(189003)(6512007)(316002)(81166006)(4744005)(54906003)(1076003)(8936002)(81156014)(6916009)(2906002)(36756003)(6486002)(86362001)(6506007)(356004)(478600001)(70206006)(70586007)(107886003)(76130400001)(26826003)(8676002)(2616005)(186003)(4326008)(36906005)(5660300002)(336012)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB4381; 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: 8edd6c70-46e0-4be5-7331-08d7889790ff NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KT9A+Q/j2QPY58KE7ti4SsPwdR2xjMoHbu2m3MXCRqzUulqPhdqs/sFLK9Uckz3k1d7saLjs0a6ar2CMBA41jgeg9/5lQYOiFFjf3wTel+NWrShLuD1vKFikJ3IHNU4GYSnA1yBtrdJwmHbK87BYq1/Kad51cltgSYnKBf5Z4AaXY47Mn6JvFwiwj9Zeg9jPxwpSuTHnAvL+wHse+qoko8OmfY1gAIBX5BTOzf14ywdJAzPZsdlgF8Xaknqv969N2xsveznjmnbhgT3OOFmwKCNsntves4lTpI6Kso2feYa7pzFCXWpM2olfpInpkd3KfAhSvOrV9JhOwdkKneQDk+0E05ckSuz2aEZDCNOI1irKXriAYWpcb0mCDDszy7cwKBaj3otbL9Q/btwHXHpWVbKSBq+cgeQ5HrL3snC6O0rV6xYRAmKYICn8wL5pVLQA X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:57.3616 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7ba810c1-2de9-463b-5aa4-08d788979864 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: VI1PR08MB4381 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 8a4e64cfca1e..b1d2690fc218 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); drm_bridge_add(&pdata->bridge); ti_sn_debugfs_init(pdata); From patchwork Tue Dec 24 17:34:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310123 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 684731395 for ; Wed, 25 Dec 2019 10:20:43 +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 45B6B2075B for ; Wed, 25 Dec 2019 10:20:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="usmtWERA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="usmtWERA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45B6B2075B 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 BE5EC6E0D4; Wed, 25 Dec 2019 10:20: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-eopbgr30087.outbound.protection.outlook.com [40.107.3.87]) by gabe.freedesktop.org (Postfix) with ESMTPS id 07C956E357 for ; Tue, 24 Dec 2019 17:35:00 +0000 (UTC) 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=kxRYpe23n7dy7b4xNr+17/rCdHeDZtT2aEL2+bftShU=; b=usmtWERAFD61jhkY/vAg1uNWIEkDrelRPx4MG8sENRUIAppI/occBfDw0wffBCk3E8a9hMEeYDenkIpm7ctFtlauTId/0fwyIfLLi5kaUEgfs97yObJNSNvNY5nAQP09ZZqHMxnsX2L+cy+1XAva64DArLgSWHSj0SEmH737DjY= Received: from HE1PR0802CA0012.eurprd08.prod.outlook.com (2603:10a6:3:bd::22) by AM5PR0802MB2449.eurprd08.prod.outlook.com (2603:10a6:203:9c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:57 +0000 Received: from AM5EUR03FT044.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::201) by HE1PR0802CA0012.outlook.office365.com (2603:10a6:3:bd::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:57 +0000 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; 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 AM5EUR03FT044.mail.protection.outlook.com (10.152.17.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:57 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:57 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d8019d59f46ddbe8 X-CR-MTA-TID: 64aa7808 Received: from c54502d9e00b.9 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9D08A116-2684-4791-ABAA-9C480227C20D.1; Tue, 24 Dec 2019 17:34:52 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c54502d9e00b.9 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RrHn3wQ6M0bvffvQ5b5c6bynU0qVBFqBvkgn6O/QcuPKtjV2SnCrgY4rMtzGdgwh72ol/Oovwa8RCKJtpUgeYxtNcO2o+Z0vqtQZ7jvkqKR9wYITZ977L7rJ+doIS2cycEDEduEstBP62dfPtR5VxZGxGMf+h0xJsgrwJMox4v0CFAaFZFYhiW37epApZCUN/drUR+Fxl/qB/v2CvpGeWzs2BHY77WgHTzxQ+gDANnKOoKGrLunr6VeE/XxJ2HQGDqSBDG/FplL3T306RG5QpCE+ohm5sw2ZHg+8H7nvXGGj455sVeCid4CDhD/k5utfEC9dJSVmXlYDZwIMuoGBBw== 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=kxRYpe23n7dy7b4xNr+17/rCdHeDZtT2aEL2+bftShU=; b=cCPjC8pusJvRQ1JthGSdhnsbwenkeSoX83lPenmSYqklEBo4sIbBrCtw5i9DfNQBkOfHqQw/wxifeRHMVOSi6oQaJt+h87r1nOXE9YL2sJbQbCUm3tVI0W15aBIiXP9YCwZ/PAVtxz4B4E5p/XRDcu+h5ksRysMlB2dPeiEatkxbSe3wV73U9uyJ5kQal3eT6nG5ChdhuKF69hekTiquFYBRefGMTgsgjJU++7C6Eog+8cG9e8lG8MeEp22PiFNnkfXTnQ3BfbF5jpc9Yie1S5AkuS5eJ0ceNahH4Fppdz9RKNOJGWbRpBUJj76AKOjxFpquEWa9GTNmHh6ZEqUbMQ== 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 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=kxRYpe23n7dy7b4xNr+17/rCdHeDZtT2aEL2+bftShU=; b=usmtWERAFD61jhkY/vAg1uNWIEkDrelRPx4MG8sENRUIAppI/occBfDw0wffBCk3E8a9hMEeYDenkIpm7ctFtlauTId/0fwyIfLLi5kaUEgfs97yObJNSNvNY5nAQP09ZZqHMxnsX2L+cy+1XAva64DArLgSWHSj0SEmH737DjY= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:46 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:46 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 28/35] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Topic: [PATCH v3 28/35] drm/bridge: ti-tfp410: Use drm_bridge_init() Thread-Index: AQHVuoBvobAi1dyG3ka8Omo6Vc03LQ== Date: Tue, 24 Dec 2019 17:34:46 +0000 Message-ID: <20191224173408.25624-29-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: b56c1ff8-d28c-4948-5686-08d788979866 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM5PR0802MB2449: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: 4psd9pZKHwp92gt0NScfDJAWbQ6MmDKL0W7wryD1wKv2ji+jSVYfr+1sHGFJK5/IS3HU8gO1c7hkR5rvkE0W83m26/vQU27nB74hztp0bxmQaDXJJBid91eEj+QRvKuxx0BeOYKhMB/UhbI97HJ06NVzS4jr/EhubkeRbiD/M6bxl3P+NrlaBOG0xQ12DHZ8QMLTD2urgSy2U6UWkUbhuMblkaRMYB+vIZFeR8Ld7PknU5bqkC+6WFCAtu6ZuqeDOWJJkuW+wdOJsWnrn33oWgyA+fQzXZln0ZoYQzMLVMIcnMtVRiSsWmTyfaEPUs8WO9H81Ygnow0D1hR3TiMtSrxL4Zca6F1sQqMsSKj7nG4m2Y1c9p2HmZmBpVJ/txiZ/EHEm/a/JEzQ4h0l/RP5fWvcP+p3357Ipd0GC/WefNn8bvdHBI/ZW8o6xsO5DHSx MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT044.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)(39860400002)(376002)(136003)(346002)(189003)(199004)(6916009)(8936002)(81166006)(2906002)(26005)(5660300002)(6506007)(8676002)(186003)(1076003)(86362001)(107886003)(81156014)(6486002)(4326008)(336012)(4744005)(2616005)(76130400001)(356004)(36756003)(6512007)(54906003)(70206006)(316002)(70586007)(26826003)(478600001)(36906005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0802MB2449; 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: 560f428a-ad90-4358-e966-08d7889791ad NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GZ1BLaxLbmawW6W+g1lIdIB+Glwz2W6TMoQU8VSEPavUb1TMUrdEB8h/DKzdy9SJb+HH2e00yoba05g442xXOwe99dfe3hh0lqOdCW5yAlgIW+W+d6MFmv4xUQzIsZPZjouEhIJWJjO6AGfefeF2XY2oLmPe1F8cGtxnPJDKyYViguTxe8S4kYRWOpqehp/Fk8GP4C9ajI6Qqtx7e0lRc4BuIv3cA3pnP7h1oYZ2ofRZUhnP5x88YvFhqt26gikSA758FV3QHr0x2SH/kILTZMLjUQvAn0yahWwOjAi3d+ZEUKE2k6srYh0QAVAemV4RQu2/tYYaG1y8kszOqDvEhs5HNKa4S1SBv/IwWrCt9CrsIogbTIUAwEWbAIyLrMJJFDF+5+A7G4IDhcyUJRjU36Ogh7+X6tvMJwA/qvOYoGRgNLQnHcb93ZwJaMeR5W4g X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:57.3896 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b56c1ff8-d28c-4948-5686-08d788979866 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: AM5PR0802MB2449 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/bridge/ti-tfp410.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index 76229367e2f4..6371530943a1 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -328,9 +328,7 @@ 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); dvi->dev = dev; ret = tfp410_parse_timings(dvi, i2c); From patchwork Tue Dec 24 17:34:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310149 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 345566C1 for ; Wed, 25 Dec 2019 10:21: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 0DC2B2075B for ; Wed, 25 Dec 2019 10:21:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="td2erWyA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="td2erWyA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DC2B2075B 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 632606E365; Wed, 25 Dec 2019 10:20:31 +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-eopbgr70049.outbound.protection.outlook.com [40.107.7.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C9356E358 for ; Tue, 24 Dec 2019 17:35:01 +0000 (UTC) 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=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=td2erWyAbEbcpwoN55M57FuHctDvJyKYN82v/JmDG16cc/7PLglaPQglxjyIsnIWf7pipBv+E8cXE+R00McQwMCM1TaAuLEzJC0GOOWnph+fhwjOe6Om9n4ASbiW56/ssRN+VitKVMsv+bbz+a2TLD5Tp/HEIyZh2UTli1P6M0s= Received: from VI1PR08CA0090.eurprd08.prod.outlook.com (2603:10a6:800:d3::16) by AM6PR08MB4454.eurprd08.prod.outlook.com (2603:10a6:20b:bf::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:58 +0000 Received: from AM5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by VI1PR08CA0090.outlook.office365.com (2603:10a6:800:d3::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:34:58 +0000 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; 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 AM5EUR03FT031.mail.protection.outlook.com (10.152.16.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:58 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9d3a1bdd31e541b2 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.17 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C55D55F3-DDD8-4DE0-9C1D-C3FC67248690.1; Tue, 24 Dec 2019 17:34:53 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XcQB8XbgomU20APihe96xG8kWnRoDVzupRzJJ0kACEAOe1D4RDCxJAn96c8hcj0+c4PSINhuz2Vsoma4Jewq4sHAf8iYoIDqw7fkV7xTY23DUiQvtDCbU9ZbmECs7sUmpVrbw9DNVFivDqGjyJWeZKC1ysCN/0Q0VTncKoyrylGfHLIw9CLb1O1O04FCL6e8dl/i8kOSTGgg6TLYTfwj38FAGrOqKsaS1ID/lhgrTYHwkVzWTs+Zxu6hNEI47JXN3Ixsqf+lT40TdevIR9cgEYLp+maWUNIbAhx4z+mUarwV5RIJB2IZwD4wBRJ+OAjKa/rVdNwQU9ku4VCNMa3fCg== 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=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=KIE+YVdntT8NAWoykz6TYB4vQEMzlkZ9ZqW0FV2EQKZfpU4I8Rxv41KxjCqaRTpvy+91+VKT8yuDi2okca2ShwbEogsuNH5XjmLVeb4cMyWeIe/9VeevZCeeVBXdTjTL3xWDS0/aOoQFTEDOgdi1vYm+Oy4cqleC+qL8UY+r3cDMmfRX/MfP3OYqQpAYq8+51MBCOVmno1Zhu3oKaBX02FJhobZRArgvzZ6voXUk3XO0Sk51eOOSIOF+wscZ3BcgaIgNioSjW/jS4pDCEj9JLt4aD5z87IpbG+gdFb1QqJoxnmM7xKUGBEDOtHY4lpsNmxtT5y6SwA+Ep5kE06MPSA== 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 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=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=td2erWyAbEbcpwoN55M57FuHctDvJyKYN82v/JmDG16cc/7PLglaPQglxjyIsnIWf7pipBv+E8cXE+R00McQwMCM1TaAuLEzJC0GOOWnph+fhwjOe6Om9n4ASbiW56/ssRN+VitKVMsv+bbz+a2TLD5Tp/HEIyZh2UTli1P6M0s= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:47 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:47 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 29/35] drm/exynos: mic: Use drm_bridge_init() Thread-Topic: [PATCH v3 29/35] drm/exynos: mic: Use drm_bridge_init() Thread-Index: AQHVuoBvC3rXHYh6JUCmNkUa0coD7A== Date: Tue, 24 Dec 2019 17:34:47 +0000 Message-ID: <20191224173408.25624-30-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 88e7e29d-6b29-48dc-3fb9-08d788979913 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM6PR08MB4454: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(7416002)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: MJQp0lrj4tzSqzpOH/xk7MDMJ+O+NcL+p+zPzO8ffuCPeZoFftGg/u1DmkpDf/AgASUpFcU8HjZLpCMpcQDMWCnd5XCDZ7F2J1X4Upl9ULzhqocnYOiSYxqEKyW6vlkVz6w9Aq6tQD/JB4g4DU4zZdLhzfdtE2w6MtUYu/3YLKzOCcXffzReZN7TGc2MBfz+fSoCy5eNSTDz3uvKd6vcMNwGVtYeqAUsAg8Vt2WgYaE4cdmgQyGAYqaG8lWtmjb2zrcy2GaP7r/yHlpq1ZG7REYMfn0S9ug+LmJ98eNUBTUu34wtj7jGRiGpLR+atp+L1sKvE4DhfK8B61LR9Ztys2jZV8yV9x9gEgU0X7QsxejEpW6B1er2yyTjHzkVpyfq7lfwmdLLDMMMDOwsuhIZTZ9O6RPShaY4A78zr1TB6rGT9fsAv0YhMY3y/UQDXZHF MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT031.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)(136003)(396003)(376002)(199004)(189003)(2616005)(54906003)(6486002)(8936002)(26826003)(81166006)(478600001)(356004)(336012)(316002)(2906002)(6512007)(186003)(36906005)(81156014)(26005)(4744005)(76130400001)(4326008)(107886003)(8676002)(5660300002)(70586007)(1076003)(86362001)(36756003)(70206006)(6506007)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4454; 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: 1b4ac4f6-3c22-4f27-a3f6-08d78897922c NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HmXWSjh3UwtiDc54wnjpdmQAq7SujzgXm9wYDZ5CONcXlUtK7fj258ULU+t3MyMarYO7OeMoWoRVHpO4tJNq4aG2D/qpXuPJYJH+xL+zoMxVwOspsm31wy6MCct1TK01osXkrb1nE0xfIpE/anEz7TFTDuVqzMRFOrdY5qyWlIBIql8fuoO2xehQdPWEMHrmYW1QKiuieS1EnMtyG8Oojj3yGNxokb9eOFWVGTGM7zw9Yu2ohXJgbgjovamQaf5ZdLstVXoK2kv67s82bjU7ElL3loX5Iz4f3fRlU2eG7SIRS0GrhDRqZUaVPy6kXKNu9O9t2Hsg5epTQ1sWJoIAbvvGPE6InqKAiQWgR1BMwR99l4FRrHvGprX+y85UpFt4zY9vOyh5ERGIMriM1JQp/eR5jPobzlCmWDijrVGYV3hMdzWbV4EVvh1AUyxn4CF2 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:58.5268 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88e7e29d-6b29-48dc-3fb9-08d788979913 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: AM6PR08MB4454 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Seung-Woo Kim , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , "linux-samsung-soc@vger.kernel.org" , Kyungmin Park , Kukjin Kim , Laurent Pinchart , nd , "linux-arm-kernel@lists.infradead.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Cc: Inki Dae Cc: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 2b5f10c3a285..3bc9f81d0170 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -420,9 +420,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); drm_bridge_add(&mic->bridge); pm_runtime_enable(dev); From patchwork Tue Dec 24 17:34:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310085 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 C70BA1395 for ; Wed, 25 Dec 2019 10:19: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 A45492073B for ; Wed, 25 Dec 2019 10:19:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="b1kCR7ul"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="b1kCR7ul" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A45492073B 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 B63B789FAD; Wed, 25 Dec 2019 10:19:22 +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-eopbgr20044.outbound.protection.outlook.com [40.107.2.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4F14189458 for ; Tue, 24 Dec 2019 17:35:31 +0000 (UTC) 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=EVZarQjsU28R+N1QwEuqps/CDVpSAjCmb1/79SiplUg=; b=b1kCR7ulEtXtWbJj4MY33FI6/j1Eg4U98FE4WX9cLBBruZGb6nWeVKOsc/bOYEIeBK8idRI6xUZ0IutnVAQ7E84R+bgwZzJM+ZK8CsbFHH6rG/84qL1slsaC+qa8KqfIfcXPGPFFNQHP808vWJOIA8VMsCkGp6pjqPOJ2oXtFL8= Received: from VI1PR0802CA0028.eurprd08.prod.outlook.com (2603:10a6:800:a9::14) by DB7PR08MB3577.eurprd08.prod.outlook.com (2603:10a6:10:4f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:35:28 +0000 Received: from AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::203) by VI1PR0802CA0028.outlook.office365.com (2603:10a6:800:a9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:28 +0000 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; 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 AM5EUR03FT043.mail.protection.outlook.com (10.152.17.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:28 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:35:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: adfd243c25563ec9 X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B3DAF619-FB6B-47E2-8BF8-7B013B5426AB.1; Tue, 24 Dec 2019 17:35:22 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UOqKo6HTKj4v/hU6S268kIfCuEmWAZb1N7mLkmTezUDpohM0GpWMJvd7T+SC/k3CZwTcpk9gqG6c8KI7exOknmwuLdJv7ruDsc8C7UueuA5d7GPxODb3Tc+vgY2PnAnDbqbgHgc6fb0AwReCQFSQ/Tlp0pj3TtO95nOgR8DAV8Tyz/gBiGoANUUOJXLTyLq/ld5kC/MCcprKoAvun+jQ9AbUVbNWpCJjiwz/B5aPvaG8urWeEQtgPmeKGUfR2uMMv0JX8hVT77LqTyct9yHINRd2UJ68SywYB0Wxz0yqfhzcgfu0DbPVm1fNRyN/Eb6YI8AgG1YvGWUa/66inNUd6A== 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=EVZarQjsU28R+N1QwEuqps/CDVpSAjCmb1/79SiplUg=; b=PBBjBw2wSvKwdNlrL/+i1O7PXMJofLSwJozxPGA7Fo+ucwdKtOFguy3UrT/PWiRWMAkWf/9RzkTNMoJ9I5ZXmmZVTcxMhQy8lbTpDITY3KkyeI2yUao0ESQ2bFpWiySveLThrrEuo8PbRaW+mb5JHfy+dlKwqL5rBNKoaSgycqFfH19D4me3/CA1OXP22pfoLZccoPaGHl1bfLXEe41sWAzGCTpSc3dj28Nb1rWwwtaLCvci52BMRRJaIYJFnZm7JYbPk15IlabzIYmd8EZWQI7pcSdyul7KEXhC2hot+5i/VDrd5nBeuZKbuW+BYYXG4sSZ0iwMn259drVxUWRGpw== 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 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=EVZarQjsU28R+N1QwEuqps/CDVpSAjCmb1/79SiplUg=; b=b1kCR7ulEtXtWbJj4MY33FI6/j1Eg4U98FE4WX9cLBBruZGb6nWeVKOsc/bOYEIeBK8idRI6xUZ0IutnVAQ7E84R+bgwZzJM+ZK8CsbFHH6rG/84qL1slsaC+qa8KqfIfcXPGPFFNQHP808vWJOIA8VMsCkGp6pjqPOJ2oXtFL8= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:20 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:20 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 30/35] drm/i2c: tda998x: Use drm_bridge_init() Thread-Topic: [PATCH v3 30/35] drm/i2c: tda998x: Use drm_bridge_init() Thread-Index: AQHVuoBxMitMAq+IjUaHDTMsFdoeCQ== Date: Tue, 24 Dec 2019 17:34:50 +0000 Message-ID: <20191224173408.25624-31-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: ce4e29fa-6af1-471c-a538-08d78897aad4 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB7PR08MB3577: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: NhdqPEbz0LXM1p5iKp1G5BthBtA5F57cyYnQXLff6nmCbhW8rCkelu+JxtPiM3zSK3g0oZSNCutiFT80Q5eKaQ5+F4IJk97JjUUQeZz1lmc8ebMq65SlY9uM6EZvjAAiDYKx75Es/XPFLC2WzGoaSQ5/1UV6jZAEttFj73rbLaQcD97x+P9SrlNtWYf8ff4LAoA2d5uGsA7uyy6OYP8g2RtpZJbTaOFjQXqNcxbhaqGjme6uBZziraNubjlO3Ndz/Y7E/dPl7FzL2eJ5O0I5IH0KEWrBbhz9CJxputsjXrmmL4As3OwpN7uM5IRiiJUsCzDm66ZWg0DQXYTeeYRS4sDM6vPntA1zRWDCKdzRYmYeFF8uP+sz4XdYXCJe98FyJ27U0wJUsB1GH4SIlmvum7l53B9U+OWjnR9P06zz7DpoustW2iB7C+jkLZfdKTZZ MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT043.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(396003)(376002)(39860400002)(199004)(189003)(8936002)(4326008)(336012)(81156014)(81166006)(8676002)(478600001)(6512007)(76130400001)(70206006)(70586007)(86362001)(26826003)(36756003)(107886003)(316002)(4744005)(186003)(54906003)(356004)(6666004)(6506007)(36906005)(6486002)(2906002)(6916009)(5660300002)(1076003)(26005)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR08MB3577; 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: f71dee4e-a68b-4a4b-fcf9-08d788979444 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zxV9Cpeh/gb1c36LVe7XzQl3noVOiL0+XjD+CjNExJBvQtrbZgFX0AEeivttpsvHvFJ+Rk0N3j69GN1pxmilaviogoGGkQilnWjTx+zioIuHfK3A0tSYSTC622a5HY4i+7k0LVaDujLFPUJtlHNxljpPjDqnjra93hqTa/4N+17PxFv1Mmks7VB88PspcLRRV2Fvewtyb12a9dZEJP4T9s1HBY2ytl4shx0Dknrd2in9I8VGvzw2Eix3gzg+1khvS4AhAYb/lQt/vI3Olga/VDxx+ilklFc/IP+BJ77FiV8g7FRBTMPBZgGxGhMY4/JgOZxFEDcBFFPwf1PPeOV8FgaMGtQ1G6htzfF0tEV7yCKzb20qzJceBexFvCZyHIyJDwl5NNKr6UQDLC7vKVSPloG72Us1jLSrY0gM1ghHcUkLgdHNi773BU3lSY4CyHGt X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:28.3075 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce4e29fa-6af1-471c-a538-08d78897aad4 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: DB7PR08MB3577 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Russell King , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart 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 17a66ef3dfd4..90475d4eec58 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); drm_bridge_add(&priv->bridge); return 0; From patchwork Tue Dec 24 17:34:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310105 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 2A5231395 for ; Wed, 25 Dec 2019 10:20: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 03F7C2075B for ; Wed, 25 Dec 2019 10:20:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ZNt0E1Dd"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="ZNt0E1Dd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 03F7C2075B 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 8E3A589CE2; Wed, 25 Dec 2019 10:20:08 +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-he1eur01on0603.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::603]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF4E689F08 for ; Tue, 24 Dec 2019 17:35:34 +0000 (UTC) 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=nSddLAR0jflJWpR96m9UopNDehVW1WTXbYCakstnGSw=; b=ZNt0E1DdbOdir9Wr539J/nq9wkWrhKT13KJQbM71cMh9LmbNPcj1WIGMDAoURqxT48+2ix6OZNvo1rlJ4CSGLmKPI+Lgk5wder21nOKqfH2u0U6a6OuQYuKIEQaqOZzMNpaiCxMtyNx2WFmHEVuvD60qAgpqLgm048ziM+t1vYw= Received: from HE1PR0802CA0023.eurprd08.prod.outlook.com (2603:10a6:3:bd::33) by DB6PR0801MB1749.eurprd08.prod.outlook.com (2603:10a6:4:3b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:35:30 +0000 Received: from VE1EUR03FT007.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::203) by HE1PR0802CA0023.outlook.office365.com (2603:10a6:3:bd::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15 via Frontend Transport; Tue, 24 Dec 2019 17:35:30 +0000 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; 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 VE1EUR03FT007.mail.protection.outlook.com (10.152.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:29 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:35:29 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c5c057ceb54fda99 X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4C63363E-CD39-4084-AE0F-DC5D74A3041D.1; Tue, 24 Dec 2019 17:35:23 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BVm4S9XfB02kG7qv+RibhEC5JRCGJL1c36mX6xZA1gEvXNsziCjag1hF5uVDmuepoj2NF3igMR8I0q8CHRV/USbsPC/doQHPEpFz1DfwZ/g3Vq3/sQiPl+tvveimsVSCeyPLhJbubvCwdWnzHsUFd8ejduGzhpvInS7TXXAeN4NOVaFRUBVw/soBMMUax5XgAcRRTcQ0Tj433en007CDpuvwwRrBExVls1E0rLxwgcMYQNRJgkF/9zRnIykFd6Aals7Lld5XiQ7HAzOTFuyZxwxe4KQSviIQ5iBm/ZBYFOWfniBAgwRHAh6sEebMfRNuDPPi6I/8c21QrDDd5nxrsQ== 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=nSddLAR0jflJWpR96m9UopNDehVW1WTXbYCakstnGSw=; b=Q9VE7aZ+5bV4HCVRPzV7+Da4b6DyEgpbaRae1++AVkhiyHJw65cRPmlXaJdMigi/16PCM8e4lklYoOqaIDBfyLU9Ho+X3ZX1d7AVW8acbDTzviIuTLapjXZ9O/i4LWlcEUKhs71W4l7Q/OpQLT1eGdF5fYOY0PrVRrauaDw2izl+zfUgv2M5mfIsPO52S5vW+4dWw5ahvtTjHFXElioVRy46enPusQH6yKpEPr/pEioyeS4SCRc/ufoAvEP9vgPPNwuTdbX9jR6JdwD4OCrBJRES8jEbb6DKcnpe0cUAkNu1XODCfQQuUg4KnxUhD8JP7f0BRFwADXKlvuMuhQsOLA== 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 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=nSddLAR0jflJWpR96m9UopNDehVW1WTXbYCakstnGSw=; b=ZNt0E1DdbOdir9Wr539J/nq9wkWrhKT13KJQbM71cMh9LmbNPcj1WIGMDAoURqxT48+2ix6OZNvo1rlJ4CSGLmKPI+Lgk5wder21nOKqfH2u0U6a6OuQYuKIEQaqOZzMNpaiCxMtyNx2WFmHEVuvD60qAgpqLgm048ziM+t1vYw= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:21 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:21 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 31/35] drm/mcde: dsi: Use drm_bridge_init() Thread-Topic: [PATCH v3 31/35] drm/mcde: dsi: Use drm_bridge_init() Thread-Index: AQHVuoByEOZJRE0520qmoz8x9vCV0g== Date: Tue, 24 Dec 2019 17:34:51 +0000 Message-ID: <20191224173408.25624-32-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: c549cacd-ca5b-4156-7e1a-08d78897ab96 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB6PR0801MB1749: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: RIlK0vxYm6M7TdWnoxPff4rBU6qP312fISfo5lEZJzMzS3BrREzuvMuZbnovXVwLs1r2Pbn2jmyqHWsxkSToBiMOFWzrNDg0Ba3cFifsu4ljVnaHZF3PHPb2iKH5SCUppxorwZdt5ionMtHTAfBk4CP/db21sqUDLLNGQgMcirNI5I1GaeDx32SkXYNlIVz/A/NSTCBQ4FFiv2rCetiiIw19iCiBh3UII4Gchw9B/y4iUAB1PG/p28VNim6wiuJs1eZhYZzmfFlRQ/EGWQo+gxhwEh/y4HVdygu+oobgbtBdZSAN+KuGHSWLPet7ng6WGC7JrxwriAIMiSQ+WboxXB7LkjxHgtqN0RncNsQxhUKnkIxK/hLoI2TbRy/sl8GbVuvWA1zXjLd47ZaQ9yiQKCeXkFW7/p8hmpzKm5HTUkcV3Ift7ZsakcOLxXUG7HZ4 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT007.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(396003)(39860400002)(376002)(199004)(189003)(8936002)(36756003)(36906005)(86362001)(6512007)(81166006)(316002)(6506007)(54906003)(107886003)(26826003)(8676002)(4744005)(5660300002)(336012)(1076003)(81156014)(478600001)(6486002)(2906002)(6666004)(70206006)(70586007)(356004)(76130400001)(26005)(186003)(2616005)(6916009)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0801MB1749; 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: a9116a1e-db12-43bd-443c-08d7889794a8 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cX0JW7TPbCBS/lJ8DyQStibjbb3qZjzcdVB4kk4dm9lQxKdIF4ky/zKjrKWQG2PGyaHeFtRmMFY1AFucHxFapUqtmBBWZ34jTZowgsvWkblX3b2CF0q8JySp3Ujdp2VY3XrySqHog5U/Q+tT6Wv7pKIrkkXgK45csDsKmsAO+42Nhg8Y+jLNjZ46JiitiwB/szzDPytvgMQb9Z40WH1Jp4XFpJQc5p0zgTlu25hH9VjZFWGhx145BnaCi+GRbVrnRjBC9hApn9fDhcp6T+llk/IRCU2EWGfPjLGB0rC+H/0222hsEvbht/MEROwsums62AJm4SF5jo4fDoPIESf7jbpbZSvYCWsgPcit6Ylv1TRrqyYqVUq9GU4SHcghz5gpAcVAsU8vS7UiBLnl84gD313rYxVci1HnKx0Hl2sp5J1Ytq7z+24CoAiGxgGqgCV4 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:29.5349 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c549cacd-ca5b-4156-7e1a-08d78897ab96 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: DB6PR0801MB1749 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Acked-by: Linus Walleij Reviewed-by: Laurent Pinchart 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 276a77c020c7..cf7ec4aaebd2 100644 --- a/drivers/gpu/drm/mcde/mcde_dsi.c +++ b/drivers/gpu/drm/mcde/mcde_dsi.c @@ -1098,8 +1098,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); drm_bridge_add(&d->bridge); /* TODO: first come first serve, use a list */ From patchwork Tue Dec 24 17:34:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310147 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 770236C1 for ; Wed, 25 Dec 2019 10:21: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 39D542075B for ; Wed, 25 Dec 2019 10:21:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X0JPwCEY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X0JPwCEY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39D542075B 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 7A1536E2D7; Wed, 25 Dec 2019 10:20:30 +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-ve1eur02on061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::61c]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA8FA89DA3 for ; Tue, 24 Dec 2019 17:35:33 +0000 (UTC) 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=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=X0JPwCEYU9IiEM99tpyztROfHShsL0+cdRnGcje4fu8BWimKT/ReJHp4LBq8diDGEdiONjvisjEwtgbTVUmagDZMV6eo3mzlZ73Cobz63zl9YNHPcVUFFVr/VTuBUgYBy8bA8zjH/J2ZEdYGe59Nv7UfPSj+gQ5O7HEBAVYzDwg= Received: from AM6PR08CA0024.eurprd08.prod.outlook.com (2603:10a6:20b:b2::36) by DB6PR0802MB2296.eurprd08.prod.outlook.com (2603:10a6:4:87::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11; Tue, 24 Dec 2019 17:35:30 +0000 Received: from AM5EUR03FT051.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::208) by AM6PR08CA0024.outlook.office365.com (2603:10a6:20b:b2::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:30 +0000 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; 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 AM5EUR03FT051.mail.protection.outlook.com (10.152.16.246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:30 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:35:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f874434845d6cb7d X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 64153F3C-3911-45CA-AEE2-3284817689BB.1; Tue, 24 Dec 2019 17:35:25 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQZe7+y40eK4v2MVKdPjI4R3EnPJftMsYARUjHxBKq+d20PiDGwzzCUiZAW4GZ3UjSh65gYgpR8thPN+LUk7tcS8WFiTR3KcPuSHRSsyOeo71cbG9o3eMo1xfrlwvX3cNDZhRSXCzP6/vI0rKNuYtbwXsAee47Sj4aSbU1HFqu+DEpSHZCZWKFbtW3AiElINlj8t1LUeHDjleWy44DpaMWs37CYGtmo8DJYtGYpIIwGYhj+M0HqBXOPgCdC9FTfQKCl423UJtaW31U7E5XelWlXYQH0Wjs/yT0DCl11GBejzKrJy1FL1fED8LJYd2hCJC9KfsPvK2bW4EBe0xRzd/w== 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=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=ir1daXCuMT8RuIPlKBHWZnEXJPm0ZQWvPtEQ6Oj9Aroi14gwTJd8EnWBLrphoFnEyk9YLVWWOhy6kx8KncMJ7V/Sp0dHlGCgBZRLXWSJPj6itAciMkvo7GYhJa9HcyiG0njJY2GKzzYMGUx3vUYqQnixJa5I9KUUoR327Aff81oVfMctlA9k/9NciKnQnbPM3iNQalpExGvvGdD7T4T260JheWD1dd+htabRvs0QcqsbxyOIO9icwNdhh0Xo1yxtvd7yOaN3mt+lnoHvlRQ6pyKAiWLmBE/rbct+7wxwHEJOJK5fexzop4JtlWicDjWvijJ02qJgYcTfqnxIAp6u6w== 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 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=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=X0JPwCEYU9IiEM99tpyztROfHShsL0+cdRnGcje4fu8BWimKT/ReJHp4LBq8diDGEdiONjvisjEwtgbTVUmagDZMV6eo3mzlZ73Cobz63zl9YNHPcVUFFVr/VTuBUgYBy8bA8zjH/J2ZEdYGe59Nv7UfPSj+gQ5O7HEBAVYzDwg= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:21 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:21 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 32/35] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Topic: [PATCH v3 32/35] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Index: AQHVuoBzYhz6qpsZD02IuqSUEsF2WA== Date: Tue, 24 Dec 2019 17:34:52 +0000 Message-ID: <20191224173408.25624-33-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 0c0a51ad-8f80-452b-1bc8-08d78897ac54 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|DB6PR0802MB2296: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: cV27tvp6q+UWLP46VckiQyvP5aTwvS1N1FO//Sa1bQJtMVlJg0cCX6ZqfFddtvAqYTplJUk37WTAVi8T6TfQz+2ruixxI07udErqpndpSY720uOIIC0bqnqKiaOX4WALtDvRJXJg+FnIhYxhIhqMtdwWIiLM9erAlJm8HnHNC40wen+Bt0XrYQXBoUKbzsDKMkTcdzVdWYumK03P9Ffyo8ODpshCV+LKWUlTltdJIvX4gZ9/jyZ6wXkIQ2TQb5A34OwDlHSHZ9brSumYMU372Et5d71f6nDvo2ryunf+TWarZYw/SzSIZ9s4LLqxIJv4uudzf8O1f3P2t5Nc0uzB40bJ3S9FwZEtDU32PJmvZnjeoZ5sw+JUR8bobNfPmRDpJdYD/aLhyaRgr+tcHsATB4LKY9eUmH0mAuVjo+2mNLJkJHyxj9LYtbNxnZY857bb MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT051.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)(396003)(346002)(136003)(39860400002)(189003)(199004)(478600001)(6916009)(36906005)(6486002)(6512007)(336012)(54906003)(316002)(36756003)(26826003)(4326008)(4744005)(1076003)(5660300002)(81166006)(8676002)(81156014)(8936002)(86362001)(76130400001)(2906002)(107886003)(70586007)(70206006)(26005)(186003)(356004)(2616005)(6666004)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0802MB2296; 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: 15250682-1cb5-4aa6-b4b9-08d78897956a NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o7xsMY4K8NkaSgkU3dhgDXhDpYAAV/Qf4d0UDX9H3Meuaxc4Ik8NBYx62hkT5IzzUolxJTHq7wfs8svcW/pq5RRBGPUcl6dCpaUVEBJlzR3rpU9fUTDX3bDYp1LMso7PLsFcZ2t9pc6tE+VitkC1XqAVYEChF/4yMA9Zf+f46NPrzowx4Jcp8EeNFqq9RnelAT4gveTxF89HCgY5QoieMgAY8HRRrVOX77c0aXcAVD516cCFHTdt6Hwpx/J+MiV6s+nwV+zj0F813fZipWX0v7Tt3gOx2cYPP2F/CjS53WaqTvgV7V+oaOBngCuw/oIB/hVQSRad8vRzxZluUd73mOIDlz074QKlrbGLnKcvuF9HZzEXzu0t2ykfF/JhrMsb+eNeA+qBmUVnjzHI4StZ3evc4ZMw+zMFxcC2C58pLJPXZhROGyquSzVWn+OJ4Gzw X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:30.8256 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0c0a51ad-8f80-452b-1bc8-08d78897ac54 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: DB6PR0802MB2296 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Matthias Brugger , "linux-mediatek@lists.infradead.org" , Laurent Pinchart , nd , "linux-arm-kernel@lists.infradead.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) Acked-by: CK Hu Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 5e4a4dbda443..a5fd2b68e407 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1710,8 +1710,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); drm_bridge_add(&hdmi->bridge); ret = mtk_hdmi_clk_enable_audio(hdmi); From patchwork Tue Dec 24 17:34:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310143 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 3D83E1395 for ; Wed, 25 Dec 2019 10:20:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 167E62075B for ; Wed, 25 Dec 2019 10:20:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="GvnExLyE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="GvnExLyE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 167E62075B 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 E29476E1E6; Wed, 25 Dec 2019 10:20:29 +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-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7D89989DA3 for ; Tue, 24 Dec 2019 17:35:35 +0000 (UTC) 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=P/4mLlkITaiqzafmh5tZJUGYkm/G6cc43JjBasQZ2NI=; b=GvnExLyE/PeZJXjQI44rThdUgYze2bYdTrIrl+Q6zSrFLqneDxFI4xBJMUOVi7jFuxOcfPXN6qCNRxaTON51pD2eqkjd6DH/XLqaYQ3leIbANjVSJDu7oLKtTdyM2eS8C894XzqQBlZv6ByLw/ms/thJFFkAIRK4ubCFwi4LiWM= Received: from HE1PR0802CA0017.eurprd08.prod.outlook.com (2603:10a6:3:bd::27) by AM6PR08MB4215.eurprd08.prod.outlook.com (2603:10a6:20b:90::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.18; Tue, 24 Dec 2019 17:35:32 +0000 Received: from VE1EUR03FT007.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::206) by HE1PR0802CA0017.outlook.office365.com (2603:10a6:3:bd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:33 +0000 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; 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 VE1EUR03FT007.mail.protection.outlook.com (10.152.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:32 +0000 Received: ("Tessian outbound 1da651c29646:v40"); Tue, 24 Dec 2019 17:35:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6dfe8de81180e841 X-CR-MTA-TID: 64aa7808 Received: from 526b35b85630.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 949A8CC6-31A4-43E4-8C93-E3E920D62B9F.1; Tue, 24 Dec 2019 17:35:27 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 526b35b85630.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JY2Yx0lXcnwZAeb6d+Se3v298iD9vK6fJgXsKlyoER2W/lR9sr7NLowUE6jXq9Y8jS023dUZmQYTsrlu2RJY53F0pUs1NTSQbvLI+3DJLYdmteXWHdjAlzgpfyCjbJjD64EcD49ot9Ho6NwAxpdStv3LmkyiYmpoxcLCVmB5cZoEBbQ0R3Zh0WNjQ+zFt+lcg9f0c2YQTzwacxUSHMwAfbHpxvBfy1SKL4BoQ+IdGP0CcbwHi4ffrQhRs98qXLcsK+PijMLHD2ajqDzkcg+rBeuQpCcNszG64pUWVxM8eod29x/d1I1ZoxL+QEhyd3IIjk1BW8ED3roKgZcm6zAQNA== 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=P/4mLlkITaiqzafmh5tZJUGYkm/G6cc43JjBasQZ2NI=; b=bmZRbsADyAd2IXXS12fpcgU/n2pHx+b6Ii5pdCAMemxWdiVJPvhm+KgRltDm31grfWBVCYzl5ffz9laROvRw1NyzJ++zW1biS0imlwWrbgLORp920P7wT2Dvd8WBUXFZRaZoQBoP+ilGKvHNuX/JYTwAEjtgWbR9sqIuBMMDwIhwPF2zg/mq0HlwgA9hw5HTDKBr+yuD+7WSHcVV/OLYpReLsIg1MX7/ebrZCOeSM5DdffDf6++RRmlXcazYr1GbTp9Pw+9O3rnUytGyWPCFgoTyls1yNIV1xie3KCTyM3upqBm+rQmfFmEatuupA4i/Y1lli12y9IHuctyEeLhYJQ== 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 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=P/4mLlkITaiqzafmh5tZJUGYkm/G6cc43JjBasQZ2NI=; b=GvnExLyE/PeZJXjQI44rThdUgYze2bYdTrIrl+Q6zSrFLqneDxFI4xBJMUOVi7jFuxOcfPXN6qCNRxaTON51pD2eqkjd6DH/XLqaYQ3leIbANjVSJDu7oLKtTdyM2eS8C894XzqQBlZv6ByLw/ms/thJFFkAIRK4ubCFwi4LiWM= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:22 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:22 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 33/35] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Topic: [PATCH v3 33/35] drm: rcar-du: lvds: Use drm_bridge_init() Thread-Index: AQHVuoBzbOkhey/GIUWq8XqS7VOsBw== Date: Tue, 24 Dec 2019 17:34:53 +0000 Message-ID: <20191224173408.25624-34-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 3b143703-d2b8-4eaa-6f48-08d78897ad50 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM6PR08MB4215: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: qxKy7U0RByUEXquqLo6cOlvqE1HhpYa1s3/n9K/Ul05wyR0pnGdOjlEF+GURLUWxrmUPSMberNMNXrwtus287r7bLSXWbfb3tlIfLqpxy064txMcge3E+dLHpbfgLgwUbQ9qkIo9t9mUA/pP+AdN3H9jiphK9+ux3nbrMWpx4OtodgQdCXLiQHGppoSzTB/WTgkVRCq3KfJodWLiquLWM/loRZ53A3/IPs8Iv9tFJwEqOQw+rt57yYsrZumSJm8FSnl8BUpKsQKKPxkMLXMlqxe2VEdoP/UMg8bGJxbTBvStNUS8Thlv0o9oLIKCsnJaLNh8/NyhwlmvMfr+AwlVcaA4oTeV/F6pn3eoKr+Dv4dR7XkudCIUzIlIiiRsmiiElJUgKdi9RpOmaJf3ZpvW55NDAFtRW/l2DjfBkO0/Gt9fzl872lPLQ5VZZt+3o1ms MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT007.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(346002)(136003)(39860400002)(189003)(199004)(81156014)(8676002)(2906002)(6666004)(8936002)(81166006)(4326008)(6512007)(6486002)(107886003)(76130400001)(70206006)(54906003)(70586007)(6916009)(356004)(316002)(36906005)(26826003)(4744005)(36756003)(186003)(5660300002)(26005)(478600001)(336012)(2616005)(86362001)(1076003)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4215; 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: fd3e83bf-3578-49ff-1eb2-08d78897960d NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bKNIMXT+bWinMbQyLOcd7kLeHJqgXleJs3mp+nvKtqnKF1JhcQsWKCs2JQ5zxI6BJwaC1USSGwCAKMSdx7Rb4Tj5bBRU69vtX6QC2fIDPpCzsBNRBN/sS9asUUMzECco1j7nZW0U0Jt3HlGeYFB61wzJCEUQ6+xH6DBLi+3qCY2IuN7xEs4vFAUhq1AbFLR4wB6Z1pCfpDsOdkiXeUkMoDwM6NlfBdKqbELve6R7TnTrkydNx4IOyldUSJ0wsJ8eUOkW3IiirTSFNhJ7Wh+8W4aRWxfMKN6GRsFC3GPD39LoEXKpL0DngFv16StLOer8zIODNO0p1WZ6j1mjLpQ7ZxbjQbg4LezL5kKDOE3hiUtc8/z82KcmYzXhChtVGXjodU2FYi38SYlId/Njt8l/cPO7xHXvp9BP1W4w10jfwMBOJOqy8zdlw3EqZFRgF0Zi X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:32.3912 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3b143703-d2b8-4eaa-6f48-08d78897ad50 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: AM6PR08MB4215 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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. v3: - drop driver_private argument (Laurent) Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c index 1d6dfae8a200..30e284c3d189 100644 --- a/drivers/gpu/drm/rcar-du/rcar_lvds.c +++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c @@ -882,8 +882,7 @@ static int rcar_lvds_probe(struct platform_device *pdev) if (ret < 0) return ret; - 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); mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); lvds->mmio = devm_ioremap_resource(&pdev->dev, mem); From patchwork Tue Dec 24 17:34:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310059 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 2E22F6C1 for ; Wed, 25 Dec 2019 10:19:30 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 073E32075B for ; Wed, 25 Dec 2019 10:19:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="OScpDIBL"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="OScpDIBL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 073E32075B 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 2CA1389D58; Wed, 25 Dec 2019 10:19:19 +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-eopbgr150075.outbound.protection.outlook.com [40.107.15.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB42389DA3 for ; Tue, 24 Dec 2019 17:35:36 +0000 (UTC) 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=3i9DHSh7c6toNiXmd66RXeDI3C5E2KZBpNOLyyWx8/c=; b=OScpDIBLhBGadpzp1YtKFNcrpxJVl0ica9x91YeXBqQOXyEX80q0PIR5pYs104NO8lq+NYCwnlwZvldrDOkxAsmw3x5+SZYRakaI1VzlWavGbEx/lqKCSo/iVY9xhBvIRi+IbdHvq2g0fjQDAlZfJ9hwinrDt97+DQyhs9mQq88= Received: from VI1PR08CA0228.eurprd08.prod.outlook.com (2603:10a6:802:15::37) by HE1PR08MB2876.eurprd08.prod.outlook.com (2603:10a6:7:2b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.17; Tue, 24 Dec 2019 17:35:33 +0000 Received: from VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by VI1PR08CA0228.outlook.office365.com (2603:10a6:802:15::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:33 +0000 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; 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 VE1EUR03FT004.mail.protection.outlook.com (10.152.18.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:33 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:35:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5f518a959fa5249e X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.9 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7BDEE096-6392-4851-822A-204FDD8175D9.1; Tue, 24 Dec 2019 17:35:27 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.9 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i6pq+YtkFoS8kQC1QnTI0qFZX4tYrFgTBM/uFbURu0Qxg5BrGCj+MXX13IrAvMvb1vrTJG4xtomBUsas/1xI+ZJgFDAjMmdvN5mv4UtJLB1DJbqK72Iph7B/OCH/cgenCIqbWssuWeI+cw6C5on+FUojugFlVqpJly+OkbuXhZdq2iO5lT2K00GdFJTHQrE6tCX8zkdsEfDpxszGxcTn1W0SMqdsfVzL89UXaX3Sf8kE1JKCa3lakd+mcQXRO9VWp/Mm3aOmUzysYz6V8EnC5QHIqbAC4lNzPNdCvGJkB2kOGyHLYA3h2sGoPbF4js0KGBX9n9cUkGexW2gUJsjIrg== 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=3i9DHSh7c6toNiXmd66RXeDI3C5E2KZBpNOLyyWx8/c=; b=WNCzo23k2CTthwtwNf2LA8WfYGWl7+CBNRmHKUjhGfsX4xo/n7brkn/LSAQer4dhJ/QLrUztqjd3/U9ooToAnDMW0EvlOOOQJKPvruC/NeE2nxkeMyhXyN9xi0x25kI7Afwvv9v6Tno3m+eTf1yh+FHJmm9spwLzedC/xC/cHS2yEVqY/jCfeU13/if22JCl6+dU05jn/kmLJlprgibUl2ndXAE9E7HlSpm6W4CDtRLP9dLDQySafxnFWDU3P4mefHzkMwDkinDjSB9yIxDVLQbvrEWdaU21yEzT39rrAKLMquGA5+eyoSRkuo2FRn4+//ZkxQy0NGWAz1S5VXNQXA== 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 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=3i9DHSh7c6toNiXmd66RXeDI3C5E2KZBpNOLyyWx8/c=; b=OScpDIBLhBGadpzp1YtKFNcrpxJVl0ica9x91YeXBqQOXyEX80q0PIR5pYs104NO8lq+NYCwnlwZvldrDOkxAsmw3x5+SZYRakaI1VzlWavGbEx/lqKCSo/iVY9xhBvIRi+IbdHvq2g0fjQDAlZfJ9hwinrDt97+DQyhs9mQq88= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:22 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:22 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 34/35] drm/sti: Use drm_bridge_init() Thread-Topic: [PATCH v3 34/35] drm/sti: Use drm_bridge_init() Thread-Index: AQHVuoB0C8mc1p9mjE6TKYk99nv/RA== Date: Tue, 24 Dec 2019 17:34:54 +0000 Message-ID: <20191224173408.25624-35-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: b672d3e1-4415-4163-2866-08d78897ae0f X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|HE1PR08MB2876: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: bcCTI87+mRgoeNVf/NF0zImG6/BxyDFziP6nDHWfJn8F+IboO99YpXJK5t3JMq8I8+5HivDTpAvWFsqpacN0opNJdLBKpIkxqhjyEq2u1aAS5XL6S4vY7xavksNBo/FWL0KwxdkynlPo3LDLYJdEq5TsHwKw4yxyq9lnLo5TR8cRTken+SDaMm9kzBCtLDlO3R2ruvy2xJTxN8WdrEtechFbfxk1Kg1GDu8Xc2LofuXobHrhnGdZY08HRLD/AFpl5pwzsnQ9qGXKdZDNQFs+Mr98ILiuQP+DIBUUdhlyFI0VdUZfxIg+9jwdt1ON5uyRwkiZRgpg+VgaKstRySsYqyL+4Su8yHOJVwdxj4nuVXZ6uOWssU5I3bYftqmQ1WD6vzSpysYM41EjDTSSSKY+SWUpKSrGbH8Ir6c3QR/UeKyIZSPwPF7Rn8S+T4nSeTmL MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT004.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)(39860400002)(346002)(136003)(376002)(199004)(189003)(6506007)(2906002)(6916009)(6512007)(1076003)(86362001)(70206006)(70586007)(6486002)(26826003)(76130400001)(478600001)(81156014)(81166006)(8676002)(5660300002)(36756003)(26005)(8936002)(54906003)(6666004)(356004)(316002)(4326008)(36906005)(336012)(2616005)(107886003)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB2876; 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: b92cf01a-22ef-484b-d566-08d788979684 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TNgw6alU37e784HSLsgsMb/yWxS++SOjbXlT+QN6BIXUf/AgGXb++cbvs3ULUsosoZ2ObO6ugqkBBxpcJRyDlOtRCtD6LSTFWGSwpeISMDjSa3cSKo8MKoy8LWTegG09fADC6saGfRWnnMi3XRZ/qnTMxDc+of7ney70dFnY1EN6WhdqU76JRAE9eSrrMDLVUYHQVGQgcje/h0sse4X9LwkE4rL/mEthY8JR3yd+VLtQ17WPSnFqCc0HevZJiZlwz4WqNITrU/5wUhVtaR94k6Q817AEl2by6AQ+p0DNwptlVkoCccoXr9Aq13yAp2rnd2vrL4zyivmjXQRnz6PtvFNs8cbWWVp30g/RKqjJywFaJOVn5DjfrmWeqeJk8ko1LnnUudIuL4gAmc4FkCQxHUIimTmoqa1pjBz2gMgms6ysxD8PCOa6SOKYj0p2PQyn X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:33.5771 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b672d3e1-4415-4163-2866-08d78897ae0f 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: HE1PR08MB2876 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , Sam Ravnborg , "linux-kernel@vger.kernel.org" , Laurent Pinchart , nd , Vincent Abriou Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" No functional change. v3: - drop driver_private argument (Laurent) v2: - Also apply drm_bridge_init() in sti_hdmi.c and sti_hda.c (Sam, Benjamin) Reviewed-by: Benjamin Gaignard Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/sti/sti_dvo.c | 3 +-- drivers/gpu/drm/sti/sti_hda.c | 2 +- drivers/gpu/drm/sti/sti_hdmi.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index 194491231de2..a72f4e4e60cd 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/drivers/gpu/drm/sti/sti_dvo.c @@ -460,8 +460,7 @@ static int sti_dvo_bind(struct device *dev, struct device *master, void *data) connector->dvo = 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); 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 d5b569ce93d0..b94044eb4672 100644 --- a/drivers/gpu/drm/sti/sti_hda.c +++ b/drivers/gpu/drm/sti/sti_hda.c @@ -699,7 +699,7 @@ static int sti_hda_bind(struct device *dev, struct device *master, void *data) connector->hda = hda; - bridge->funcs = &sti_hda_bridge_funcs; + drm_bridge_init(bridge, dev, &sti_hda_bridge_funcs, NULL); 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 7a7b0ce7bb14..e9e5c71b7eac 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -1275,7 +1275,7 @@ static int sti_hdmi_bind(struct device *dev, struct device *master, void *data) connector->hdmi = hdmi; - bridge->funcs = &sti_hdmi_bridge_funcs; + drm_bridge_init(bridge, dev, &sti_hdmi_bridge_funcs, NULL); drm_bridge_attach(encoder, bridge, NULL); connector->encoder = encoder; From patchwork Tue Dec 24 17:34:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11310151 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 CBAB91395 for ; Wed, 25 Dec 2019 10:21: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 A90452075B for ; Wed, 25 Dec 2019 10:21:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="5G2KSLeO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="5G2KSLeO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A90452075B 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 2E42F6E35D; Wed, 25 Dec 2019 10:20:31 +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-eopbgr70084.outbound.protection.outlook.com [40.107.7.84]) by gabe.freedesktop.org (Postfix) with ESMTPS id 32F3589DA3; Tue, 24 Dec 2019 17:35:36 +0000 (UTC) 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=x41aDXJnAlxs0KStGVeTAshmH8fX6SjrjGl+PROCJ5s=; b=5G2KSLeOkNh32sWY6t8nKrMvXiJFXLsVvjy8S/7uBuZnmW3l4p6skehu5cWsnSPgXyd3KFXa3fRCDGvYRx4N2pXyjKtdrThvBDH4EYGMuZ6h9lq2l7EK94Pl6u3mTqCeWY1chhfvLoyJbR+1E3RnUrH+w/RO2eKnEpXPFquxcVg= Received: from AM4PR08CA0070.eurprd08.prod.outlook.com (2603:10a6:205:2::41) by AM4PR0802MB2241.eurprd08.prod.outlook.com (2603:10a6:200:5e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:35:34 +0000 Received: from AM5EUR03FT032.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::209) by AM4PR08CA0070.outlook.office365.com (2603:10a6:205:2::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:34 +0000 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; 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 AM5EUR03FT032.mail.protection.outlook.com (10.152.16.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:33 +0000 Received: ("Tessian outbound ca1df68f3668:v40"); Tue, 24 Dec 2019 17:35:33 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: c0b3b07c51830b0a X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.10 by 64aa7808-outbound-1.mta.getcheckrecipient.com id CFAC20EB-812E-4C75-BACB-8D33AAA07E93.1; Tue, 24 Dec 2019 17:35:28 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PAmqDfOKIwXHvLye8tTgVNFmxEUb8nVglGYaBPxAQWfUytqZTLXvsZA1t2WimeXC06Ow6HUKY3iJ59b1iK9OKxESB8gbEYCR/9Xxs4aP9gfxdvACBsvXC9e6zmp+stcCSsW2ZiCF14xdE0+uL/zg9wjXe1iSmpfuQA3B1K/H6yeThymvnHxQtWXfDnVM1quf3vDXOlaZetI27jiBYNepqWhkk5DjMwJUGD1aOfM3bQ4UETb0dZ9Snw0ADNKljo02LRoYb1s7nIICJ7JzFZ1Zsz7u95QyJXcwK6DIuXAT8X+AT2pYsgzvAx/4LNWgOhlJ7ym0oVkYzS/uSeTRH1aF6g== 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=x41aDXJnAlxs0KStGVeTAshmH8fX6SjrjGl+PROCJ5s=; b=OstH3Ssgg6gQjSjVHWynH082qFl+btd46KgaatGga9+cAU763Rqn1fIu+Yny/EvVU+9O+DX55pIN9CTncDXahy8x8fQ8tukajLVSYUQhfJ2JSpYS6vQfNn/cKuPm/0aA2EwXxiC41iIVs7CS8B3EHinslmKgz5jOO2o4wem8WRn2lYAHzSZl86y1YnNC5dwco3iKumAfpCy+SfreXHF0gSx0e/EsbaPbtV++7GPCclu6+i4jRz6b1PzAiZFe/nE8hYmSbt9dG6pfUCvdFJRVLYBBKppticTJUcrgeaXKZ0MtqDBdDV6s0dYEoIHveCOsXTNYvYxYvzekjKQ8TXBJ7A== 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 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=x41aDXJnAlxs0KStGVeTAshmH8fX6SjrjGl+PROCJ5s=; b=5G2KSLeOkNh32sWY6t8nKrMvXiJFXLsVvjy8S/7uBuZnmW3l4p6skehu5cWsnSPgXyd3KFXa3fRCDGvYRx4N2pXyjKtdrThvBDH4EYGMuZ6h9lq2l7EK94Pl6u3mTqCeWY1chhfvLoyJbR+1E3RnUrH+w/RO2eKnEpXPFquxcVg= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:23 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:23 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 35/35] drm/msm: Use drm_bridge_init() Thread-Topic: [PATCH v3 35/35] drm/msm: Use drm_bridge_init() Thread-Index: AQHVuoB09eGRc2nWQ02DTmctwXsGfw== Date: Tue, 24 Dec 2019 17:34:55 +0000 Message-ID: <20191224173408.25624-36-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-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.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.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: 8eae8d7c-3c8e-4ecb-9c47-08d78897ae28 X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM4PR0802MB2241: 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: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(7416002)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; 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: 2y4MietvQ/63kmWjWiPezqXbUt3tQPugR5x6U82gFaxq7kGEdUCbGNjIVzgHYKxb8grWoYjBxayU3S584Z0xGPt8cIKSI7Ye5Ye1Z19c5V88OGDDOGxwXDYi/dOccyzUXTGX7eHCDTWVrbZ5J4xWXOqw2h8q5n5ibf5j9+IqdUhnjrJ6TWWsQYiVTC2hThAIKjsM8c6R/MZj9tm0hePqiSV+dIKtnj0Q8hAjPXi/Z7JuRkMoCgPvSrCZnsVlfQ2Bqo6F2Edrv/RAVlveuAMIQnIsHtgm8/bSVNgTwjvC7AGTqx+jwbhRY3FkQ7V2kHAAas9Quiil+2j+LFVZ1GzZcyOSvpQU3IBMBgMelW5Siv4uF4y5ufTzljiWISt5sOC7tBjWGE8JWe9m+3NE44Kl5JEx1NJG80j7eHAulBk97COEmFSkoykprblyIyY8QWnO MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT032.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)(136003)(376002)(346002)(189003)(199004)(54906003)(6512007)(2906002)(1076003)(316002)(76130400001)(6916009)(36906005)(6486002)(70586007)(86362001)(5660300002)(70206006)(26005)(186003)(8676002)(81156014)(107886003)(8936002)(356004)(6666004)(450100002)(478600001)(6506007)(26826003)(81166006)(336012)(4326008)(36756003)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0802MB2241; 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: 90a97138-b67a-4808-a6ed-08d7889796f0 NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tHXfw0iWO5qdaKY+6/gobAqTjPjJFU97qdk1uSRVWqCBpGU3jbD6uPmue2fNcUMkrqRYpMdwjSlXmFAI4FmsHE/ifLdQUvMJafGV/K08dxhCY5Dbau1j+SSsOLFC52RPsM3Bcs/cP2U7Unr911Weqk8c5EWtlV/IkW9gfnUI+mXqC50pnKi3tSa1KikeCuJlk7hFB2xv9TcjXqWuH0OvJrdW1hx8YfoseIE0cg83zCk9AzK6Qde6ZZBIJqhfThE6S4qDTYyMbhLKGitn5XwwFvKdrUIzPCFua1ukEW0K5aJ/szvNysUWUDDF+bFe1muT4PLWlSSNjyfMyINbhSEP1tA8E7c1fwQf5QEqvO3j7LYouzoTZxFGM+fn81nZwBBeShvR8UREEJ3TCiV2zimx2yDdBBKcvF74akR6PFH0p9Kumm42DJNuqpEYimxEds2c X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:33.8529 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8eae8d7c-3c8e-4ecb-9c47-08d78897ae28 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: AM4PR0802MB2241 X-Mailman-Approved-At: Wed, 25 Dec 2019 10:19:18 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "freedreno@lists.freedesktop.org" , Mihail Atanassov , David Airlie , Sam Ravnborg , "linux-kernel@vger.kernel.org" , Laurent Pinchart , Laurent Pinchart , "linux-arm-msm@vger.kernel.org" , 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. v3: - drop driver_private argument (Laurent) Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 3 +-- drivers/gpu/drm/msm/edp/edp_bridge.c | 3 +-- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c index 0fc29f1be8cc..058f8f9a8535 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c +++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c @@ -662,8 +662,7 @@ 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); 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 301dd7a80bde..1f1cc87d0dd2 100644 --- a/drivers/gpu/drm/msm/edp/edp_bridge.c +++ b/drivers/gpu/drm/msm/edp/edp_bridge.c @@ -95,8 +95,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); 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 07c098dce310..ed62d0822615 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c @@ -285,8 +285,7 @@ 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); ret = drm_bridge_attach(hdmi->encoder, bridge, NULL); if (ret) goto fail;