From patchwork Thu Apr 26 22:31:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10367595 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E99E8602DC for ; Fri, 27 Apr 2018 07:38:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFDFC28397 for ; Fri, 27 Apr 2018 07:38:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4B442841D; Fri, 27 Apr 2018 07:38:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6020028397 for ; Fri, 27 Apr 2018 07:38:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E9C46E80B; Fri, 27 Apr 2018 07:37:18 +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-db5eur03on0724.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::724]) by gabe.freedesktop.org (Postfix) with ESMTPS id 211E16E7C1; Thu, 26 Apr 2018 22:32:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=P0qdL5v7zhCvEA+vC+pZJkTqI6Ycq3xCw4VUgvn3GGI=; b=Quz55RWmdJGcmHAb5ZGijcRtYS5Nq+HzY42LtXZ1sjXevkRTWoy6Z6KOiIdpamIVIXxBpz7T51cC0aXPxdKBGPatzxclrZT4/QJ3nJ1g5IbiBo4dRvWHkhrhvN52fpUG0GXHllMuBcfgRGVEKkXvij8hC/74yTURL8ceXjXU5J0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Thu, 26 Apr 2018 22:32:52 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH 19/24] drm/msm: specify the .owner of the bridges Date: Fri, 27 Apr 2018 00:31:34 +0200 Message-Id: <20180426223139.16740-20-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180426223139.16740-1-peda@axentia.se> References: <20180426223139.16740-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0366.eurprd05.prod.outlook.com (2603:10a6:7:94::25) To VI1PR0202MB2782.eurprd02.prod.outlook.com (2603:10a6:800:db::7) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 3:pqMMANTwPKYFG2NB2Kj77By3kqhdYke5tHYMXSkE4Em4T2n9utyOD8T1s/2DaOCri4vWB7q/X352kc3EjbNzsCefl/4bG2ik52JgD2SNMf9S74/M3mXUvu8CJS2PG5pvk8lVH45kXulUsnMLI6xhwHXHr4ST25zE8TksEP/oLiYrqqzViLNATm9LJCWJm+OkQtdF1hBG45ANMSqmazIapY3gPfHKxdC3r7cmbuq5GYBe8p7dSiZLDNNZcd6r4L/x; 25:i9SERFxB/WuWJlX9lPFeWA/uiqk0XdMiEmz3/7ItInlo3kOg9HaVEtI+aSO7TRJhASpGQHT5ojie3UO+l6ddrdePlgp2rcb/bKojrGOyjctEmnEA/PkrSdrBe0as9VXR5S/Ommn5OelpWb19K4ocA2ooNMyyqAuF1Csq3KmhEEp6Nf9BSKT0rRWN2nnzEZaeq8dT9CH7jL4VuaYS2zhXr/b4WdlYWrjImRcCsTFDkKT3R9bMTBVixYnX1Er+O9C5hRwH6hFJOj1IGUzi80J+yuJz4obUXihCC2RCed+1I1rlKtMBTm/T+dFfUgETgq7GGaEeICfNeUuryYrgE3tCyw==; 31:kWEgIXoaItek8GpTfU+uYkZD03cV/Nh507CYSYsFxlCGFkNexRPIP62MBeE56i0lDGNWYiUFYZX9CZldPrBoxw+HNlYtj5oIo/6uXdP8bQIO0kWbUr2T9kN1c5ddB8cztuEQ6IjiAL6T6W+Eof48te+HBJLr4zvltPTILm61ohx9dJ4O6rBYRnCYXmiwqB39l7bkxLtbbbQjgVWXmQZxntBoTGQ8muHTQ9OpNclD8U4= X-MS-TrafficTypeDiagnostic: VI1PR0202MB2782: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041310)(20161123562045)(20161123564045)(20161123560045)(2016111802025)(20161123558120)(6043046)(6072148)(201708071742011); SRVR:VI1PR0202MB2782; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0202MB2782; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 4:A2T8RVtudd1Dmdn5wfNpLP7azaX0z93Kv0MdZ5ceCvy0D3EjgCcLxPN+qIGIDFYCMZwMECyo6iAl4LrJV5igfWt5aDxOH9aosCF5GO3EBux65PaxCqkff/gCF0L3l/aFnwJsEwlr87Cbye16+aZQ7G0hE9XAhGLHMxuZ/WT+C+fM9dh8/HArNvImUcO00+udAHsdJuT3KFdg7QsIuUcxGFWO1oii8mv/EegpZn/cpK9bXZebasCxnCVpCAMe0W6H5HaYGc6aWZzUddeAqpEgBw== X-Forefront-PRVS: 0654257CF5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39840400004)(39380400002)(366004)(376002)(396003)(346002)(189003)(199004)(106356001)(2361001)(66066001)(16586007)(6666003)(105586002)(3846002)(7736002)(6916009)(6116002)(36756003)(74482002)(6486002)(48376002)(2351001)(25786009)(8936002)(50226002)(47776003)(81156014)(2906002)(16526019)(1076002)(81166006)(53936002)(11346002)(51416003)(54906003)(68736007)(97736004)(478600001)(446003)(186003)(5890100001)(50466002)(4326008)(476003)(2616005)(86362001)(39060400002)(956004)(8676002)(76176011)(26005)(6512007)(575784001)(486006)(6506007)(7416002)(52116002)(386003)(305945005)(5660300001)(316002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0202MB2782; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0202MB2782; 23:FcjcHWEdErlNtPau0Eq4KRLNH4m3mNMXIgTU7RB?= =?us-ascii?Q?NcBTNFuwB1cQhRKUfTx6x6iUj8qCGBMm3vdqpnJXEEtx3RW3XHlIuB7Xr8uu?= =?us-ascii?Q?qLzavGIB/WqFawJQe2YM4mPo/+Sk9vxTyluqjRiMKlFAxxylVClBs/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xRd4FUVGQJTKYbDz2ETa86/fiszbCkT?= =?us-ascii?Q?0hXQf83K8dx46cW0lfqKsR2JQIE/2RPGydyVklk38pbmSxYK4P0OxaFuVAH2?= =?us-ascii?Q?WrlweJirkFgab8twuHXsCbXOF78C0dQPD9eESIftBk4fX3LscSvgFp4vIv0X?= =?us-ascii?Q?zzyFwVN926365x4Puw4EF053JJUzZWVsX7kmw3Q8NkysU9N8FLcBw1ser7JK?= =?us-ascii?Q?vi/TRSqfSW/Sy2g0/JV41WYfyfySDB3wBwpRRZ6Exd9hJdUwsw49X2MK/0wX?= =?us-ascii?Q?CGOK6zsP3oHn+xIZUh1FVOMMfRHr8uDtSPQOWUIFYEDYjHbwdrOAwu/OYmuC?= =?us-ascii?Q?ggNi5O5Z86r3AV7u1GAblvb193jIXbfrJ+9IW8a9L7tFXo5MOM5mmqwS9jkJ?= =?us-ascii?Q?3Wr02GCVkXw=3D=3D?= X-Microsoft-Antispam-Message-Info: KqrkGmmihNlLcOFZfNFBBCXx5FEBXVvWKpYOsB1ayW4AgKJjpDhuNTq4i1MS3eRbDPf6z1sqrKjw5uz9lDmxaqdPeCDwKETwAcFYVlVaLBNwQJizwll1XqW6xd3mntGKwoWvIVqVMwA4Au7bokLzbB9fC2//s276FgqtAak2NgCBRJ9LRuU/BsozRY6oEKcU X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 6:YrGgMIqM2AoNdr91GkbDw/zcnXvc+ViFh0g50QXioeVuDWMJmc58AhFJfVJmyVvI+OTMT/7vJf0ayhelJPN5h35dt3F0MIHVDMhwPNK2rdinTU074DLKX+Y+Uf9NSEzNqPqdLWGEu6QJpHe27WakvIiM5Xtd7eqiZ6xrfTJFWNm7nPwMVMl94YHeXV8ZK1wO9snuEzuSwOicOEmWxWh315k/pYeYLQK8WeE+/xTKUvD7cynmI5mzEaX6HruzUMyeezxwOzDB3HIg+56LITQx9/KzEN2vpvEMYCWHFPWsvEg14exI9A/0OIlRV9NUKFs8kPdsoAIz84CZ42gO33SQwFejz/51+ay2Z7O873P+qWw63nGfTg9czQpYbw+qTw053NVujMLW94ekV+lyOJ2ulz51UUIFTJsE05jFuV5orKKeiqQXOiGltm4Zw3FHCaWszSmxD4ER54aXW+p3oCHfCg==; 5:c2JBXpSbWoNNrAeWZW1JtCjLkCx/gBdlBrtqckHbF7Imx+LnQwxH0ZXW2EftPS7HQqqf7XfUBavfhbJ8qsoWDhawu/7jg/M2XyUNs7Ep2b3yf0QRK0NoH1S0cJpXl62xByoO6gpq0vYM+DEYqzBX9QexKdBqmkdMuagEGovzGZg=; 24:1gq+spUT2AOnzlOJ+ZzjOnoCBz+8rxseag+hCFIZQH+VwiBtpm8EZViqByT9Xqo20djNTit3XJ0dumFPMJ19giTttEWhYNB3qHs+8d60Sg8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0202MB2782; 7:5ynyZAQYEfwYod7FP4CAumdL9siaHiMdtEt2dDrfi+7YxaE1Bnzqb3sWhnybtnM9ZcHSY8+WIWGRXBK/du37tpZAPxlxEFVxEZFPOMDpGfQKdURO6rGLdnS2kA/O5TMgRMtb6Y90weOuKJrjVPGt+ARq49AnFR21TeVVspnr6m5r74IoWMqPlxC4s4VZCfWRtKKwFgPM6ZLUdRXq6uIygTBcNCwUrB/ChCyMfnY0HP9tqg1fUNOQ0xdX7Jg4dFmM X-MS-Office365-Filtering-Correlation-Id: 5514cd61-4d54-4854-d462-08d5abc5a67a X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2018 22:32:52.3080 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5514cd61-4d54-4854-d462-08d5abc5a67a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0202MB2782 X-Mailman-Approved-At: Fri, 27 Apr 2018 07:36:56 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, Neil Armstrong , David Airlie , linux-arm-msm@vger.kernel.org, Lloyd Atkinson , Jyri Sarha , dri-devel@lists.freedesktop.org, Shawn Guo , Peter Rosin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This will become mandatory. Signed-off-by: Peter Rosin --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 1 + drivers/gpu/drm/msm/edp/edp_bridge.c | 1 + drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c index 4cb1cb68878b..b6c344bce75d 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c +++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c @@ -710,6 +710,7 @@ struct drm_bridge *msm_dsi_manager_bridge_init(u8 id) encoder = msm_dsi->encoder; bridge = &dsi_bridge->base; + bridge->owner = msm_dsi->dev->dev; bridge->funcs = &dsi_mgr_bridge_funcs; ret = drm_bridge_attach(encoder, bridge, NULL); diff --git a/drivers/gpu/drm/msm/edp/edp_bridge.c b/drivers/gpu/drm/msm/edp/edp_bridge.c index 931a5c97cccf..30d9e0add9fe 100644 --- a/drivers/gpu/drm/msm/edp/edp_bridge.c +++ b/drivers/gpu/drm/msm/edp/edp_bridge.c @@ -104,6 +104,7 @@ struct drm_bridge *msm_edp_bridge_init(struct msm_edp *edp) edp_bridge->edp = edp; bridge = &edp_bridge->base; + bridge->owner = edp->dev->dev; bridge->funcs = &edp_bridge_funcs; ret = drm_bridge_attach(edp->encoder, bridge, NULL); diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c index 7e357077ed26..6fb103d91956 100644 --- a/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c +++ b/drivers/gpu/drm/msm/hdmi/hdmi_bridge.c @@ -293,6 +293,7 @@ struct drm_bridge *msm_hdmi_bridge_init(struct hdmi *hdmi) hdmi_bridge->hdmi = hdmi; bridge = &hdmi_bridge->base; + bridge->owner = hdmi->dev->dev; bridge->funcs = &msm_hdmi_bridge_funcs; ret = drm_bridge_attach(hdmi->encoder, bridge, NULL);