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

From: Leandro Ribeiro

Date: Thu Jul 30 2026 - 19:25:22 EST




On 7/30/26 8:14 PM, Tetsuo Handa wrote:
> 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.
>

Sure, sounds good! I'll change this, thank you.

--
Leandro Ribeiro