Message ID | 20190723232808.28128-4-sunpeng.li@amd.com (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-2.web.codeaurora.org (Postfix) with ESMTP id 7D6D0138D for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 23 Jul 2019 23:29:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F9C628741 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 23 Jul 2019 23:29:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6405328749; Tue, 23 Jul 2019 23:29:31 +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.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 9394528741 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 23 Jul 2019 23:29:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4A5726E3E9; Tue, 23 Jul 2019 23:29:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-co1nam05on0616.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe50::616]) by gabe.freedesktop.org (Postfix) with ESMTPS id D966B6E3D8; Tue, 23 Jul 2019 23:29:07 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RGb5d3tvZ9Ipi6MrUWGJMWDeRoGlbRzUVKcpi7Vlb/ZNDEuTep+Di4fpfq9IAzbnI+DUHXnckgh0hN+o8VCOyqk+BePw7o3GxpkR/RiaEsqgPnMsZHPXJY3g1JU8VGJeTsprtd+nBYJlBF8XRVyrUtMUkemMk9+QGXxDcD7yvyOLnfjoUyBRJZshe61MEvSLBwImyV2SbnlH4x6HXbSnOZHX0QZKJha7tS0O2GuY21HJuIlqILb4+xdypQsypbCC7m9SBp1JcdmNhwdVAuKLwECaKc1LqL4OIRe2wsl9qWJq+yEaIyU7YlD5nH2wx1DeuFYfYlxRBzVYwl/2TjjTXw== 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=D8HT84lrA98Qr66U7laEA/QzrlMKz2ZklaCO1p3N+xs=; b=HNAkjSbY3YgvyzJv3zNaiLdWFf4eCo3BhuhOEvKqK0Jq9SD4jxzw3teBm5g8GvGFbRD69MVHMZOil6ySXgugvb0J5fasV8ZdcUA9244YokStYypFsK/jklB7ifg0R9siGzF/O4WMUqYGLIP4/OM2myohaADD6ZjlgvKi9TnTTxiCpQJR5rCQrkdwkoN/pwtX2rKBPUAIHDEgBgfKlwdjBCXeiZ6WJV6hf7ECMF3DXRiIo+0Bl2qKCtACFBTrvLhsWUVBPO6uZYs1Hz2o6buyJEpiv1CsAkhUgk5b/h3MB0HWowoOooVP0YFUAz6AVbGxdTY6c9/tgWkN7HwyBv6Leg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=none (sender ip is 165.204.84.17) smtp.rcpttodomain=linux.intel.com smtp.mailfrom=amd.com;dmarc=permerror action=none header.from=amd.com;dkim=none (message not signed);arc=none Received: from CY4PR1201CA0018.namprd12.prod.outlook.com (2603:10b6:910:16::28) by MWHPR1201MB2493.namprd12.prod.outlook.com (2603:10b6:300:ec::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.17; Tue, 23 Jul 2019 23:29:06 +0000 Received: from DM3NAM03FT038.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::203) by CY4PR1201CA0018.outlook.office365.com (2603:10b6:910:16::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.12 via Frontend Transport; Tue, 23 Jul 2019 23:29:05 +0000 Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV02.amd.com (165.204.84.17) by DM3NAM03FT038.mail.protection.outlook.com (10.152.83.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2052.18 via Frontend Transport; Tue, 23 Jul 2019 23:29:05 +0000 Received: from localhost.localdomain (10.180.168.240) by SATLEXCHOV02.amd.com (10.181.40.72) with Microsoft SMTP Server id 14.3.389.1; Tue, 23 Jul 2019 18:29:03 -0500 From: <sunpeng.li@amd.com> To: <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org> Subject: [PATCH 3/9] drm/nouveau: Use connector kdev as aux device parent Date: Tue, 23 Jul 2019 19:28:02 -0400 Message-ID: <20190723232808.28128-4-sunpeng.li@amd.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190723232808.28128-1-sunpeng.li@amd.com> References: <20190723232808.28128-1-sunpeng.li@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(396003)(136003)(346002)(2980300002)(428003)(189003)(199004)(2870700001)(68736007)(2906002)(26005)(70586007)(70206006)(47776003)(446003)(50466002)(486006)(48376002)(86362001)(11346002)(49486002)(2876002)(186003)(5660300002)(426003)(336012)(476003)(2616005)(126002)(36756003)(4326008)(1076003)(305945005)(81166006)(14444005)(8676002)(54906003)(81156014)(110136005)(316002)(50226002)(478600001)(8936002)(356004)(53936002)(76176011)(51416003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR1201MB2493; H:SATLEXCHOV02.amd.com; FPR:; SPF:None; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4069bd2-3ad4-43b7-1e6a-08d70fc58d8f X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328); SRVR:MWHPR1201MB2493; X-MS-TrafficTypeDiagnostic: MWHPR1201MB2493: X-Microsoft-Antispam-PRVS: <MWHPR1201MB249344EA4293EBD6581536A182C70@MWHPR1201MB2493.namprd12.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-Forefront-PRVS: 0107098B6C X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: mHDu4IPZXktO5waZd466jUpAdY6PqwcXqPAOMq18PoM/x4aLoMGOeq3UAiEgvddFKvdmnoHKSsoSYRpgt2I4Y0rHb8RDf82vVbm089Grw3eHKWGToSp5F+fLy7R+Ilqp6jRTIu7HMcFcF8uAC1M3lqrgrC49LAEtbrZac4NjpzcWX1Jc9zThOoR5KP0Jfnp0H4dr995nAdss7ip9kLGb24AXnaqfd6BzyN2ja+uU9VZAi2VsGukI5uO6Jd2VG8ifHdGUzYZA17ONatieH3ppvPXmwAgffeLto3vUcPh5vfounOg5po9ilFLE+8glkGnXzZKSLnieK/zj4sOVo9i02TYIlcFuIglvtlmjMUiTP0Lt1gW++HymLtgb+qYfK+h2CGWGSmuimbXf0UbVBKehxXwQVtnSVH4ltNKSt8JU0KU= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2019 23:29:05.2023 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4069bd2-3ad4-43b7-1e6a-08d70fc58d8f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXCHOV02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1201MB2493 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D8HT84lrA98Qr66U7laEA/QzrlMKz2ZklaCO1p3N+xs=; b=FGyfBBsXPhkgRm5jsfLJVnaJ7MwZmEBpOpLqYwbDWQByiQBzQAY/A5+jKDYnuywbcI7sM5/XcAZ547+VSLe9kTP6TNWXdCP/DD/mF/q1jJ64JB3PfLMkfrVq5FxCDAq/GnEPYzqaY0c6uIZTmiyqU52GnwKaEB9JaAGKUR+qUkQ= X-Mailman-Original-Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=permerror action=none header.from=amd.com; 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: Leo Li <sunpeng.li@amd.com>, Ben Skeggs <bskeggs@redhat.com>, nicholas.kazlauskas@amd.com 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 |
Series |
MST AUX Devices (v3)
|
expand
|
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 8f15281faa79..330d7d29a6e3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -1349,7 +1349,7 @@ nouveau_connector_create(struct drm_device *dev, break; case DRM_MODE_CONNECTOR_DisplayPort: case DRM_MODE_CONNECTOR_eDP: - nv_connector->aux.dev = dev->dev; + nv_connector->aux.dev = connector->kdev; nv_connector->aux.transfer = nouveau_connector_aux_xfer; snprintf(aux_name, sizeof(aux_name), "sor-%04x-%04x", dcbe->hasht, dcbe->hashm);