Re: [PATCH 1/1] drm: use drm_warn() in validate_blend_mode_for_alpha_formats()

From: Tetsuo Handa

Date: Thu Jul 30 2026 - 19:15:16 EST


On 2026/07/31 3:54, Leandro Ribeiro wrote:
> I see the point about making the message harder to overlook, but
> honestly I feel like the stack trace would be overkill here.
>
> The error message is more important than the stack trace itself in this
> case, and I think the warning should be enough to draw attention to the
> issue.

OK. Then, please consider

drm_warn(plane->dev,
- "[PLANE:%d:%s] pixel format with alpha exposed but blend mode not setup",
+ "[PLANE:%d:%s] pixel format with alpha exposed but blend mode not setup. Please fix.,
plane->base.id, plane->name);

to indicate that developers have something to do.