From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Alex Williamson <alex.williamson@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 1/3] console: add dmabuf modifier field.
Date: Wed, 22 May 2019 11:58:19 +0200 [thread overview]
Message-ID: <20190522095821.15240-2-kraxel@redhat.com> (raw)
In-Reply-To: <20190522095821.15240-1-kraxel@redhat.com>
dmabufs can have a format modifier (DRM_FORMAT_MOD_*) which is used for
tiled layouts for example. Add a field to QemuDmaBuf so we can carry
around that information.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
include/ui/console.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ui/console.h b/include/ui/console.h
index fef900db76a5..f9816968487c 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -175,6 +175,7 @@ typedef struct QemuDmaBuf {
uint32_t height;
uint32_t stride;
uint32_t fourcc;
+ uint64_t modifier;
uint32_t texture;
bool y0_top;
} QemuDmaBuf;
--
2.18.1
next prev parent reply other threads:[~2019-05-22 10:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-22 9:58 [Qemu-devel] [PATCH 0/3] add drm modifier support for dmabufs Gerd Hoffmann
2019-05-22 9:58 ` Gerd Hoffmann [this message]
2019-05-22 10:45 ` [Qemu-devel] [PATCH 1/3] console: add dmabuf modifier field Marc-André Lureau
2019-05-22 9:58 ` [Qemu-devel] [PATCH 2/3] vfio/display: set " Gerd Hoffmann
2019-05-22 10:45 ` Marc-André Lureau
2019-05-22 9:58 ` [Qemu-devel] [PATCH 3/3] egl-helpers: add dmabuf modifier support Gerd Hoffmann
2019-05-22 10:47 ` Marc-André Lureau
2019-05-22 11:30 ` Gerd Hoffmann
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=20190522095821.15240-2-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=alex.williamson@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).