Message ID | 20180516101510.13215-22-peda@axentia.se (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 62C8860247 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 17 May 2018 07:16:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A1B428731 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 17 May 2018 07:16:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C24328791; Thu, 17 May 2018 07:16:45 +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 A425428731 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 17 May 2018 07:16:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4263C6E62B; Thu, 17 May 2018 07:15:37 +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-he1eur01on0730.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::730]) by gabe.freedesktop.org (Postfix) with ESMTPS id 131DC6E3B9; Wed, 16 May 2018 10:16:37 +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:X-MS-Exchange-SenderADCheck; bh=z7AP2Ud0YbPNg8oZc8//F1VRTQYSgQ+Ly2SuDDgOfiE=; b=h73g34mhNMSUQccpJwMs52DNWlHmN6xB2PxeIIID43YcJXfwUBMWhzsUG/66J0eayi84gxR/f1TsL/TE5HLPgYUdXZyM99GTXBk3G3+7qEvs/+hfCDfp/5CvbIZTAlflGYJc5FPG9xa1ywmwRzCASz1iYOfEX/JCC8xvLYsksoY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2772.eurprd02.prod.outlook.com (2603:10a6:200:8c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Wed, 16 May 2018 10:16:33 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Subject: [PATCH v3 21/26] drm/msm: specify the owner .odev of the bridges Date: Wed, 16 May 2018 12:15:05 +0200 Message-Id: <20180516101510.13215-22-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180516101510.13215-1-peda@axentia.se> References: <20180516101510.13215-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR0102CA0013.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::26) To AM4PR0202MB2772.eurprd02.prod.outlook.com (2603:10a6:200:8c::22) 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:AM4PR0202MB2772; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 3:+YZTV+PUxZIb6QzF+jA7OZA1blKO8PFPCE5m1Oex98sF81qCaPewXr3G0MfIz2o9rzhvE9PBL1kxT0n1PXlrQjoa8M/HUZVz2yA5dgw25eQsH6HBKaQeeB/X3qDLmKgYcgWCEQSfBHvVhW1USHrZe+x5QwG5T1ZyITOaMq1EC6WLgDYgDqGPVcM7zorxGDHQv4q7SpL9ly9CY77+TgeMR7aq1zvw+4Ujc02YWudlPzPV1OwlVCGNmJO5cuuqUOxg; 25:rEr0f7RNpIBpoxkSPtlbF82nzDxPxkcpiB3JL9tY4PNSjYDGlZzzHvC7oUd0AnuU2LI3Fh6R7QkyXfaU9HfJGhX+62Zmz2N2xGtORvelMVQ6HEUn+r1aa/V0Gw423Cli7fMZzUPeIsP55szPO9AG6l9JJA21IR62uP8XRgNMTfmbE8v8Mv+Ansh5XyVBpX3Hg9AKcM33BpNWZ+UOGCStSszSIC1Ob81OZWSfuJzRKI6o7rTt9DH/jQbisQLkM2cEI0NBVcBfa7k88fNS8HRzgFGGbvd+vX8Fr4jtY9pwRlF9keIGjG3katUFC2aBWemEiTUAPgQhXmDCFxwd6yhLng==; 31:dDq2sTtMmNdpCSNp+GuOIYy/O+4SABxuqQHK8rlV8eJFwwq83owefelG9okq9TeXVfB23VSsAcjI7YafLtZ40PR9ybeb77zLEHETobANIixD7oxV1m5PxVCxn+MCr2uVnjvoyVMHwJDSbyKlZ3l9xSNfck1IVpQfRaIiWGyc+Sc5oO2pJ3nFpVFUHVXiHa3Midn+jvQ/oc9HsU2YLMjxE73uxFtmPzRzbCkbqQmFAhc= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2772: X-Microsoft-Antispam-PRVS: <AM4PR0202MB2772AB9E60D04037C2840E37BC920@AM4PR0202MB2772.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(2016111802025)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2772; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2772; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 4:iVrDiZ615AeeLNhG4xZ/fjxRLkZUUdJGFsMguZzdPVlQJPzA5U0vZg8Zq1MhRPoDxH2ZHzyy6abBBn1edEthzMyK3ewZ9iRD9circ+fR/GGfGHYKnCGUGByAMtkFpc+DoXREWsVLZPX1wtKs9GvfBk57oAOcPTVlbuIzlDKyIn9Quzv4VCltDR1QXn1o2Tit00CbSRvyl2eKPFipG36jJhEHz7dV0ebqzkf5by73KLlsAVrjpjw7aBCDAqLR3p4AqcRLSCW6ejhWz4UT3Wzu5g== X-Forefront-PRVS: 0674DC6DD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39380400002)(396003)(346002)(376002)(39840400004)(366004)(189003)(199004)(86362001)(25786009)(48376002)(50466002)(68736007)(36756003)(2906002)(105586002)(97736004)(6666003)(6916009)(74482002)(2351001)(3846002)(6116002)(1076002)(478600001)(106356001)(316002)(16586007)(2361001)(7736002)(50226002)(53936002)(6512007)(305945005)(51416003)(8936002)(52116002)(8676002)(16526019)(76176011)(446003)(66066001)(5660300001)(39060400002)(5890100001)(54906003)(47776003)(81156014)(476003)(2616005)(956004)(81166006)(186003)(386003)(6506007)(26005)(4326008)(11346002)(486006)(6486002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2772; 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; AM4PR0202MB2772; 23:I5qVOdfOOYNjleAQ8nYGDeHoY0W1H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nw1s99RyKhh3sEKBV/10U/4ZX4?= =?us-ascii?Q?u5hHOs8d4yZP6lgV5CCd9dkgck/QLGZXPO7HGGsMdF1MwN8ECgsWUfwA98ni?= =?us-ascii?Q?AHrEK5Zkan8dkljCOSThb9ijw/8zlcEKqyGU4kMwvrusgXyIvkeneQOB7yRG?= =?us-ascii?Q?2/0WLjGHfCEpbVDOOuSzAdT2OOGhzBnErtx7wKqDpPlLSmSUsqrDIb/UUiFj?= =?us-ascii?Q?Y6NYXVqbUWtoTAiumOWj0l7QSYkpzOyZ2B8CDEdFVHDgQK5gUZKxgfFuVnWh?= =?us-ascii?Q?QaYKTbOC2mHVXbxXacVD5qPG5/jvsP5anfovUJdWczOCxu+bggAbnUzckIFH?= =?us-ascii?Q?mwmWmhDfrafCSNhXihm9q0t4UwHgO9KORNjzDNN89mWAKPSu/x4/Ynm7Z9rX?= =?us-ascii?Q?fTGo0s1/W25ofMIxWZQjuuZ5jucHAFsCq9gYOOe2UWwxOD5LbfX8itgRfI6C?= =?us-ascii?Q?6ENEIAAYz+029X+r8MOAFzon8os8=3D?= X-Microsoft-Antispam-Message-Info: jZZ4/lf+Q5qQk8gf8o7vqJZM95LoZkVWy1pDvQOBXqySQ/S7QRggU4qoPp389/kueF5sd8VAuc28yf5Z4Pj52W6EoMR7NZxKghmauMSpl2SbaKpQHV3IxJDMnEytlBLT0YuSZnKOm8OywMfjIoUOMCDm4bZ229lXojm780TmbKuRlH+hoVp73i2RMHREhteu X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 6:nSTnXwbIeo8g49HePAvnODqT9U7Aq8j3M8FPMdda64eoBPnAeUiHaTkEBtUqulcDK0NkcSitUcd2cbEDTsGVBm0Xn83LgpRkuREm1GOZLkTFgBo0Mud621PcCQu97+GGME7oHPMIxSwUzjgMcSqkhQL/3rHDQ2UqIGGhxwm88I0q+wZaoKEieCwJKG2F92pdndQ2b32dhLiYxtSd60Wkub4q3HkfFdK2Q5vAhuohIayyKQybABzBo7OhmOtAyRvrbxeO6tx/owZLuG62fYRl2iCIZ1HYoW4QpOD4hnN3nHrq1aiD0g4wo9nIuiNeEDKkym2szK0WkOBf4MyS581g5g/rpqk3ha4kr1DbynYhOss2ML95ChjV5YvUYzELx+gUTiIansB6+bJjuO9gBQ2MFFTrEsHW2aVxDAXrFxw9rAaHJ1NBjO3JpQvzJG3a50lXJU23mdAvWgmnPfiP5Jcl5w==; 5:tRgMCdUFBy98ZNIAk+XI73CD5qk6SsXqB7+5TOQ886nSRTLkvNLU9knscsmGhGcS7GGj8/5ShQTebRv4CHV8wEe6lXSl2XVPdkNB+mnUO5XHC+J4DQcKIBxFlrsM3imcmlPC8VVYfJwqLXhERdlEUpmzKo1yx6ktCGNoDC6TaiQ=; 24:gRDey3QS37zZDT4axl7QtRK15YLNmKrNZ3C83p2m043YAg3+y07cNI96d3cnn6cufMOFXw453hzYrXnPVogds6He4WF5Q2Te25VRP490DTw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 7:DdzkSLTPXMz/whhrkxdSPgfPYQNUEDzn/cacthuiOwFb6ToMKRVgRfqZsF9+CLXXjJ576U4kLSssJtdUhKe4I/RC8x5DNUH0Hn3BicPYAWpACFHIpJX0aJ2RpDLv6Xy5FZ6FlgifKo1l4UYgbqR2ueBQcoWuCKyQI7r/kV7MK8nrDtDvn6eIkiUA4KU1vENFyOssrZ0/CdSzr/avICAO/lQfH007eYLz30i08DVJPxiFJOXsCLbhV6/fJVmnREvf X-MS-Office365-Filtering-Correlation-Id: 59d16624-8be0-4c0b-053c-08d5bb161a2a X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2018 10:16:33.9274 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59d16624-8be0-4c0b-053c-08d5bb161a2a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2772 X-Mailman-Approved-At: Thu, 17 May 2018 07:15:35 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Jyri Sarha <jsarha@ti.com>, freedreno@lists.freedesktop.org, Peter Rosin <peda@axentia.se> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c index 4cb1cb68878b..1668e8abe5c1 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->odev = 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..4c56e29c57b7 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->odev = 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..aa6dd1bc5dc0 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->odev = hdmi->dev->dev; bridge->funcs = &msm_hdmi_bridge_funcs; ret = drm_bridge_attach(hdmi->encoder, bridge, NULL);
This will become mandatory. Signed-off-by: Peter Rosin <peda@axentia.se> --- 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(+)