diff options
author | Gerd Hoffmann | 2019-05-29 09:21:41 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2019-06-07 11:52:35 +0200 |
commit | 152b7af6106c7d6fb7488eb297d735045c1e68c3 (patch) | |
tree | 5c7557fcf2de731d1861b22403cb5a1e18cda839 /include/ui | |
parent | ui/curses: Fix build with -m32 (diff) | |
download | qemu-152b7af6106c7d6fb7488eb297d735045c1e68c3.tar.gz qemu-152b7af6106c7d6fb7488eb297d735045c1e68c3.tar.xz qemu-152b7af6106c7d6fb7488eb297d735045c1e68c3.zip |
console: add dmabuf modifier field.
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>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190529072144.26737-2-kraxel@redhat.com
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index fef900db76..f981696848 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; |