From: syzbot <syzbot+2302c5dc59995fbb8089@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: [PATCH] drm/vkms: Advertise PREMULTI blend mode
Date: Sat, 18 Jul 2026 06:47:27 -0700 [thread overview]
Message-ID: <6a5b83ef.f1649fcc.2a4208.02e9.GAE@google.com> (raw)
In-Reply-To: <6a56fb92.c90005c7.37d349.003c.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: [PATCH] drm/vkms: Advertise PREMULTI blend mode
Author: michail.tatas@gmail.com
#syz test
Since we only support pre-multiplied alpha blend mode,
advertise that.
Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
---
drivers/gpu/drm/vkms/vkms_plane.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/vkms/vkms_plane.c b/drivers/gpu/drm/vkms/vkms_plane.c
index 68cb2a3335e6..8c67511d6e8c 100644
--- a/drivers/gpu/drm/vkms/vkms_plane.c
+++ b/drivers/gpu/drm/vkms/vkms_plane.c
@@ -246,6 +246,13 @@ struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev,
DRM_COLOR_YCBCR_BT601,
DRM_COLOR_YCBCR_FULL_RANGE);
+ /*
+ * Since our composer only supports pre-multiplied alpha,
+ * advertise only the PREMULTI blend mode.
+ */
+ drm_plane_create_blend_mode_property(&plane->base,
+ BIT(DRM_MODE_BLEND_PREMULTI));
+
if (vkms_config_plane_get_default_pipeline(plane_cfg))
vkms_initialize_colorops(&plane->base);
--
2.43.0
prev parent reply other threads:[~2026-07-18 13:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 3:16 [syzbot] [media?] INFO: trying to register non-static key in __vb2_queue_cancel syzbot
2026-07-15 9:15 ` Forwarded: " syzbot
2026-07-15 12:17 ` syzbot
2026-07-15 14:15 ` syzbot
2026-07-15 15:36 ` syzbot
2026-07-16 4:35 ` syzbot
2026-07-16 11:24 ` syzbot
2026-07-17 6:50 ` syzbot
2026-07-18 13:47 ` syzbot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6a5b83ef.f1649fcc.2a4208.02e9.GAE@google.com \
--to=syzbot+2302c5dc59995fbb8089@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.