From: Lucas Amaral <lucaaamaral@gmail.com>
To: qemu-devel@nongnu.org
Cc: alex.bennee@linaro.org, dmitry.osipenko@collabora.com,
marcandre.lureau@redhat.com, Lucas Amaral <lucaaamaral@gmail.com>
Subject: [PATCH v3 1/3] ui: introduce GRAPHIC_FLAGS_VK for Vulkan scanout
Date: Fri, 13 Mar 2026 00:09:22 -0300 [thread overview]
Message-ID: <20260313030924.45299-2-lucaaamaral@gmail.com> (raw)
In-Reply-To: <20260313030924.45299-1-lucaaamaral@gmail.com>
Define GRAPHIC_FLAGS_VK (bit 2) in the console flags for future
Vulkan scanout support. The compatibility check currently returns
an error indicating the feature is not yet implemented.
This prepares the display framework for direct Vulkan scanout
alongside the existing GL and DMABUF paths.
Signed-off-by: Lucas Amaral <lucaaamaral@gmail.com>
---
include/ui/console.h | 2 ++
ui/console.c | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index 3677a9d3..19ac06e0 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -361,6 +361,8 @@ enum {
GRAPHIC_FLAGS_GL = 1 << 0,
/* require a console/display with DMABUF import */
GRAPHIC_FLAGS_DMABUF = 1 << 1,
+ /* TODO: require a console/display with Vulkan scanout */
+ GRAPHIC_FLAGS_VK = 1 << 2,
};
typedef struct GraphicHwOps {
diff --git a/ui/console.c b/ui/console.c
index f445db11..d29733ad 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -594,6 +594,14 @@ static bool console_compatible_with(QemuConsole *con,
return false;
}
+ if (flags & GRAPHIC_FLAGS_VK) {
+ /* TODO: check for Vulkan scanout support in display backend */
+ error_setg(errp,
+ "The console requires Vulkan scanout "
+ "(not yet implemented).");
+ return false;
+ }
+
return true;
}
--
2.52.0
next prev parent reply other threads:[~2026-03-13 3:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-09 21:49 [PATCH 0/3] virtio-gpu: enable Venus/Vulkan without OpenGL display Lucas Amaral
2026-03-09 21:49 ` [PATCH 1/3] include/standard-headers: add VIRTIO_GPU_F_BLOB_ALIGNMENT Lucas Amaral
2026-03-09 21:49 ` [PATCH 2/3] virtio-gpu: decouple Venus from CONFIG_OPENGL Lucas Amaral
2026-03-09 21:49 ` [PATCH 3/3] virtio-gpu: advertise and populate blob alignment Lucas Amaral
2026-03-11 2:27 ` [PATCH v2 0/3] virtio-gpu: enable Venus/Vulkan without OpenGL display Lucas Amaral
2026-03-11 2:27 ` [PATCH v2 1/3] ui: introduce GRAPHIC_FLAGS_VK for Vulkan scanout Lucas Amaral
2026-03-11 5:34 ` Marc-André Lureau
2026-03-11 2:27 ` [PATCH v2 2/3] virtio-gpu: decouple Venus from CONFIG_OPENGL Lucas Amaral
2026-03-11 2:27 ` [PATCH v2 3/3] virtio-gpu: advertise VIRTIO_GPU_F_BLOB_ALIGNMENT Lucas Amaral
2026-03-13 3:09 ` [PATCH v3 0/3] virtio-gpu: enable Venus/Vulkan without OpenGL display Lucas Amaral
2026-03-13 3:09 ` Lucas Amaral [this message]
2026-03-13 3:09 ` [PATCH v3 2/3] virtio-gpu: decouple Venus from CONFIG_OPENGL Lucas Amaral
2026-03-13 3:09 ` [PATCH v3 3/3] 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=20260313030924.45299-2-lucaaamaral@gmail.com \
--to=lucaaamaral@gmail.com \
--cc=alex.bennee@linaro.org \
--cc=dmitry.osipenko@collabora.com \
--cc=marcandre.lureau@redhat.com \
--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.