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

Leandro Ribeiro <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.