From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EC0C27F18B; Thu, 27 Nov 2025 14:48:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764254932; cv=none; b=srLxPa/pJ5tMspRL8hMoLbMhs7fTC9qzKopZKx1VQpFshgu9JIf2UVyP4BncYwftYWJVO+esb4ywl6+tjUzYzVs7iKFpbUDPH8PN+Dr61twkrsMm3dubc+KjxQlcxXY62wReaLAY7nwvcHnHMn9tKzNsVdBv+UAOBlrVNQEWSwA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764254932; c=relaxed/simple; bh=Sd3ziFgB5jy8cYbmGsdoMVpYZKXeaiKUlxekLIiSOOo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EDrOqC8OHHMUoKwR2Xweeq83nGM3feeq0SgAO2MsJQ+kT8iX0RsEUM+SCqWU33I2yWSRbEeCEdvsg5oOK64mbq2+ab7CFAQHB27w3b48rMz1CjASepmZvDTQOTJZJ4N5JiY44oflNU5J++O3iB6qoty4z2PXnyifnbkcfZXSzXM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lnNTwVTO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lnNTwVTO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DA93C4CEF8; Thu, 27 Nov 2025 14:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764254931; bh=Sd3ziFgB5jy8cYbmGsdoMVpYZKXeaiKUlxekLIiSOOo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lnNTwVTOG3aVedF9+1eUbdq7E+rCkYR49ecAlIBTANjDXgMy8YjXdsGTQtZluUxfe 9IvlfRNIwBaXzI6hNpuhv2Y5ml5ULK3LaUKHOhinEfYHEGRVFJmgzHIaxp+eDudLw5 L8Oh09364zX4cQx2hYhNBjlziFQ3fvIQjAGV9QHk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alex Hung , "Mario Limonciello (AMD)" , Ivan Lipski , Dan Wheeler , Alex Deucher Subject: [PATCH 6.6 36/86] drm/amd/display: Increase DPCD read retries Date: Thu, 27 Nov 2025 15:45:52 +0100 Message-ID: <20251127144029.144830463@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251127144027.800761504@linuxfoundation.org> References: <20251127144027.800761504@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mario Limonciello (AMD) commit 8612badc331bcab2068baefa69e1458085ed89e3 upstream. [Why] Empirical measurement of some monitors that fail to read EDID while booting shows that the number of retries with a 30ms delay between tries is as high as 16. [How] Increase number of retries to 20. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4672 Reviewed-by: Alex Hung Signed-off-by: Mario Limonciello (AMD) Signed-off-by: Ivan Lipski Tested-by: Dan Wheeler Signed-off-by: Alex Deucher (cherry picked from commit ad1c59ad7cf74ec06e32fe2c330ac1e957222288) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c +++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c @@ -1552,7 +1552,7 @@ static bool retrieve_link_cap(struct dc_ union edp_configuration_cap edp_config_cap; union dp_downstream_port_present ds_port = { 0 }; enum dc_status status = DC_ERROR_UNEXPECTED; - uint32_t read_dpcd_retry_cnt = 3; + uint32_t read_dpcd_retry_cnt = 20; int i; struct dp_sink_hw_fw_revision dp_hw_fw_revision; const uint32_t post_oui_delay = 30; // 30ms