Skip to content

drm: use drm_warn() in validate_blend_mode_for_alpha_formats()

Leandro Ribeiro cgroups dri-devel linux-doc linux-kselftest linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 6 repliesIn review
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

- Make the warning message more explicit
- Add a "Fixes" tag to commit

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm: use drm_warn() in validate_blend_mode_for_alpha_formats()drivers/gpu/drm/drm_mode_config.c+3 -26 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDaniel Stone
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] drm: use drm_warn() in validate_blend_mode_for_alpha_formats()

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(-)
Signature · 1 line
2.55.0