mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/nouveau: Three fixes from Clang warning audit
@ 2026-12-03 17:27 Ian Rogers
  2026-12-03 17:27 ` [PATCH v2 1/3] drm/nouveau: Handle NVIF_CONN_TV in nouveau_connector_create() Ian Rogers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ian Rogers @ 2026-12-03 17:27 UTC (permalink / raw)
  To: Lyude Paul, Danilo Krummrich, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter
  Cc: Lyude Paul, dri-devel, nouveau, linux-kernel, llvm, Elkin Cruz,
	Ian Rogers

Three fixes in drm/nouveau found while auditing Clang warnings
(-Wswitch-enum and -Wconditional-uninitialized) on an x86_64
allyesconfig build:

1. Map NVIF_CONN_TV to DCB_CONNECTOR_TV_0 in nouveau_connector_create().
2. Clean up nv_connector and return ERR_PTR(-EINVAL) instead of NULL on
   the default branch in nouveau_connector_create().
3. Initialize primary_crc in crcca7d_set_src() for GB20x RG CRC capture.

Changes in v2:
- Split v1 patch 1/2 into two patches (NVIF_CONN_TV mapping and default
  error-path cleanup) and aligned the NVIF_CONN_TV case with the
  surrounding switch formatting (Lyude Paul).
- Carried Reviewed-by from Lyude Paul on patch 3/3 (unchanged from v1
  patch 2/2).

v1: https://lore.kernel.org/r/cover.1795106937.git.irogers@google.com

Ian Rogers (3):
  drm/nouveau: Handle NVIF_CONN_TV in nouveau_connector_create()
  drm/nouveau: Fix error cleanup in nouveau_connector_create() default
    case
  drm/nouveau/kms: Initialize primary_crc for RG CRC capture on GB20x

 drivers/gpu/drm/nouveau/dispnv50/crcca7d.c  | 1 +
 drivers/gpu/drm/nouveau/nouveau_connector.c | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.56.1.911.g883d8bcb20-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-03 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03 17:27 [PATCH v2 0/3] drm/nouveau: Three fixes from Clang warning audit Ian Rogers
2026-12-03 17:27 ` [PATCH v2 1/3] drm/nouveau: Handle NVIF_CONN_TV in nouveau_connector_create() Ian Rogers
2026-12-03 17:27 ` [PATCH v2 2/3] drm/nouveau: Fix error cleanup in nouveau_connector_create() default case Ian Rogers
2026-12-03 17:27 ` [PATCH v2 3/3] drm/nouveau/kms: Initialize primary_crc for RG CRC capture on GB20x Ian Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®