summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2026-08-24 11:19:43 +1000
committerDave Airlie <airlied@redhat.com>2026-08-24 11:19:49 +1000
commitbb11536efd7dbde13a8a168c66881a9b8131dd81 (patch)
treed45ddb53f09ee2b3ec2855b18cb54051c7fa53df
parent22e48eeaf4851a3caf2acb397069283508a7f5f5 (diff)
parent271e90eb5f9ff34951647e5ed33c1775eebcca50 (diff)
Merge tag 'drm-misc-next-fixes-2026-08-20' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
One patch to remove a WARN in favour of drm_warn. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maxime Ripard <mripard@redhat.com> Link: https://patch.msgid.link/20260820-fabulous-nimble-woodpecker-ffa695@houat
-rw-r--r--drivers/gpu/drm/drm_mode_config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_mode_config.c b/drivers/gpu/drm/drm_mode_config.c
index 3bcc7bf0900c..366f6d821242 100644
--- a/drivers/gpu/drm/drm_mode_config.c
+++ b/drivers/gpu/drm/drm_mode_config.c
@@ -869,8 +869,9 @@ static void validate_blend_mode_for_alpha_formats(struct drm_plane *plane)
for (i = 0; i < plane->format_count; i++) {
fmt = drm_format_info(plane->format_types[i]);
if (fmt->has_alpha) {
- WARN(1, "[PLANE:%d:%s] pixel format with alpha exposed but blend mode not setup",
- plane->base.id, plane->name);
+ drm_warn(plane->dev,
+ "[PLANE:%d:%s] pixel format with alpha exposed but blend mode not setup. Please fix.\n",
+ plane->base.id, plane->name);
break;
}
}