summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGiuseppe Ranieri <giuseppe@ranieri.dev>2026-09-17 21:51:14 +0000
committerLyude Paul <lyude@redhat.com>2026-09-18 14:21:37 -0400
commit1717fcc5be575d4768279148ae9465a8b13d4339 (patch)
treefaa1dca335747fa2c5464a53f5af370be820e6ba /tools/perf/scripts/python
parent6a6870d3077faa501ca97760057ddca22b68418d (diff)
downloadlinux-next-1717fcc5be575d4768279148ae9465a8b13d4339.tar.gz
linux-next-1717fcc5be575d4768279148ae9465a8b13d4339.zip
drm/nouveau/disp: don't reject HDMI config on cards without SCDC
nv50_hdmi_enable() passes the sink's SCDC capability from its EDID straight through to nvif_outp_hdmi(). On pre-Maxwell-2 cards there is no hdmi->scdc callback, so nvkm_uoutp_mthd_hdmi() rejects the whole configuration with -EINVAL, and nv50_hdmi_enable() returns before hdmi->ctrl() runs and before the AVI and VSI infoframes are sent. The result on such a card driving an SCDC-capable HDMI 2.0 sink is that HDMI audio silently stops working. Video is unaffected, and nothing is logged, which makes the failure hard to attribute. SCDC is optional, and the hdmi->scdc() call further down is already guarded against a missing callback. Requesting it on a card that cannot do it need not invalidate the rest of the HDMI configuration, so drop that term from the condition and let the existing guard skip SCDC alone. Fixes: 6c6abab20b99 ("drm/nouveau/disp: add output hdmi config method") Signed-off-by: Giuseppe Ranieri <giuseppe@ranieri.dev> Co-Authored-By: Tano Dzhinski <tano.dzhinski@gmail.com> Signed-off-by: Tano Dzhinski <tano.dzhinski@gmail.com> Tested-by: Tano Dzhinski <tano.dzhinski@gmail.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patch.msgid.link/20260917215114.1136715-1-tano.dzhinski@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions