Skip to contentSkip to conversation

Patch "drm/edid: check basic audio support on CEA extension block" has been added to the 5.10-stable tree

Intel-gfx [email protected] 2 participants 2 messages Apr 2, 2022

Subsystems (2)
lore
Share & tools
lore

[email protected]

author Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm/edid: check basic audio support on CEA extension block

to the 5.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-edid-check-basic-audio-support-on-cea-extension-block.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

From 5662abf6e21338be6d085d6375d3732ac6147fd2 Mon Sep 17 00:00:00 2001
From: Cooper Chiou <[email protected]>
Date: Thu, 24 Mar 2022 14:12:18 +0800
Subject: drm/edid: check basic audio support on CEA extension block

From: Cooper Chiou <[email protected]>

commit 5662abf6e21338be6d085d6375d3732ac6147fd2 upstream.

Tag code stored in bit7:5 for CTA block byte[3] is not the same as CEA extension block definition. Only check CEA block has basic audio support.

v3: update commit message.

---
 drivers/gpu/drm/drm_edid.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_edid.c +2 -1
@@ -4806,7 +4806,8 @@ bool drm_detect_monitor_audio(struct edi
 	if (!edid_ext)
 		goto end;
 
-	has_audio = ((edid_ext[3] & EDID_BASIC_AUDIO) != 0);
+	has_audio = (edid_ext[0] == CEA_EXT &&
+		    (edid_ext[3] & EDID_BASIC_AUDIO) != 0);
 
 	if (has_audio) {
 		DRM_DEBUG_KMS("Monitor has basic audio support\n");

Patches currently in stable-queue which might be from [email protected] are

queue-5.10/drm-edid-check-basic-audio-support-on-cea-extension-block.patch

#1 lore raw

[Intel-gfx] ✗ Fi.CI.BUILD: failure for Patch "drm/edid: check basic audio support on CEA extension block" has been added to the 5.10-stable tree

== Series Details ==

== Series Details ==

Series: Patch "drm/edid: check basic audio support on CEA extension block" has been added to the 5.10-stable tree
URL : https://patchwork.freedesktop.org/series/102113/
State : failure

== Summary ==

Patch is empty.
When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To record the empty patch as an empty commit, run "git am --allow-empty". To restore the original branch and stop patching, run "git am --abort".