Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2909405iog; Mon, 27 Jun 2022 05:34:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tscG/TqtxRJw5xUgHQzdANYy5fAGx/AFXumaf7oDLapuYt8UtXFBicvBQTmxm0pA7Z1GpR X-Received: by 2002:a17:902:e945:b0:16a:1c41:f66 with SMTP id b5-20020a170902e94500b0016a1c410f66mr14165716pll.129.1656333245944; Mon, 27 Jun 2022 05:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333245; cv=none; d=google.com; s=arc-20160816; b=fJZUfqjEXC4HmQvCuRE7vCMO/1cHOP8Gc0Of5r2fqH2oQATlLoq/KKgDPvpgosiciU QNQ9Rr1CvSPwmcDvqRVR90t8Y2+uD8wOauLnorwsuaB4VyEyJ/IN2OeaS3in3fWBHuRn Lvg/4oGOmiFlGmnvjCpNr2zNTk8rZ1/rPexsNQbZBSyTgrYjUBCSAw17xBqAtij11z1J qMDfUoGgLiWWXhPrSiOj0gTW9n0jj0mdNcgBD1Tq3CLLdEVs/gbATk3ZwOcA36dA9BSX nkTA4k9VfIm2sry19fORLsYtlsXj6Se5kAy8uZA3CmCPZjrDkjxCnxhtnXq/4NkMZIuT 5aiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=urxivsR4ta/vs1MJCI+1CcmbKuLcmhzn/Ar1V+pTaVU=; b=0ZFZ/pKJBsMMhUpzblYM1FccHm/IiSJvQKfT5MsqhDNCSu+Dsmz5J/Z8bLw4mED7Zq Q2qOFQGl1CFeLNqsEr99QhQy+u7t/n7G2F4aA1pyaLrO9DAkC0OsggBz5j7ChnTM9hZD 5js5+KFdEBbOLENIaDh8hw+4Y+hVMJbex/nYE1x6nbgaKDRREbFrUhTjsEqNyagbsijV qIu/VkZ+7oV6USW35puZ7QZT0VK+D18BROjrwGyFXrRD3VMdaTF+HfzxtOJYtgMwGkCT KiUG5u8rLpZZKGK8M5eztp1vlS/r0VA66CQhegUhyw4MA7DMYtlFKaPtupjdOypA6442 2hHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NJB5eVXZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a170902cf0b00b0016a3564918fsi14090117plg.369.2022.06.27.05.33.52; Mon, 27 Jun 2022 05:34:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NJB5eVXZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237950AbiF0LtZ (ORCPT + 99 others); Mon, 27 Jun 2022 07:49:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238080AbiF0Lrp (ORCPT ); Mon, 27 Jun 2022 07:47:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13DD3E0C9; Mon, 27 Jun 2022 04:39:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1D607B81123; Mon, 27 Jun 2022 11:39:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87E11C3411D; Mon, 27 Jun 2022 11:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329965; bh=6B5uUYwWf1fmHLXAP5QerfJShSxa6q+o1Lx1NcBbvLY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NJB5eVXZVrTPMZozSL0Go+vy4SYBFnU7XR3YgOZWnVP9WEhOcE4hnY5O69A0XUkiV sIDgSl+gYCrHM4t5u7Bo/WPNpq8ZJdwYyeWjah2uRK7uhCEAa/VzX5Gi8GsPTwN3dQ W7cED11wxb2XsHxBjOuQbI1LQn0KTbZBo/oLfDC0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Wheeler , Wenjing Liu , Alan Liu , George Shen , Alex Deucher Subject: [PATCH 5.18 037/181] drm/amd/display: Fix typo in override_lane_settings Date: Mon, 27 Jun 2022 13:20:10 +0200 Message-Id: <20220627111945.638007868@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111944.553492442@linuxfoundation.org> References: <20220627111944.553492442@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: George Shen commit 98b02e9f002b21944176774cf420c4d674f6201c upstream. [Why] The function currently skips overriding the drive settings of the first lane. [How] Change for loop to start at 0 instead of 1. Tested-by: Daniel Wheeler Reviewed-by: Wenjing Liu Acked-by: Alan Liu Signed-off-by: George Shen Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -944,7 +944,7 @@ static void override_lane_settings(const return; - for (lane = 1; lane < LANE_COUNT_DP_MAX; lane++) { + for (lane = 0; lane < LANE_COUNT_DP_MAX; lane++) { if (lt_settings->voltage_swing) lane_settings[lane].VOLTAGE_SWING = *lt_settings->voltage_swing; if (lt_settings->pre_emphasis)