All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giuseppe Ranieri <giuseppe@ranieri.dev>
To: nouveau@lists.freedesktop.org
Subject: [PATCH] Fix scdc implementation missing in GK208B NVidia Card (gk104_sor_hdmi)
Date: Sat, 17 Jan 2026 15:15:24 +0100	[thread overview]
Message-ID: <aWuZfMo5cMLwNRax@linux-gentoo> (raw)


I fixed a problem for the GK208B NVidia Card (GT710): 
the initialization was broken my card support scdc channel but the implementation was missing.

The problem was tracked by Mathias Anselmann in
https://bugzilla.kernel.org/show_bug.cgi?id=219561 and https://gitlab.freedesktop.org/drm/nouveau/-/issues/402

This patch fix the card initialization and fix audio problem on my card GK208B  
the code path is shared by 
nouveau/nvkm/engine/device/base.c- .name = "GK110",
nouveau/nvkm/engine/device/base.c- .name = "GK110B",
nouveau/nvkm/engine/device/base.c- .name = "GK208B",
nouveau/nvkm/engine/device/base.c- .name = "GK208",

I have done another patch so the code don´t broke anymore the initialization if the scdc implementation is missing when supported by the card. It will raise a DBG message instead.


Signed-off-by: Giuseppe Ranieri <giuseppe@ranieri.dev>
---

diff '--color=auto' -ur a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
--- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c	2025-11-30 23:42:10.000000000 +0100
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c	2026-01-16 19:03:51.175827296 +0100
@@ -106,6 +106,7 @@
 const struct nvkm_ior_func_hdmi
 gk104_sor_hdmi = {
 	.ctrl = gk104_sor_hdmi_ctrl,
+	.scdc = gm200_sor_hdmi_scdc,
 	.infoframe_avi = gk104_sor_hdmi_infoframe_avi,
 	.infoframe_vsi = gk104_sor_hdmi_infoframe_vsi,
 };
 

             reply	other threads:[~2026-01-17 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-17 14:15 Giuseppe Ranieri [this message]
2026-01-19  8:12 ` [PATCH] Fix scdc implementation missing in GK208B NVidia Card (gk104_sor_hdmi) Philipp Stanner
2026-01-19  9:32   ` Giuseppe Ranieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aWuZfMo5cMLwNRax@linux-gentoo \
    --to=giuseppe@ranieri.dev \
    --cc=nouveau@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.