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=1796209840; b=iMRnrVN9RrR4yphzzCneljXlOh2eDloQ4GHugvERssl2/VAyyClJ/rcrJx6SIDj1qVjS Q04b2Qpii+OUXYYJUYxG+wu0UStk7K6FhYImP1y/qiXZTOOkBp3aU0pJZQsOOev1fGAms b1pHdT+YzMBI9Y/FQeqcjRk3IXoFNFSUUDu5kat+oeE/U2wjel3B33wN83htgqBTf6WVE 8I6LfCA7nIN5MrBY5Umi9J6+CI92oor+xMQwAxvkR7DVn1bj2wepHvJWfhbxEkjSpwO3n +h44zopkKIEChXrE+iYoAr41Sv/jeBWSm9jko578kagmgRKfNuwPn1TvaSxpRPKMH5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796209840; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=eBv80xSd98fAq8rACWKYW/wp07R7C+1moweXxjqtrME=; b=ZGogCu7pzwPH6cNbZQusIM30JSaXn4dHxzIJjO0Kt95JCPvEmHnAZx4ZoYXfSlNdG7GR q7aiN9CrkC7MluCd2Co/OBd7Z2egTVoepWoVTa8c/c1uV8So9KgEWi+M1jCdRjETLNFaM Zg3bcgByYNb4IyhUHB1bDbJDSwgYkye0xEHo6AGegbNitBdzDN0cQfM24q8i5nuNtHC64 MPqihmQsClqrQIgc/9Rk6W1CUbmMgnyrFvai65sqXy8CsBVm4Gn4yc0iontptcVDHf71r H/JyUziSC78uPxf6N1Z/mRgvBztsaKCYPqsR4JrF0OqDNaI70QQkLtqMJoCGGIunKsw== 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=DdrEQI5r; 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 B8154606A334 for ; Wed, 2 Dec 2026 11:10:40 +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=DdrEQI5r Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FF5B1F0089A; Wed, 2 Dec 2026 11:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796209839; bh=eBv80xSd98fAq8rACWKYW/wp07R7C+1moweXxjqtrME=; h=Subject:To:Cc:From:Date; b=DdrEQI5rKrwkkeIWkLbHwhPAsE+fvyWl16EZGgeOu/5ZwCWi9YD/4cvlXs/Uf41IF OrxtGD8GZafRuSDgbSbG2ZwfpdU5Tsc12o/R08WAYv5SWfycNAGnztHt5HxaGKK6JR CKKicqGEWBCtZNyDzuPodERIs0HV76QgMpCL0S8I= Subject: FAILED: patch "[PATCH] drm/amd/display: Don't warn about vendor infoframe for" failed to apply to 6.18-stable tree To: pmenzel@molgen.mpg.de,Wayne.Lin@amd.com,alexander.deucher@amd.com Cc: From: Date: Wed, 02 Dec 2026 12:10:37 +0100 Message-ID: <2026120237-zebra-frequency-1ce0@gregkh> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.18-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.18.y git checkout FETCH_HEAD git cherry-pick -x 2b784f5e78694d4d852053b3eef3de3f0ff1d02e # git commit -s git send-email --to '' --in-reply-to '2026120237-zebra-frequency-1ce0@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 2b784f5e78694d4d852053b3eef3de3f0ff1d02e Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 27 Oct 2026 21:52:22 +0100 Subject: [PATCH] drm/amd/display: Don't warn about vendor infoframe for non-infoframe sinks 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 diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c index 69421a3bfc05..8a039ef6e4b7 100644 --- 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_properties_from_drm_display_mode( 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;