All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] drm: use drm_warn() in validate_blend_mode_for_alpha_formats()
@ 2026-07-31 15:42 Leandro Ribeiro
  2026-07-31 15:42 ` [PATCH v2 1/1] " Leandro Ribeiro
  0 siblings, 1 reply; 3+ messages in thread
From: Leandro Ribeiro @ 2026-07-31 15:42 UTC (permalink / raw)
  To: dri-devel
  Cc: airlied, broonie, daniels, jani.nikula, maarten.lankhorst,
	miguel.ojeda.sandonis, mripard, pekka.paalanen, simona,
	penguin-kernel, tytso, tzimmermann, ville.syrjala, linux-kernel

This replaces a WARN() with drm_warn() in
validate_blend_mode_for_alpha_formats().

The condition is expected to be triggered by existing drivers while they
adapt to the new blend mode requirement, so it should not use the kernel
warning report mechanism. WARN() output can cause fuzzers to stop when
they encounter a "WARNING:" message.

drm_warn() keeps the warning visible to driver developers without
triggering a WARN().

Changes in v2:
- Make the warning message more explicit
- Add a "Fixes" tag to commit

Leandro Ribeiro (1):
  drm: use drm_warn() in validate_blend_mode_for_alpha_formats()

 drivers/gpu/drm/drm_mode_config.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-07-31 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-31 15:42 [PATCH v2 0/1] drm: use drm_warn() in validate_blend_mode_for_alpha_formats() Leandro Ribeiro
2026-07-31 15:42 ` [PATCH v2 1/1] " Leandro Ribeiro
2026-07-31 15:49   ` sashiko-bot

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.