From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380669; b=lYAA6qenlnE1ln0/bcyDGuY/uCC3QKb5EJoxMFXUo4QymvWDG2gIpshQT/rpsX8wb2uB X7/PkTXajYjzsvdJUoE+LKbRp+j5PwAgq35T8ZzMBy6zvgDp9DMhTyY3eIhBEnFHEUBXW DzMB9MQQ6SSZxhX/hCEVXTeFpGMgJY182KQOKgWy8YsInLpdW5KigNsCf9RWiHIjo+X4V 2gM156r0LWClWacxTyCp6iCl2F4YG08ynZIXf6FWZREN0vQnootwQyZk541gXBw7Jty9z Wl0uLwKdUTcs4ovPTnGl+pY5ButoSCHEZbLV89Ru/fq5kqbl15WkcYlLfJWx1J3aJ0A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380669; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=PmXtNFx41C3PRXLfZCc4AvBv2PMelEiUQ/vQ0Y9q72w=; b=cMahb/eDFaw7LbdpFp0pVrKnS0b/vy4ftUx1oh9iABA1FTAd3id4yQ62JnpkuO8ljak1 eUtw/qqQ58UTtbQizGrnyTmik35RBQhtn2BVn53wUGluCWydmCks3cnAsAKpvjW5CHPFM ys6U7EhMaswjhF0Q78nTIA+/gRlDiksXhawgkWQWQWS+gTeevZli1TJ1b1poWMGha8g8B Pa1x9AxxHw0loI1+T9LwWFeP6U4nfu6wcw5so0qxrUSv5OIQ9on2a+l7VTUk9kUWa5X/U Bc7FD9uCXNOvzFXVtzSYlSBojCZ6LxhRs9buP6XM7+YAhviNUyN7EE9BKeVauzsaleg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PDAN3vkE; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E09B606A32C; Fri, 4 Dec 2026 10:37:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=PDAN3vkE Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AC9B1F000CE; Fri, 4 Dec 2026 10:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380668; bh=PmXtNFx41C3PRXLfZCc4AvBv2PMelEiUQ/vQ0Y9q72w=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=PDAN3vkExZiYMlsTu9fp64zFop5pEM5b/OltTDXioOSPGjc633amErhtz4tlmg74X ZDAW1iUrzf7ZPTq2PjQE9yi+zgwJdmhTiyxrkAU05oa+NBxDGtvDGY5rveLOsYC9+7 rz5xV+TB2gY+U5yEjLyCfVl2jWdmzCZWRGNujUH8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Wayne Lin , Paul Menzel , Alex Deucher Subject: [PATCH 7.3 374/742] drm/amd/display: Dont warn about vendor infoframe for non-infoframe sinks Date: Fri, 4 Dec 2026 19:03:58 +0900 Message-ID: <20261204100645.023880304@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Paul Menzel commit 2b784f5e78694d4d852053b3eef3de3f0ff1d02e upstream. With an EIZO EV2781 connected over HDMI to an AMD Ryzen 3 2200G (Raven) on an MSI B350M MORTAR (MS-7A37), Linux logs at every boot since v6.16: amdgpu 0000:30:00.0: [drm] Failed to setup vendor infoframe on connector HDMI-A-1: -22 Commit 6027cbee1900 ("drm/amd/display: Add error check for avi and vendor infoframe setup function") started to log the return value of drm_hdmi_vendor_infoframe_from_display_mode(). With `frame` and `mode` being non-NULL, the helper only fails with -EINVAL, if the sink does not support HDMI infoframes, that means, if `connector->display_info.has_hdmi_infoframe` is false, and its kernel-doc says, that this error can be safely ignored. drm_parse_hdmi_vsdb_video() only sets `has_hdmi_infoframe`, if the HDMI VSDB has HDMI_Video_present set, and drm_parse_hdmi_forum_scds() sets it for sinks with an HF-SCDB. So an HDMI sink, whose VSDB lacks HDMI_Video_present, triggers the warning, although nothing failed. The EIZO EV2781 is such a sink. Its HDMI VSDB has a payload of only seven bytes (source physical address, Supports_AI, and a maximum TMDS clock of 250 MHz), so the byte with HDMI_Video_present is absent, and the EDID has no HF-SCDB: 67 03 0c 00 10 00 80 32 Only warn, if the sink supports HDMI infoframes. The infoframe setup itself is unchanged. Fixes: 6027cbee1900 ("drm/amd/display: Add error check for avi and vendor infoframe setup function") Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5025 Reviewed-by: Wayne Lin Signed-off-by: Paul Menzel Signed-off-by: Wayne Lin Signed-off-by: Alex Deucher (cherry picked from commit 2abfc667f622eb7132b139db2e175642713662f8) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c @@ -942,7 +942,8 @@ STATIC_IFN_KUNIT void fill_stream_proper err = drm_hdmi_vendor_infoframe_from_display_mode(&hv_frame, (struct drm_connector *)connector, mode_in); - if (err < 0) + /* Sinks without HDMI infoframe support make it fail with -EINVAL. */ + if (err < 0 && info->has_hdmi_infoframe) drm_warn_once(connector->dev, "Failed to setup vendor infoframe on connector %s: %zd\n", connector->name, err); timing_out->hdmi_vic = hv_frame.vic;