Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2673503ybn; Thu, 26 Sep 2019 15:54:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRFMwW8m6GjAX1OkrEpiybARvsPB+TnIL0yuKq2wSkVveqIsRzqTDwN6bKezd5qVEwBJiu X-Received: by 2002:a17:906:c4b:: with SMTP id t11mr5306368ejf.131.1569538453309; Thu, 26 Sep 2019 15:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569538453; cv=none; d=google.com; s=arc-20160816; b=fQzb/nPUwlxSpW17Xvy8I2UagIUZi6gZTLy6F2idITG+jSTsk4h+5Pq61o4ASTirXQ lyEt0PbhfTKK/ogO+nBd3LZBi2Aj0QYlPEVun5FxgK6/XwzTvQr7NkqS5z/qCtCVfpv7 OXIrvOzFURqe8LP8Z7Qu2Oema9tm8vLqfnqJwVWCFnFEP0pjUrw/vTgu1rtwpIPRROTt jCiiq7Qv5FcijMwCjsCxiRpehVnbdrejYQW1nhrc1TzpsjoLrPjroCosvGSByQxNi6p9 1D3xZuCmTs8CcMgCJ2CUSSIZqa57nb3Omd7JR19KqJNTs5VGYkZPxMMwJYFavIU6hf9T 4lxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7sswQ8d+1cMLQiEencYWAfz761EdQtJCp4SUAsec69s=; b=ykVh0E3HqgqTxggvL1WT1yyLXqy8xFd92W3z0jWkyzEqrgS0r2K+I5FNNb9edgazyM cDLOqO/Xq22Uq3yo/6hGe1+JQFEtkZcPfAV4JUfbpNM/PKNLRentoXjZuANSnk3CxoYv MsDle2jjXVztryvCsAhgRBXqBqQtegn4V2LCXjjc9aytL9ZifTvrU10lSvT9c0/BLQui NWCqGhZz+rjA33pEfMF+4++tj4G8tcZRrE2/XCRglJle+w/i58UR4lch6fwj/rMMGuNs a5fqqtA7007LY5p7hp8oE+e+OhkRO1KUiLAeoK9ESjZ5LVj9JnMxx+Fcub8BJMyc2LFL CphA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17si465400eda.213.2019.09.26.15.53.47; Thu, 26 Sep 2019 15:54:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728336AbfIZWv6 (ORCPT + 99 others); Thu, 26 Sep 2019 18:51:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42890 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfIZWv5 (ORCPT ); Thu, 26 Sep 2019 18:51:57 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 36DF0C059B6F; Thu, 26 Sep 2019 22:51:57 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-34.bss.redhat.com [10.20.1.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id F2318600C1; Thu, 26 Sep 2019 22:51:55 +0000 (UTC) From: Lyude Paul To: amd-gfx@lists.freedesktop.org Cc: Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "David (ChunMing) Zhou" , David Airlie , Daniel Vetter , "Jerry (Fangzhi) Zuo" , Thomas Lim , David Francis , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] drm/amdgpu/dm/mst: Don't create MST topology managers for eDP ports Date: Thu, 26 Sep 2019 18:51:03 -0400 Message-Id: <20190926225122.31455-2-lyude@redhat.com> In-Reply-To: <20190926225122.31455-1-lyude@redhat.com> References: <20190926225122.31455-1-lyude@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 26 Sep 2019 22:51:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Lyude Paul --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index 5ec14efd4d8c..185bf0e2bda2 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -417,6 +417,10 @@ void amdgpu_dm_initialize_dp_connector(struct amdgpu_display_manager *dm, drm_dp_aux_register(&aconnector->dm_dp_aux.aux); drm_dp_cec_register_connector(&aconnector->dm_dp_aux.aux, &aconnector->base); + + if (aconnector->base.connector_type == DRM_MODE_CONNECTOR_eDP) + return; + aconnector->mst_mgr.cbs = &dm_mst_cbs; drm_dp_mst_topology_mgr_init( &aconnector->mst_mgr, -- 2.21.0