Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp741893imm; Thu, 13 Sep 2018 07:06:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaZAvSnZb/Ikbg97BUeUwhAtSDvQQEcfPcKN5gFXBrW4RHBPiJKYcxuIDBmbbnDGdlR8rX5 X-Received: by 2002:a62:7590:: with SMTP id q138-v6mr7770737pfc.148.1536847599163; Thu, 13 Sep 2018 07:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847599; cv=none; d=google.com; s=arc-20160816; b=0n+9YrF+iVH4BLgAbXYrYcbIp+bwBKQ0QU75Earm0VXphWmUtrR6T9z2xA7M7NNi9J KcqF7+eRKpBiW8McCyDnWjsXvYYw8ms2UoIR41dSGQ14YnzXPs6yVkdondzQkRD8AUwt Q3keufZyHYUjsB8dpzsYGP2vO0pbd/oGERYsp66a4ef3NXXlmgoSSYk0iHo+LO2JR5zz mmgKN233X27gI6RckExwu0iMiawU0faPTp+aD+xf12bcH6o6ebC7gPXJidbgbqqpQggO Th6XNBMaRHJ+m3V/Bjc2BcFHWnJDHUw6lSdDzCESM8uip335dvW0VZCx9Ml0Y6Kz7hr/ eqUg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=YWZgvIqd8Cp/VsyHN/1gg1pABNmYkM/YWWAXzrUCOqo=; b=WZzOBgsaFtRv/45kl0o5ZRmGzP7Q+EMn/T+s9T4mbcA6COB//K+Bqd8sUT8SU7XikD Uk5HPepDoBH1CzAZK88Z+wRF18HH5i22KSeh0Ece7r2V0jKhHo4QUaaYa6sWeC8rmMp6 h/mlVNZrlINqhlZ1QxC7Vphi5L5LjYHScNGsK6G2TGSFyvC0dcgtUIlNYVV8CBcrPsa6 3n/6KbGwp3zQA7YoSLqWiUF5qdRvwEmICHHYZFdFDWbp2GcejkPy3RXBSoVKewupRane MoJ0ATjD2x27lZAbQaPBhwiW4HsFdbR+vdpT2opZAOSmz2jzwU5OxkhTqm5k51FiJyMw ZtkA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si4304174plp.310.2018.09.13.07.06.16; Thu, 13 Sep 2018 07:06:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731919AbeIMTOL (ORCPT + 99 others); Thu, 13 Sep 2018 15:14:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35392 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbeIMTOK (ORCPT ); Thu, 13 Sep 2018 15:14:10 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4E19CD36; Thu, 13 Sep 2018 14:04:31 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikita Lipski , Hersen Wu , Leo Li , Alex Deucher Subject: [PATCH 4.18 172/197] drm/amd/display: Pass connector id when executing VBIOS CT Date: Thu, 13 Sep 2018 15:32:01 +0200 Message-Id: <20180913131848.445068290@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikita Lipski commit 433149130c31de3f63b17b4ce08b45dab208f7e8 upstream. [why] Older ASICs require both phys_id and connector_id to execute bios command table. If we are not passing the right connector_id - it can lead to a black screen. [how] Set connector_obj_id when executing vbios command table Signed-off-by: Mikita Lipski Reviewed-by: Hersen Wu Acked-by: Leo Li Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c @@ -919,7 +919,7 @@ void dce110_link_encoder_enable_tmds_out enum bp_result result; /* Enable the PHY */ - + cntl.connector_obj_id = enc110->base.connector; cntl.action = TRANSMITTER_CONTROL_ENABLE; cntl.engine_id = enc->preferred_engine; cntl.transmitter = enc110->base.transmitter; @@ -961,7 +961,7 @@ void dce110_link_encoder_enable_dp_outpu * We need to set number of lanes manually. */ configure_encoder(enc110, link_settings); - + cntl.connector_obj_id = enc110->base.connector; cntl.action = TRANSMITTER_CONTROL_ENABLE; cntl.engine_id = enc->preferred_engine; cntl.transmitter = enc110->base.transmitter;