From: Lucas Amaral <lucaaamaral@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org, alex.bennee@linaro.org,
dmitry.osipenko@collabora.com, marcandre.lureau@redhat.com,
Lucas Amaral <lucaaamaral@gmail.com>
Subject: [PATCH v4 3/4] virtio-gpu: add VIRTIO_GPU_F_BLOB_ALIGNMENT header definitions
Date: Tue, 17 Mar 2026 14:49:14 -0300 [thread overview]
Message-ID: <20260317174915.31829-4-lucaaamaral@gmail.com> (raw)
In-Reply-To: <20260317174915.31829-1-lucaaamaral@gmail.com>
Define VIRTIO_GPU_F_BLOB_ALIGNMENT (feature bit 5) and the
blob_alignment field in virtio_gpu_config per the OASIS virtio
specification.
Signed-off-by: Lucas Amaral <lucaaamaral@gmail.com>
---
include/standard-headers/linux/virtio_gpu.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/standard-headers/linux/virtio_gpu.h b/include/standard-headers/linux/virtio_gpu.h
index 00cd3f04..252704e7 100644
--- a/include/standard-headers/linux/virtio_gpu.h
+++ b/include/standard-headers/linux/virtio_gpu.h
@@ -64,6 +64,11 @@
* context_init and multiple timelines
*/
#define VIRTIO_GPU_F_CONTEXT_INIT 4
+/*
+ * VIRTIO_GPU_F_BLOB_ALIGNMENT: device advertises blob_alignment
+ * in virtio_gpu_config (OASIS virtio-spec feature bit 5)
+ */
+#define VIRTIO_GPU_F_BLOB_ALIGNMENT 5
enum virtio_gpu_ctrl_type {
VIRTIO_GPU_UNDEFINED = 0,
@@ -365,6 +370,7 @@ struct virtio_gpu_config {
uint32_t events_clear;
uint32_t num_scanouts;
uint32_t num_capsets;
+ uint32_t blob_alignment;
};
/* simple formats for fbcon/X use */
--
2.52.0
next prev parent reply other threads:[~2026-03-17 17:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 17:49 [PATCH v4 0/4] virtio-gpu: enable Venus/Vulkan without OpenGL display Lucas Amaral
2026-03-17 17:49 ` [PATCH v4 1/4] ui: introduce GRAPHIC_FLAGS_VK for Vulkan scanout Lucas Amaral
2026-03-17 17:49 ` [PATCH v4 2/4] virtio-gpu: decouple Venus from CONFIG_OPENGL Lucas Amaral
2026-03-17 18:12 ` Kuan-Wei Chiu
2026-03-17 17:49 ` Lucas Amaral [this message]
2026-03-17 17:49 ` [PATCH v4 4/4] virtio-gpu: advertise VIRTIO_GPU_F_BLOB_ALIGNMENT Lucas Amaral
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=20260317174915.31829-4-lucaaamaral@gmail.com \
--to=lucaaamaral@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=dmitry.osipenko@collabora.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.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.