All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/connector: Handle connector property allocation failures
@ 2026-11-26  8:15 ` Alex Kazinsky
  0 siblings, 0 replies; 15+ messages in thread
From: Alex Kazinsky @ 2026-11-26  8:15 UTC (permalink / raw)
  To: Maarten Lankhorst
  Cc: Alex Kazinsky, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Emil Velikov, Oleg Vasilev, Jeevan B, dri-devel,
	lvc-project, Lyude Paul, Danilo Krummrich, Eric Anholt,
	Jesse Barnes, Dave Airlie, nouveau, Harry Wentland, Leo Li,
	Rodrigo Siqueira, Alex Deucher, Christian König, Jani Nikula,
	Rodrigo Vivi, Joonas Lahtinen, Tvrtko Ursulin, Alex Hung,
	Bhawanpreet Lakha, Fangzhi Zuo, George Zhang, Adrian Betschart,
	Alex Huang, Ivan Lipski, Albert Esteve, Ville Syrjälä,
	Stanislav Lisovskiy, Hans Verkuil, amd-gfx, intel-gfx, intel-xe,
	Patrik Jakobsson, Lu Yao, Jani Nikula, Mario Limonciello (AMD),
	Timur Kristóf, Rajat Jain, Hans de Goede, Mario Limonciello,
	Emil Velikov

This series improves allocation failure handling in DRM connector property
helpers and their callers.

Patches 1, 2, 4 and 5 prevent NULL properties from reaching property attach
or update paths. Patch 3 propagates content type property creation errors
and reports failures in the Intel and AMDGPU callers while preserving
initialization without this optional property.

Patch 4 reuses the Nouveau cleanup added by patch 2. Please apply the
series in order.

Validation performed during development on the previous base:
- Compiled the affected DRM core and driver translation units using the
  existing x86 kernel configuration, including Nouveau, Intel display,
  AMDGPU, Radeon and GMA500 paths.
- Checked the diffs with git diff --check and scripts/checkpatch.pl.
- Exercised the extracted privacy-screen creation and provider functions
  with userspace stubs for allocation failures, rollback, retry,
  idempotence and provider reference ownership.

No full kernel link, hardware testing or in-kernel allocation fault
injection was performed.

Alex Kazinsky (5):
  drm/connector: Check DP subconnector property before attaching it
  drm/connector: Handle DVI-I property allocation failures
  drm/connector: Propagate content type property creation errors
  drm/connector: Handle scaling mode property allocation failures
  drm/connector: Handle privacy-screen property allocation failures

 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c   |  6 +-
 .../display/amdgpu_dm/amdgpu_dm_connector.c   |  3 +-
 drivers/gpu/drm/drm_connector.c               | 94 ++++++++++++++-----
 drivers/gpu/drm/gma500/cdv_device.c           |  2 -
 drivers/gpu/drm/gma500/framebuffer.c          | 17 ++--
 drivers/gpu/drm/gma500/psb_drv.c              |  4 +-
 drivers/gpu/drm/gma500/psb_drv.h              |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |  3 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |  3 +-
 drivers/gpu/drm/nouveau/nouveau_display.c     | 11 ++-
 drivers/gpu/drm/radeon/radeon_display.c       |  6 +-
 include/drm/drm_connector.h                   |  2 +-
 12 files changed, 107 insertions(+), 46 deletions(-)


base-commit: 25faec9ce61c01fb45abf812a222c5b43c3cd5c5
-- 
2.56.0



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

end of thread, other threads:[~2026-11-29  3:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26  8:15 [PATCH 0/5] drm/connector: Handle connector property allocation failures Alex Kazinsky
2026-11-26  8:15 ` Alex Kazinsky
2026-11-26  8:15 ` [PATCH 1/5] drm/connector: Check DP subconnector property before attaching it Alex Kazinsky
2026-11-27  8:40   ` sashiko-bot
2026-11-26  8:15 ` [PATCH 2/5] drm/connector: Handle DVI-I property allocation failures Alex Kazinsky
2026-11-26  8:15   ` Alex Kazinsky
2026-11-26  8:15 ` [PATCH 3/5] drm/connector: Propagate content type property creation errors Alex Kazinsky
2026-11-26 15:46   ` Albert Esteve
2026-11-27  8:38   ` sashiko-bot
2026-11-26  8:15 ` [PATCH 4/5] drm/connector: Handle scaling mode property allocation failures Alex Kazinsky
2026-11-26  8:15   ` Alex Kazinsky
2026-11-27  8:39   ` sashiko-bot
2026-11-29  3:53   ` Mario Limonciello
2026-11-29  3:53     ` Mario Limonciello
2026-11-26  8:16 ` [PATCH 5/5] drm/connector: Handle privacy-screen " Alex Kazinsky

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.